view libmpcodecs/vd_internal.h @ 5302:6dc0ac26eb0e

eeh 10l, forgot malloc of esds struct.
author atmos4
date Sun, 24 Mar 2002 02:38:20 +0000
parents 88481d4b9e0e
children 1972c3475d93
line wrap: on
line source


#include "codec-cfg.h"
#include "../libvo/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\
};