2002-02-28 00:57:30 +00:00
|
|
|
|
2002-03-07 20:43:17 +00:00
|
|
|
#include "codec-cfg.h"
|
2002-04-13 19:14:34 +00:00
|
|
|
#include "img_format.h"
|
2002-03-07 20:43:17 +00:00
|
|
|
|
|
|
|
#include "stream.h"
|
|
|
|
#include "demuxer.h"
|
|
|
|
#include "stheader.h"
|
|
|
|
|
|
|
|
#include "vd.h"
|
|
|
|
|
2002-03-09 19:18:46 +00:00
|
|
|
extern int divx_quality;
|
|
|
|
|
2002-02-28 00:57:30 +00:00
|
|
|
// prototypes:
|
2002-03-07 00:43:55 +00:00
|
|
|
//static vd_info_t info;
|
2002-02-28 00:57:30 +00:00
|
|
|
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\
|
|
|
|
};
|
|
|
|
|