[Mplayer-users] Fwd: [Mplayer-devel] To libvo driver developers!

Felix.Buenemann at gmx.de Felix.Buenemann at gmx.de
Wed Apr 11 18:58:42 CEST 2001


> --------- Forwarded message ---------
> From: Arpi <arpi at thot.banki.hu>
> To: mplayer-devel at lists.sourceforge.net
> Subject: [Mplayer-devel] To libvo driver developers!
> 
> Hi,
> 
> I'll make some changes relate dto vidmode changes.
> The 'fullscreen' flag of the libvo->init() currently flags
> only the fullscreen.
> 
> I'll chavge it, so:
>   bit 0 (0x01) means fullscreen (-fs)
>   bit 1 (0x02) means mode switching (-vm)
>   bit 2 (0x04) enables software scaling (-zoom)
> 
> So codes like this will be removed from mplayer.c:
> 

> 
> Please update your drivers!
> - do not change video mode if no -vm
> - do not use software scaling if no -zoom
> - do not change to fullscreen if no -fs (does not apply for dga,svga,fb)
> 
> About d_width, d_height:
> They will keep the wanted window size (usually == source size),
> except for -vm, then they will be zero except if the user uses -x or -y
> Is this OK for you?
> 
> Any ideas about how to pass bpp value? (-bpp option)
> Currently used only for DGA 2.0, and maybe fb and svga.
> My idea: just answer "yes" to query_format() calls of supported
> bpp values. If no -bpp option used, the biggest common (supported
> by libvo driver and codec) will be used. Otherwise the user-specified.
> 
> Any questions? Suggestions?

I have implemented the switches like stated here (not yet uploaded to CVS),
but I think it would be better to reverse -vm and -zoom, because you usually
want modeswitching and scaling (I check -zoom for hardware scaling, too), so
it would be better to have -novm and -nozoom switches instead.
Also the current screenmode should be passed to the init() function so they
don't have to repeat the code from x11_common.c, this is usefull for cases
where the no modeswitching is wanted.
How about passing screenwidth, screenheight and screenbpp to the
vidout-plugins init()?
(Values stored in vo_something in x11_common.c)

> 
> A'rpi / Astral & ESP-team
> 

-- 
Best Regards,
   Felix

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list