Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Softdevice 0.0.7pre2 crash w/ DFB, CLE266
On Montag, 2. August 2004 01:03, Nicolas Huillard wrote:
> Stefan Lucke wrote:
[ .. ]
> >>I420 gives a full transparent OSD, which is not always readable. What I
> >>understand is that semi-transparent OSD should be acheived with YUY2,
> >>that you can see on your Matrox, but I can't have on the EPIA ?
> >
> > Current answer is yes, but ..
Have to step in here and lets take the _but_ .
After a short sleep and a look at the gfxdriver ...
Take the attached patch and you'll get an alpha blended OSD with I420
like with radeon :-) .
So I don't know if that still works with radeon, there we need some work
in the directfb driver section.
It works with both directFB pixelformats (AiRGB, ARGB).
Stefan Lucke
Index: video-dfb.c
===================================================================
RCS file: /cvsroot/softdevice/softdevice/video-dfb.c,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 video-dfb.c
20a21
> #define COLORKEY1 0,0,0xff
321c322,323
< osdSurface->Clear(0,0,0,0); //clear and
---
> // osdSurface->Clear(0,0,0,0); //clear and
> osdSurface->Clear(0,0,0,0xff); //clear and
323c325,326
< osdSurface->Clear(0,0,0,0); //clear and
---
> // osdSurface->Clear(0,0,0,0); //clear and
> osdSurface->Clear(0,0,0,0xff); //clear and
540a544
> videoLayer->SetLevel(1);
600c604,605
< tmpSurface->Clear(0,0,0,0);
---
> // tmpSurface->Clear(0,0,0,0);
> tmpSurface->Clear(0,0,0,0xff);
658,660c663
< tmpSurface->Clear(COLORKEY,0); //clear and
< tmpSurface->Flip(); // Flip the field
< tmpSurface->Clear(COLORKEY,0); //clear and
---
> tmpSurface->Clear(COLORKEY,0xff); //clear and
661a665,666
> // tmpSurface->Clear(COLORKEY,0); //clear and
> // tmpSurface->Flip(); // Flip the field
Home |
Main Index |
Thread Index