Mercurial > mplayer.hg
annotate libmpcodecs/ve.c @ 12479:7130dfe37fe5
Change divx4 examples to lavc, based on a patch by Compn.
author | diego |
---|---|
date | Sun, 16 May 2004 11:28:27 +0000 |
parents | b58fdd5d8e8d |
children | d198f255bee9 |
rev | line source |
---|---|
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; | |
11966 | 15 extern vf_info_t ve_info_raw; |
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; |
9520
2860f7c9d9ca
A new nuppel video encoder. Mainly for RT encoding on slow box.
albeu
parents:
8471
diff
changeset
|
19 extern vf_info_t ve_info_nuv; |
5550 | 20 |
21 static vf_info_t* encoder_list[]={ | |
22 #ifdef HAVE_DIVX4ENCORE | |
23 &ve_info_divx4, | |
24 #endif | |
25 #ifdef USE_LIBAVCODEC | |
26 &ve_info_lavc, | |
27 #endif | |
28 #ifdef USE_WIN32DLL | |
29 &ve_info_vfw, | |
8471 | 30 &ve_info_qtvideo, |
5550 | 31 #endif |
5577 | 32 #ifdef HAVE_LIBDV095 |
33 &ve_info_libdv, | |
34 #endif | |
11966 | 35 &ve_info_raw, |
11436 | 36 #if defined(HAVE_XVID3) || defined(HAVE_XVID4) |
7456 | 37 &ve_info_xvid, |
38 #endif | |
9520
2860f7c9d9ca
A new nuppel video encoder. Mainly for RT encoding on slow box.
albeu
parents:
8471
diff
changeset
|
39 &ve_info_nuv, |
5550 | 40 NULL |
41 }; | |
42 | |
43 vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args){ | |
9595 | 44 char* vf_args[] = { "_oldargs_", args, NULL }; |
45 return vf_open_plugin(encoder_list,next,name,vf_args); | |
5550 | 46 } |
47 |