Thread (3 messages) 3 messages, 3 authors, 2005-08-07

Re: Opinions about YUV framebuffers

flat view

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2005-08-07 10:03:23

On Sun, 7 Aug 2005, Nishant Kamat wrote:
I'd like to solicit some opinions about using the fbdev API for a
display controller that accepts data in YUV format. fbcon seems to be
Just add an additional #define FB_VISUAL_* for your YUV format to <linux/fb.h>.
Been there, done that.
written to work only for RGB framebuffers. Is that correct? Would it
In 2.6, if you provide an fb_imageblit() routine that converts from 256 color
CLUT to YUV, you should have a text console and a penguin.

In 2.4, getting a text console (and penguin) on YUV is much more work.
require lot of change to make it work with YUV data? Can X be run on
YUV framebuffers?
I'm afraid X doesn't support YUV yet.

But if you use the shadow buffer feature in recent X code, you can run the X
server in e.g. RGB565 or RGB888, and write an update routine to convert a
rectangular area from RGB565 resp. RGB888 to YUV. After that you'll have X
running.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help