summaryrefslogtreecommitdiffstats
path: root/DOCS/tech/libmpcodecs.txt
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-13 01:42:23 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-04-13 01:42:23 +0000
commit5fe2b928625d1884610c57715c595fac1c0e1f7c (patch)
treef7e6a5821cb99cec56c76396b084f084197da50f /DOCS/tech/libmpcodecs.txt
parent5adab7b7bf56e8717f44f61c30ad186b0a3d4267 (diff)
downloadmpv-5fe2b928625d1884610c57715c595fac1c0e1f7c.tar.bz2
mpv-5fe2b928625d1884610c57715c595fac1c0e1f7c.tar.xz
obsolete
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5585 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/tech/libmpcodecs.txt')
-rw-r--r--DOCS/tech/libmpcodecs.txt34
1 files changed, 0 insertions, 34 deletions
diff --git a/DOCS/tech/libmpcodecs.txt b/DOCS/tech/libmpcodecs.txt
deleted file mode 100644
index 8301d05791..0000000000
--- a/DOCS/tech/libmpcodecs.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-# video decoder:
-
-int init(sh_video) -> loads codec dll, check if available and it accepts header if any
-
-int control(sh_video,cmd,param,...) -> various set/get/query functions
-
-int decode(sh_video,framedrop) -> decode frame, callbacks to config/get_surface
-
-int uninit(sh_video)
-
-# callbacks for video decoder:
-
-mpcodecs_config_vo(sh_video, w, h, preferred_outfmt){
- // it will be called by codec (either init() or decode()) when it gets
- // enough info to know image dimensions, colorspaces and buffering type
-
- // this func should use control() to get/set parameters for a given outfmt
- // (like supported buffering types, stride limitations, etc) or to
- // query and select other colorspace.
-
-}
-
-// possible buffer setups:
-- 1 static overwrite only (partial update type codecs: cvid, fli, vfw etc)
-- 1+ independent temp writeonly (I-only mpegs, jpeg, mjpeg etc)
-- 2+ static read/write (I+P mpegs)
-- 2+ static read/write and 1+ temp writeonly (I+P+B mpegs)
-
-image_t* mpcodecs_get_surface(sh_video, flags){
-// flags:
-// 0x1 - read (make it readable -> don't put to slow video ram)
-
-}
-