comparison libmpcodecs/ve.c @ 5550:7d1dfb59c6c0

encoders
author arpi
date Wed, 10 Apr 2002 23:23:36 +0000
parents
children 80eedd3ef6d3
comparison
equal deleted inserted replaced
5549:7bed3fb6a3be 5550:7d1dfb59c6c0
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <string.h>
4
5 #include "../config.h"
6 #include "../mp_msg.h"
7
8 #include "../libvo/img_format.h"
9 #include "../mp_image.h"
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;
16
17 static vf_info_t* encoder_list[]={
18 #ifdef HAVE_DIVX4ENCORE
19 &ve_info_divx4,
20 #endif
21 #ifdef USE_LIBAVCODEC
22 &ve_info_lavc,
23 #endif
24 #ifdef USE_WIN32DLL
25 &ve_info_vfw,
26 #endif
27 &ve_info_rawrgb,
28 NULL
29 };
30
31 vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args){
32 return vf_open_plugin(encoder_list,next,name,args);
33 }
34