[MPlayer-G2-dev] specification for hardware/vo OSD support?

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun May 16 13:00:58 CEST 2004


Hi,
I wanted to ask if there are already any ideas concerning the way vos 
can support OSD drawing, e.g. if there is hardware support for drawing 
pictures with alpha (like in OpenGL..)
I personally have been thinking about a few things (something like a 
"very first draft"):

1) The vos should be able to give a "virtual" resolution for the OSD, so 
they can vary it independently from video size (very usefull if the OSD 
will be displayed on a different display, or there is some kind of 
overlay mechanism that supports only a different resolution than for the 
video).

2) Not giving x, y coordinates for different parts of the OSD, but 
instead specifying
left, horizontal center or right and
top, vertical center or bottom
This would allow the driver to e.g. always put the subtitles in the 
black border below the picture when it's big enough...
The vo would maintain a buffer for each of these locations (3*3=9 
altogether), and the interface functions would allow to set the size and 
contents of these buffers or mark them as unused.

Greetings,
Reimar Döffinger




More information about the MPlayer-G2-dev mailing list