[MPlayer-dev-eng] [PATCH] automatically insert vf_expand for displaying OSD

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Sep 4 10:49:54 CEST 2004


Hi,
>>I agree, a better solution is necessary. But I'd like to know if it 
>>works, so if you can test (e.g. with vo_gl or by removing VFCAP_OSD from 
>>other drivers) please do!
>>The reason I want this is because
>>1) vo_gl2 OSD is broken (bug #55).
>>2) It would allow to remove duplicate code from (possibly at a little 
>>loss of speed?) vo_gl2, vo_x11, vo_xv etc... nearly all vos do OSD 
>>drawing via software, although some can do it in a way that saves one 
>>copying of the frame...
> 
> Actualy, i'd like to change the way how OSD is drawn totaly.
> The reason is, that the current system is very limted, we only support
> b/w (YA) subs and only text with no positioning code.
> 
> What i'd like to have is something that can draw any colour at any
> position into the video. The problem with this is, that it has to be
> done at some point with a vf as i dont see any way how it could be done
> with hw acceleration w/o being a big hack on most vo drivers.

hw acceleration? at least vo_x11, vo_xv, vo_vesa, vo_quartz, vo_fbdev, 
vo_gl2, ... (probably all?) don't use any hardware acceleration, 
although they avoid one memcpy by writing it directly into the output 
buffers, as far as I understand the code (but gl2 doesn't have seperate 
output buffers, which causes bug #55).

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list