On Wed, 3 Sep 2008 12:10:13 -0700 (PDT), Trent Piepho wrote: > On Wed, 3 Sep 2008, Jean Delvare wrote: > > Restore the default pixel format to YUYV as it used to be before > > kernel 2.6.23. It was accidentally changed to BGR3 by commit > > 603d6f2c8f9f3604f9c6c1f8903efc2df30a000f. > > Default pixel format should only matter for people doing cat /dev/video0, > and in that case maybe something like 24-bit BGR is better?
Due to the fact that the Zoran needs contiguous video buffers, defaulting to a 24 bit/pixel format doesn't seem sound. YUYV is 16 bit/pixel and is a better compromise between image size and video quality. I'm not sure what the default pixel format is good for either, but at least the code should match the comment, and the comment says YUY2 4:2:2, which is YUYV. -- Jean Delvare ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users