lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: v4l2_pix_format doubts



Hi Daniel,

Thanks for your quick response.

 1) I am having a pixel format (UYVY)
 2) RGB565

Thank you.

Regards,
sriram

On Tue, Jun 17, 2008 at 4:16 PM, Daniel Glöckner <daniel-gl@xxxxxxx> wrote:
> On Tue, Jun 17, 2008 at 03:52:25PM +0530, Veda N wrote:
>> I think you got confused by RGB and YUV.
>
> I don't think so
>
>> The device is capable of giving RGB and YUV data. This is done by a
>> setting in the sensor register.
>
> That's what I wanted to know
>
>> Now, i know what i should set the pix->pixelformat, but what about
>> other members of the
>> v4l2_pix_format structure.
>
> for 640x480
> width = 640
> height = 480
>
> If you tell me pix->pixelformat, I can tell you the minimum bytesperline.
> It may be larger if your hardware requires padding of lines.
>
>  Daniel
>

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list