3320eac...
by
Hans de Goede <email address hidden>
libv4lconvert: Fix v4lconvert_nv16_to_yuyv() not taking stride into account
The atomisp driver can generate V4L2_PIX_FMT_NV16 buffers where
stride != width. Where as v4lconvert_nv16_to_yuyv() assumed that
stride == width is always true.
Add a stride argument to v4lconvert_nv16_to_yuyv() to fix this.
Signed-off-by: Hans de Goede <email address hidden>
Signed-off-by: Mauro Carvalho Chehab <email address hidden>
01cb461...
by
Hans de Goede <email address hidden>
libv4lconvert: Fix v4lconvert_nv12_*() not taking stride into account
The atomisp driver can generate V4L2_PIX_FMT_NV12 buffers where
stride != width. Where as v4lconvert_nv12_*() assumed that
stride == width is always true.
Add a stride argument to v4lconvert_nv12_*() to fix this.
Signed-off-by: Hans de Goede <email address hidden>
Signed-off-by: Mauro Carvalho Chehab <email address hidden>
6d4084b...
by
Hans de Goede <email address hidden>
libv4lconvert: Fix v4lconvert_rgb565_to_rgb/bgr24() not taking stride into account
The atomisp driver can generate V4L2_PIX_FMT_RGB565 buffers where
stride != width. Where as v4lconvert_rgb565_to_rgb/bgr24() assumed that
stride == width is always true.
Add a stride argument to v4lconvert_rgb565_to_rgb/bgr24() to fix this.
Signed-off-by: Hans de Goede <email address hidden>
Signed-off-by: Mauro Carvalho Chehab <email address hidden>
5f0ac2d...
by
Hans de Goede <email address hidden>
libv4lconvert: Fix v4lconvert_yuv420_to_rgb/bgr24() not taking stride into account
The atomisp driver can generate V4L2_PIX_FMT_YUV420 buffers where
stride != width. Where as v4lconvert_yuv420_to_rgb/bgr24() assumed that
stride == width is always true.
Add a stride argument to v4lconvert_yuv420_to_rgb/bgr24() to fix this.
Signed-off-by: Hans de Goede <email address hidden>
Signed-off-by: Mauro Carvalho Chehab <email address hidden>