Mercurial > mplayer.hg
view libmpcodecs/vd_internal.h @ 14471:6cdd5669e930
Here is an updated draft with the bits discussed previously merged:
- short startcode removed
- QT/Microsoft codec_specific_data removed, reverted to a neutral format
- meta packet removed, merged in the info packet.
- stream class simplified, added metadata stream
patch by (Luca Barbato <lu_zero gentoo org>)
author | michael |
---|---|
date | Wed, 12 Jan 2005 11:54:30 +0000 |
parents | 1972c3475d93 |
children | 4faee1254928 |
line wrap: on
line source
#include "codec-cfg.h" #include "img_format.h" #include "stream.h" #include "demuxer.h" #include "stheader.h" #include "vd.h" extern int divx_quality; // prototypes: //static vd_info_t info; static int control(sh_video_t *sh,int cmd,void* arg,...); static int init(sh_video_t *sh); static void uninit(sh_video_t *sh); static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags); #define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\ &info,\ init,\ uninit,\ control,\ decode\ };