If you need to see the transparency, you need to choose the value of the
color in RGB for which you need the transparency effect (which in turn
takes the blending ratio from the register (OSDWIN0MD.BLND0)( make sure
it is any other value than 0 or 7 to achieve blending. For a value of 0
you should the video window at the back.)
Also remember to program the TRANSPVAL (0x1c7:26F4)) with your favorite
pixel value( on RGB16) for which you wish to achieve transparency.
I modified my test as follows:
I launched 'encodedecode' demo application (so I could see video and
graphics blended). I have:
OSD_OSDWIN0MD : 2003
OSD_TRANSPVAL : 0
Then I load my driver to modify the register values as follows:
OSD_OSDWIN0MD : 201F
OSD_TRANSPVAL : 0
So, only black pixels should archieve transparency and I should see
the text ("ARM CPU load: 3%" and so on) without any blend with the
video, but actually I still see the text blended with the video.
What I am doing wrong?
Thank you and regards!
Carlos
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source