summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-30 17:41:11 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-30 17:41:11 +0000
commit79545f233001c1f499cd2621a316171708aaa480 (patch)
tree7395521ebffd9e982a37fa62346cf070b8263020 /DOCS
parent0b2491f67d80a29342d1676408fafdc7f36935f5 (diff)
downloadmpv-79545f233001c1f499cd2621a316171708aaa480.tar.bz2
mpv-79545f233001c1f499cd2621a316171708aaa480.tar.xz
10l - PUT_IMAGE->DRAW_IMAGE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6848 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/tech/libvo.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/tech/libvo.txt b/DOCS/tech/libvo.txt
index 085f8cc716..f41fabff9f 100644
--- a/DOCS/tech/libvo.txt
+++ b/DOCS/tech/libvo.txt
@@ -26,18 +26,18 @@ Each vo driver _has_ to implement these:
0x2 - supported without conversion (define 0x1 too!)
0x100 - driver/hardware handles timing (blocking)
also SET sw/hw scaling and osd support flags, and flip,
- and accept_stride if you implement put_image (see vfcaps.h)
+ and accept_stride if you implement VOCTRL_DRAW_IMAGE (see bellow)
NOTE: VOCTRL_QUERY_FORMAT may be called _before_ first config()
but is always called between preinit() and uninit()
VOCTRL_GET_IMAGE
libmpcodecs Direct Rendering interface
You need to update mpi (mp_image.h) structure, for example,
look at vo_x11, vo_sdl, vo_xv or mga_common.
- VOCTRL_PUT_IMAGE
+ VOCTRL_DRAW_IMAGE
replacement for the current draw_slice/draw_frame way of
passing video frames. by implementing SET_IMAGE, you'll get
image in mp_image struct instead of by calling draw_*.
- unless you return VO_TRUE for VOCTRL_PUT_IMAGE call, the
+ unless you return VO_TRUE for VOCTRL_DRAW_IMAGE call, the
old-style draw_* functils will be called!
Note: draw_slice is still mandatory, for per-slice rendering!
VOCTRL_RESET - reset the video device
@@ -88,7 +88,7 @@ Each vo driver _has_ to implement these:
draw_frame(): this is the older interface, this displays only complete
frames, and can do only packed format (YUY2, RGB/BGR).
Win32 codecs use this (DivX, Indeo, etc).
- If you implement VOCTRL_PUT_IMAGE, you can left draw_frame.
+ If you implement VOCTRL_DRAW_IMAGE, you can left draw_frame.
draw_osd(): this displays subtitles and OSD.
It's a bit tricky to use it, since it's a callback-style stuff.