view libmpcodecs/vd_internal.h @ 4879:2c8ed6b32373

libmpcodecs video decoder template
author arpi
date Thu, 28 Feb 2002 00:57:47 +0000
parents eff8a76e515f
children 4a0a86d7e248
line wrap: on
line source


// 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\
};