summaryrefslogtreecommitdiffstats
path: root/DOCS/tech/general.txt
diff options
context:
space:
mode:
authorgabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-08 17:38:32 +0000
committergabucino <gabucino@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-08 17:38:32 +0000
commit75d0fbaf2ec8bfc91c1a29b6b9e3004615e3e7b4 (patch)
tree6b7fdb7296114819236d120632918978b7653a87 /DOCS/tech/general.txt
parent2fc65209b5e26b1c2dff681e70100b6e9ac6ca96 (diff)
downloadmpv-75d0fbaf2ec8bfc91c1a29b6b9e3004615e3e7b4.tar.bz2
mpv-75d0fbaf2ec8bfc91c1a29b6b9e3004615e3e7b4.tar.xz
applied David Holm's patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4589 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/general.txt')
-rw-r--r--DOCS/tech/general.txt26
1 files changed, 18 insertions, 8 deletions
diff --git a/DOCS/tech/general.txt b/DOCS/tech/general.txt
index 1eb4a7883a..08d1dedcee 100644
--- a/DOCS/tech/general.txt
+++ b/DOCS/tech/general.txt
@@ -186,14 +186,6 @@ Now, go on:
Each vo driver _has_ to implement these:
- query_format() - queries if a given pixelformat is supported.
- return value: flags:
- 0x1 - supported (by hardware or conversion)
- 0x2 - supported (by hardware, without conversion)
- 0x4 - sub/osd supported (has draw_alpha)
- 0x8 - hardware handles subpics
- 0x100 - driver/hardware handles timing (blocking)
-
IMPORTANT: it's mandatorial that every vo driver support the YV12 format,
and one (or both) of BGR15 and BGR24, with conversion, if needed.
If these aren't supported, not every codec will work! The mpeg codecs
@@ -212,6 +204,24 @@ Now, go on:
we have to change to the desired bpp. If the hardware doesn't support,
we have to change to the one closest to it, and do conversion!
+ control() - sends control requests to the device
+ 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
+
+ VOCTRL_QUERY_FORMAT - queries if a given pixelformat is supported.
+ return value: flags:
+ 0x1 - supported (by hardware or conversion)
+ 0x2 - supported (by hardware, without conversion)
+ 0x4 - sub/osd supported (has draw_alpha)
+ 0x8 - hardware handles subpics
+ 0x100 - driver/hardware handles timing (blocking)
+
+ 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.
+
init() - this is called before displaying of the first frame -
initializing buffers, etc.