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