On Fri, Jul 13, 2007 at 11:21:21AM -0600, Ben Sapp wrote:
> Hi, 
> 
> I am using the mx21(ARM) microprocessor to talk to the display on the
> development board and it is coming up way too red.  I know the display
> is an RGB565 format.  That is bits 11-15 are Red, bits 5-10 are green,
> and bits 0-4 are the blue.  The output of fbset returns the following:
> 
> mode "240x320-76"
>         # D: 5.830 MHz, H: 24.292 kHz, V: 75.914 Hz
>         geometry 240 320 240 320 16
>         timings 171521 0 0 0 0 0 0
>         accel false
>         rgba 4/8,4/4,4/0,0/0
> endmode
> 
> Is that consistent with the RGB565 mentioned earlier?  I don't see 5 or
> 6 anywhere so that makes me suspicious.  Also, where could I learn how
> to interpret the output of fbset?

man fbset
man fb.modes

> The rgba line in particular. 

It seems this is not documenented in the manual pages. But it's simply a list
of number_of_bits/offset pairs for r, g, b, and a.

In your case the pixelformat reported by fbset is RGB444 in DirectFB
terms.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to