[Mplayer-cvslog] CVS: main/DOCS/tech libmpcodecs.txt,NONE,1.1
Arpi of Ize
arpi at mplayer.dev.hu
Tue Feb 26 03:33:23 CET 2002
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/Italian bugreports.html,NONE,1.1 cd-dvd.html,NONE,1.1 codecs.html,NONE,1.1 documentation.html,NONE,1.1 encoding.html,NONE,1.1 faq.html,NONE,1.1 formats.html,NONE,1.1 gcc-2.96-3.0.html,NONE,1.1 skin-it.html,NONE,1.1 sound.html,NONE,1.1 users_against_developers.html,NONE,1.1 video.html,NONE,1.1
- Next message: [Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.39,1.40
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/DOCS/tech
In directory mplayer:/var/tmp.root/cvs-serv6205
Added Files:
libmpcodecs.txt
Log Message:
early draft
--- NEW FILE ---
# 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)
}
- Previous message: [Mplayer-cvslog] CVS: main/DOCS/Italian bugreports.html,NONE,1.1 cd-dvd.html,NONE,1.1 codecs.html,NONE,1.1 documentation.html,NONE,1.1 encoding.html,NONE,1.1 faq.html,NONE,1.1 formats.html,NONE,1.1 gcc-2.96-3.0.html,NONE,1.1 skin-it.html,NONE,1.1 sound.html,NONE,1.1 users_against_developers.html,NONE,1.1 video.html,NONE,1.1
- Next message: [Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.39,1.40
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list