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;
|
8471
|
18 extern vf_info_t ve_info_qtvideo;
|
5550
|
19
|
|
20 static vf_info_t* encoder_list[]={
|
|
21 #ifdef HAVE_DIVX4ENCORE
|
|
22 &ve_info_divx4,
|
|
23 #endif
|
|
24 #ifdef USE_LIBAVCODEC
|
|
25 &ve_info_lavc,
|
|
26 #endif
|
|
27 #ifdef USE_WIN32DLL
|
|
28 &ve_info_vfw,
|
8471
|
29 &ve_info_qtvideo,
|
5550
|
30 #endif
|
5577
|
31 #ifdef HAVE_LIBDV095
|
|
32 &ve_info_libdv,
|
|
33 #endif
|
5550
|
34 &ve_info_rawrgb,
|
7456
|
35 #if defined(HAVE_XVID)
|
|
36 &ve_info_xvid,
|
|
37 #endif
|
5550
|
38 NULL
|
|
39 };
|
|
40
|
|
41 vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args){
|
|
42 return vf_open_plugin(encoder_list,next,name,args);
|
|
43 }
|
|
44
|