Re: [PATCH] libv4lconvert: Add support for V4L2_PIX_FMT_NV12

2019-04-17 Thread Ricardo Ribalda Delgado
Hi Hans On Tue, Apr 16, 2019 at 6:00 PM Hans de Goede wrote: > > Hi Ricardo, > > On 16-04-19 14:02, Ricardo Ribalda Delgado wrote: > > NV12 is a two-plane version YUV 4:2:0, where the U and V components > > are subsampled 2x2. > > > > Signed-off-by: Ricardo Ribalda Delgado > > Your patch looks g

Re: [PATCH] libv4lconvert: Add support for V4L2_PIX_FMT_NV12

2019-04-16 Thread Hans de Goede
Hi Ricardo, On 16-04-19 14:02, Ricardo Ribalda Delgado wrote: NV12 is a two-plane version YUV 4:2:0, where the U and V components are subsampled 2x2. Signed-off-by: Ricardo Ribalda Delgado Your patch looks good to me, but it pushed the array-size of the supported_src_pixfmts array over 64 en

[PATCH] libv4lconvert: Add support for V4L2_PIX_FMT_NV12

2019-04-16 Thread Ricardo Ribalda Delgado
NV12 is a two-plane version YUV 4:2:0, where the U and V components are subsampled 2x2. Signed-off-by: Ricardo Ribalda Delgado --- The code has ben tested with qv4l2 and vivid. v4lconvert_nv12_to_yuv420 has not been tested!!, any suggestions for how to do it? Thanks! lib/libv4lconvert/libv4lcon