TI E2E Community
Digital Signal Processors (DSP)
OMAP35x Processors Forum
Is it possible to set a frame buffer driver to YUV color mode?
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://firstname.lastname@example.org/msg15118.html
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.