Re: Saving YUVY image from V4L2 buffer to file
Devin Heitmueller <[email protected]> Wed, 3 Feb 2010 14:18:51 -0500
| Newsgroups | gmane.comp.video.video4linux |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Feb 3, 2010 at 1:57 PM, Charlie X. Liu <[email protected]> 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:[email protected]?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list