Mercurial > mplayer.hg
annotate libmpcodecs/ve.c @ 20531:bc7c04eaf71e
Cygwin linking fix.
author | diego |
---|---|
date | Mon, 30 Oct 2006 23:47:42 +0000 |
parents | a2f20562aac3 |
children | 41773d188756 |
rev | line source |
---|---|
5550 | 1 #include <stdio.h> |
2 #include <stdlib.h> | |
3 #include <string.h> | |
4 | |
17012 | 5 #include "config.h" |
6 #include "mp_msg.h" | |
5550 | 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_lavc; | |
13 extern vf_info_t ve_info_vfw; | |
11966 | 14 extern vf_info_t ve_info_raw; |
5577 | 15 extern vf_info_t ve_info_libdv; |
7456 | 16 extern vf_info_t ve_info_xvid; |
8471 | 17 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
|
18 extern vf_info_t ve_info_nuv; |
13166
d198f255bee9
x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me
iive
parents:
11966
diff
changeset
|
19 extern vf_info_t ve_info_x264; |
5550 | 20 |
21 static vf_info_t* encoder_list[]={ | |
22 #ifdef USE_LIBAVCODEC | |
23 &ve_info_lavc, | |
24 #endif | |
25 #ifdef USE_WIN32DLL | |
26 &ve_info_vfw, | |
15453
d7a2ffc6e694
compilation/link fix with --disable-qtx --disable-dshow
diego
parents:
13166
diff
changeset
|
27 #ifdef USE_QTX_CODECS |
8471 | 28 &ve_info_qtvideo, |
5550 | 29 #endif |
15453
d7a2ffc6e694
compilation/link fix with --disable-qtx --disable-dshow
diego
parents:
13166
diff
changeset
|
30 #endif |
5577 | 31 #ifdef HAVE_LIBDV095 |
32 &ve_info_libdv, | |
33 #endif | |
11966 | 34 &ve_info_raw, |
11436 | 35 #if defined(HAVE_XVID3) || defined(HAVE_XVID4) |
7456 | 36 &ve_info_xvid, |
37 #endif | |
9520
2860f7c9d9ca
A new nuppel video encoder. Mainly for RT encoding on slow box.
albeu
parents:
8471
diff
changeset
|
38 &ve_info_nuv, |
13166
d198f255bee9
x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me
iive
parents:
11966
diff
changeset
|
39 #ifdef HAVE_X264 |
d198f255bee9
x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me
iive
parents:
11966
diff
changeset
|
40 &ve_info_x264, |
d198f255bee9
x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me
iive
parents:
11966
diff
changeset
|
41 #endif |
5550 | 42 NULL |
43 }; | |
44 | |
18980
ed69754aa58d
Marks several string parameters as const when they are not modified in the function, Patch by Stefan Huehner, stefan AT huehner-org
reynaldo
parents:
17012
diff
changeset
|
45 vf_instance_t* vf_open_encoder(vf_instance_t* next, const char *name, char *args){ |
9595 | 46 char* vf_args[] = { "_oldargs_", args, NULL }; |
47 return vf_open_plugin(encoder_list,next,name,vf_args); | |
5550 | 48 } |
49 |