Hello,
We are using /dev/fb0 for analog display on a OMAP3730 and linux kernel 3.0.xx. Right now, /dev/fb0 is configured to accept frames in RGB color space, but we do our video processing in the YUV colorspace. Is there a way to configure /dev/fb0 to accept images in the YUV color space, either by the fbset utility or a sysfs entry? (We would like to avoid a YUV->RGB conversion if possible).
Here is the output of fbset -s:
mode "720x482-30" geometry 720 482 720 482 32 timings 74074 58 16 31 6 64 6 accel false rgba 8/16,8/8,8/0,0/0endmode
Thanks in advance.
The answer is yes. To do so use fbset:
$ fbset -fb /dev/fb# -depth 16 -nonstd 1
Go here for more information about non standard framebuffer modes: http://www.ti.com/lit/ug/spruek9/spruek9.pdf
Note that you must have framebuffer connected to a video overlay, not a graphics overlay. To change overlays: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg15118.html