Re: Trouble with softdevice -vo dfb:mgatv OSD with vdr 2.0.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Softdevice had transparency 'dithering' for when there's only 1-bit
transparency, did you look at that option?

On 4 November 2013 06:01, Marko Mäkelä <marko.makela@xxxxxx> wrote:
> On Fri, Nov 01, 2013 at 11:19:48PM +0200, Marko Mäkelä wrote:
>>
>> If I change the assignment to isTrueColor=false, the square goes away and
>> I will get the familiar gray rectangles on the screen (from the "else" block
>> that I omitted above).
>
>
> I did some further studying. The truecolor OSD was implemented early 2011.
> As far as I understand, the softdevice plugin is converting palette-based
> bitmaps into an ARGB layer. There is a comment at the end of the definition
> of class cOsd in osd.h that shows how the conversion should be done.
>
> It looks like I should simply follow this example, possibly implementing
> some kind of threshold mapping on the Alpha channel in case the Matrox does
> not implement 8-bit translucency but just a 1-bit transparency flag. So, I
> will try to remove the palette mapping from SoftOsd.c and replace the
> GetBitmap() call with the RenderPixmaps() loop.
>
>
> Best regards,
>
>         Marko
>
> _______________________________________________
> vdr mailing list
> vdr@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr





[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux