view libmpcodecs/vd_internal.h @ 25163:4edeff353edc

r25011: a couple of tricks to improve playback resistance and usability of dvb streams r25012: small rephrasing r25016: & => &amp; r25017: wording/grammar/spelling/formatting r25119: Put colon inside replaceable tag. r25123: vcd://<n> now works for MinGW32 too, hence the updated doc r25146: Clarify playtree explanation.
author voroshil
date Wed, 28 Nov 2007 15:29:00 +0000
parents ed8f90096c65
children 6ac1ece1f9fe
line wrap: on
line source


#include "codec-cfg.h"
#include "img_format.h"

#include "stream/stream.h"
#include "libmpdemux/demuxer.h"
#include "libmpdemux/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\
};