5550
|
1 #include <stdio.h>
|
|
2 #include <stdlib.h>
|
|
3 #include <string.h>
|
|
4
|
|
5 #include "../config.h"
|
|
6 #include "../mp_msg.h"
|
|
7
|
5607
|
8 #include "img_format.h"
|
|
9 #include "mp_image.h"
|
5550
|
10 #include "vf.h"
|
|
11
|
|
12 extern vf_info_t ve_info_divx4;
|
|
13 extern vf_info_t ve_info_lavc;
|
|
14 extern vf_info_t ve_info_vfw;
|
|
15 extern vf_info_t ve_info_rawrgb;
|
5577
|
16 extern vf_info_t ve_info_libdv;
|
7456
|
17 extern vf_info_t ve_info_xvid;
|
5550
|
18
|
|
19 static vf_info_t* encoder_list[]={
|
|
20 #ifdef HAVE_DIVX4ENCORE
|
|
21 &ve_info_divx4,
|
|
22 #endif
|
|
23 #ifdef USE_LIBAVCODEC
|
|
24 &ve_info_lavc,
|
|
25 #endif
|
|
26 #ifdef USE_WIN32DLL
|
|
27 &ve_info_vfw,
|
|
28 #endif
|
5577
|
29 #ifdef HAVE_LIBDV095
|
|
30 &ve_info_libdv,
|
|
31 #endif
|
5550
|
32 &ve_info_rawrgb,
|
7456
|
33 #if defined(HAVE_XVID)
|
|
34 &ve_info_xvid,
|
|
35 #endif
|
5550
|
36 NULL
|
|
37 };
|
|
38
|
|
39 vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args){
|
|
40 return vf_open_plugin(encoder_list,next,name,args);
|
|
41 }
|
|
42
|