[MPlayer-dev-eng] [PATCH] Support RGB framebuffer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Apr 6 19:43:03 CEST 2011


On Wed, Apr 06, 2011 at 08:42:11AM +0200, Alexander Stein wrote:
> On Tuesday 05 April 2011, 18:31:03 Reimar Döffinger wrote:
> > On Tue, Apr 05, 2011 at 05:52:52PM +0200, Alexander Stein wrote:
> > > using this patch vo_fbdev uses the proper coloring on my RGB15 display
> > > used by a ARM AT91SAM9263. Otherwise I only get BGR output. Best seen
> > > with a webcam showing my blue ethernet cable which is displayed in
> > > orange.
> > 
> > This seems _hugely_ too complex, have you tested the patch I sent back
> > then? (attached)
> 
> I tried your patch and it didn't work.

It detects your display as bgr, not rgb.
What are the values for fb_vinfo.red.offset and fb_vinfo.blue.offset?
You could try changing
> fb_rgb = !fb_vinfo.red.offset;
to
> fb_rgb = fb_vinfo.red.offset < fb_vinfo.blue.offset;
but I can't imagine how that would happen.


More information about the MPlayer-dev-eng mailing list