[MPlayer-dev-eng] Some stuff I can't figure out from the docs..

Per Wigren wigren at home.se
Tue Oct 8 00:36:09 CEST 2002


Hi!

I'm implementing a videofilter that reads rgba32-bitmaps from a FIFO and shows 
them on top of the video.. It's working pretty well so far... ;)
I have some questions though, that I couldn't figure out from the docs..

1)  Are the filters always getting YV12 data? I've tested a lot of movies and 
TV/v4l and I always get YV12.. That's fine though, but I want to be sure I 
don't have to implement a whole bunch of different "plotters" or whatever I 
should call it ;)

2)  Is there a good and fast function already in mplayer that can scale a 
RGBA32 bitmap to a different size? I don't want to reinvent the wheel.. ;)

3)  Is it at all possible to apply the filter after everything is (hardware) 
scaled? Or do I have to run the scale and expand-filters before my filter to 
prevent my bitmaps from scaling along with the video, and thereby lose 
hardware scaling?

4)  How do I blend YUV? Blend as in alpha-transparancy that is.. ;)

Regards
Per Wigren




More information about the MPlayer-dev-eng mailing list