annotate libmpcodecs/ve.c @ 11763:053a82066c60

filter list management
author diego
date Fri, 09 Jan 2004 03:36:40 +0000
parents 6ea42c885d60
children b58fdd5d8e8d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5550
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
1 #include <stdio.h>
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
2 #include <stdlib.h>
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
3 #include <string.h>
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
4
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
5 #include "../config.h"
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
6 #include "../mp_msg.h"
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
7
5607
1972c3475d93 mp_image.h and img_format.h moved to libmpcodecs
arpi
parents: 5577
diff changeset
8 #include "img_format.h"
1972c3475d93 mp_image.h and img_format.h moved to libmpcodecs
arpi
parents: 5577
diff changeset
9 #include "mp_image.h"
5550
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
10 #include "vf.h"
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
11
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
12 extern vf_info_t ve_info_divx4;
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
13 extern vf_info_t ve_info_lavc;
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
14 extern vf_info_t ve_info_vfw;
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
15 extern vf_info_t ve_info_rawrgb;
11581
6ea42c885d60 RAWYUV output in MEncoder. Patch by Tuukka Toivonen <tuukkat@ee.oulu.fi>
alex
parents: 11436
diff changeset
16 extern vf_info_t ve_info_rawyuv;
5577
80eedd3ef6d3 RGB24/YUY2 -> DV encoding, using libdv
arpi
parents: 5550
diff changeset
17 extern vf_info_t ve_info_libdv;
7456
dacc262f41ba Support for XviD encoding
kmkaplan
parents: 5607
diff changeset
18 extern vf_info_t ve_info_xvid;
8471
0b7839c27be9 Sorenson 1/3 encoding just for fun :)
arpi
parents: 7456
diff changeset
19 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
20 extern vf_info_t ve_info_nuv;
5550
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
21
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
22 static vf_info_t* encoder_list[]={
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
23 #ifdef HAVE_DIVX4ENCORE
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
24 &ve_info_divx4,
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
25 #endif
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
26 #ifdef USE_LIBAVCODEC
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
27 &ve_info_lavc,
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
28 #endif
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
29 #ifdef USE_WIN32DLL
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
30 &ve_info_vfw,
8471
0b7839c27be9 Sorenson 1/3 encoding just for fun :)
arpi
parents: 7456
diff changeset
31 &ve_info_qtvideo,
5550
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
32 #endif
5577
80eedd3ef6d3 RGB24/YUY2 -> DV encoding, using libdv
arpi
parents: 5550
diff changeset
33 #ifdef HAVE_LIBDV095
80eedd3ef6d3 RGB24/YUY2 -> DV encoding, using libdv
arpi
parents: 5550
diff changeset
34 &ve_info_libdv,
80eedd3ef6d3 RGB24/YUY2 -> DV encoding, using libdv
arpi
parents: 5550
diff changeset
35 #endif
5550
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
36 &ve_info_rawrgb,
11581
6ea42c885d60 RAWYUV output in MEncoder. Patch by Tuukka Toivonen <tuukkat@ee.oulu.fi>
alex
parents: 11436
diff changeset
37 &ve_info_rawyuv,
11436
6afc2d6f5a08 XviD Api4 support
iive
parents: 9595
diff changeset
38 #if defined(HAVE_XVID3) || defined(HAVE_XVID4)
7456
dacc262f41ba Support for XviD encoding
kmkaplan
parents: 5607
diff changeset
39 &ve_info_xvid,
dacc262f41ba Support for XviD encoding
kmkaplan
parents: 5607
diff changeset
40 #endif
9520
2860f7c9d9ca A new nuppel video encoder. Mainly for RT encoding on slow box.
albeu
parents: 8471
diff changeset
41 &ve_info_nuv,
5550
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
42 NULL
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
43 };
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
44
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
45 vf_instance_t* vf_open_encoder(vf_instance_t* next, char *name, char *args){
9595
6bf482d797b1 1000L i forgot mencoder
albeu
parents: 9520
diff changeset
46 char* vf_args[] = { "_oldargs_", args, NULL };
6bf482d797b1 1000L i forgot mencoder
albeu
parents: 9520
diff changeset
47 return vf_open_plugin(encoder_list,next,name,vf_args);
5550
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
48 }
7d1dfb59c6c0 encoders
arpi
parents:
diff changeset
49