4986
|
1
|
|
2 #include "codec-cfg.h"
|
|
3 #include "../libvo/img_format.h"
|
|
4
|
|
5 #include "stream.h"
|
|
6 #include "demuxer.h"
|
|
7 #include "stheader.h"
|
|
8
|
|
9 #include "vd.h"
|
4878
|
10
|
5003
|
11 extern int divx_quality;
|
|
12
|
4878
|
13 // prototypes:
|
4966
|
14 //static vd_info_t info;
|
4878
|
15 static int control(sh_video_t *sh,int cmd,void* arg,...);
|
|
16 static int init(sh_video_t *sh);
|
|
17 static void uninit(sh_video_t *sh);
|
|
18 static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags);
|
|
19
|
|
20 #define LIBVD_EXTERN(x) vd_functions_t mpcodecs_vd_##x = {\
|
|
21 &info,\
|
|
22 init,\
|
|
23 uninit,\
|
|
24 control,\
|
|
25 decode\
|
|
26 };
|
|
27
|