public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Charlie X. Liu" <charlie@sensoray.com>
To: "'Devin Heitmueller'" <dheitmueller@kernellabs.com>
Cc: "'Owen O' Hehir'" <oo_hehir@hotmail.com>, video4linux-list@redhat.com
Subject: RE: Saving YUVY image from V4L2 buffer to file
Date: Wed, 3 Feb 2010 12:01:33 -0800	[thread overview]
Message-ID: <006001caa50b$b00fa8c0$102efa40$@com> (raw)
In-Reply-To: <829197381002031118h483cb570ld7177c502ce78298@mail.gmail.com>

Do most of Webcams have no RGB support? I'm not experienced on that. Does
anybody know the percentage of RGB support by Webcams?


-----Original Message-----
From: Devin Heitmueller [mailto:dheitmueller@kernellabs.com] 
Sent: Wednesday, February 03, 2010 11:19 AM
To: Charlie X. Liu
Cc: Owen O' Hehir; video4linux-list@redhat.com
Subject: Re: Saving YUVY image from V4L2 buffer to file

On Wed, Feb 3, 2010 at 1:57 PM, Charlie X. Liu <charlie@sensoray.com> wrote:
> Why don't you directly set it with: fmt.fmt.pix.pixelformat =
> V4L2_PIX_FMT_BGR24, instead of converting?

That only really works if the hardware supports providing RGB data as
opposed to YUYV (which many do not).  Or, it would work if you link
against libv4l to do the conversion in userland.

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

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

  reply	other threads:[~2010-02-03 20:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03 17:40 Saving YUVY image from V4L2 buffer to file Owen O' Hehir
2010-02-03 17:54 ` Devin Heitmueller
2010-02-03 18:06   ` Owen O' Hehir
2010-02-03 18:18     ` Devin Heitmueller
2010-02-06 20:48       ` Saving YUVY image from V4L2 buffer to file - SOLVED Owen O' Hehir
2010-02-03 18:57     ` Saving YUVY image from V4L2 buffer to file Charlie X. Liu
2010-02-03 19:18       ` Devin Heitmueller
2010-02-03 20:01         ` Charlie X. Liu [this message]
2010-02-03 20:12           ` Devin Heitmueller
2010-02-03 18:38 ` Darren Longhorn
2010-02-04  2:23   ` Andy Walls
2010-02-04 15:58     ` Darren Longhorn

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='006001caa50b$b00fa8c0$102efa40$@com' \
    --to=charlie@sensoray.com \
    --cc=dheitmueller@kernellabs.com \
    --cc=oo_hehir@hotmail.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