public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Daniel Glöckner" <daniel-gl@gmx.net>
To: Veda N <veda74@gmail.com>
Cc: video4linux-list@redhat.com
Subject: Re: v4l2_pix_format doubts
Date: Tue, 17 Jun 2008 12:46:15 +0200	[thread overview]
Message-ID: <20080617104614.GA781@daniel.bse> (raw)
In-Reply-To: <a5eaedfa0806170322v382f5b98o22f2b94830585f7c@mail.gmail.com>

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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-06-17 10:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-17  9:05 v4l2_pix_format doubts Veda N
2008-06-17  9:24 ` Daniel Glöckner
2008-06-17  9:39   ` Veda N
2008-06-17  9:45     ` Daniel Glöckner
2008-06-17 10:22       ` Veda N
2008-06-17 10:46         ` Daniel Glöckner [this message]
2008-06-17 15:15           ` Veda N
2008-06-17 17:24             ` Daniel Glöckner
2008-06-18 15:15               ` Veda N
2008-06-18 18:07                 ` Daniel Glöckner
2008-06-17  9:33 ` Xuesong Yang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080617104614.GA781@daniel.bse \
    --to=daniel-gl@gmx.net \
    --cc=veda74@gmail.com \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox