lists.zerezo.com
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: v4l2_pix_format doubts
- Date: Tue, 17 Jun 2008 12:46:15 +0200
- From: Daniel Glöckner <daniel-gl@xxxxxxx>
- Subject: Re: v4l2_pix_format doubts
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