Re: [PATCH][libv4l] Bytes per Line

2012-02-26 Thread Robert Abel
A patch for conversion bayer => rgb as well as bayer => yuv is attached. Basically, every time where width was assumed to be the offset to the neighboring pixel below, now step is used for compatibility with images where width != bytesperline. Signed-off-by: Robert Abel diff -Naur a/lib/libv4lcon

Re: [PATCH][libv4l] Bytes per Line

2012-02-25 Thread Gregor Jasny
Hello Robert, On 2/20/12 8:42 PM, Robert Abel wrote: > Anyway, the patch for bayer => rgb as well as bayer => yuv is attached. > Basically, every time where width was assumed to be the offset to the > neighboring pixel below, now step is used. I reviewed your patch and it looks good to me. The on

Re: [PATCH][libv4l] Bytes per Line (was: [libv4l] Bytes per Line)

2012-02-20 Thread Robert Abel
Hi Gregor, On 15.02.2012 23:30, Gregor Jasny wrote: > As far as I understand the V4L2 spec the bytesperline != width is no > optional feature. If post your patches here I'll review them and add > them to the development tree. I understand the spec in the same way. I just thought it might have been