From Reimar.Doeffinger at stud.uni-karlsruhe.de Sun May 16 13:00:58 2004 From: Reimar.Doeffinger at stud.uni-karlsruhe.de (=?ISO-8859-15?Q?Reimar_D=F6ffinger?=) Date: Sun, 16 May 2004 13:00:58 +0200 Subject: [MPlayer-G2-dev] specification for hardware/vo OSD support? Message-ID: <40A749EA.6060700@stud.uni-karlsruhe.de> 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