[Mplayer-cvslog] CVS: main/DOCS/tech tech-eng.txt,1.21,1.22
Arpi
arpi at thot.banki.hu
Thu Mar 21 18:18:44 CET 2002
Hi,
> + init the video system (to support querying for supported formats)
> + THIS IS CALLED ONLY ONCE
this is not true yet...
it's called for each file
(later it will be called after each -vo change)
> VOCTRL_RESET - reset the video device
> This is sent on seeking and similar and is useful if you are
> using a device which prebuffers frames that need to flush them
> before refilling audio/video buffers.
> + VOCTRL_PAUSE
> + VOCTRL_RESUME
these are used by drivers with hardware timing (currently only dxr3)
it has nothing with gui
> + VOCTRL_GUISUPPORT
> + return true only if driver supports co-operation with
> + MPlayer's GUI (not yet used by GUI)
> + VOCTRL_QUERY_VAA - this is used by the vidix extension
> + this is used by the vidix extension to fill a vo_vaa_t struct,
> + I do not know how this works since I'm not the author of this
it's only used to access video equalizer (contrast/brightness etc) stuff now
anyway it's implemented by vo_xv and vo_xmga too, not specific to vidix
name comes from video acceleeration architecture afaik
> + config():
> + Set up the video system. You get the dimensions and flags.
> + Flags:
> + 0x01 - fullscreen (-fs)
> + 0x02 - mode switching (-vm)
> + 0x04 - software scaling (-zoom)
> + 0x08 - flipping (-flip) -- REQUIRED to support this
> + Also these flags you can get from vo_flags too and they're
> + defined as VOFLAG_* (see libvo/video_out.h)
ote: flip support shouldn't be required, but the driver should report if it
supports flipping at query_format
> - init() - this is called before displaying of the first frame -
> - initializing buffers, etc.
> + uninit():
> + Uninit the whole system, this is on the same "level" as preinit.
yes. uninit is called only once after preinit. no uninit without preceeding
preinit. no second preinit without preceeding uninit.
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-cvslog
mailing list