Mercurial > mplayer.hg
annotate libmpcodecs/ve.c @ 10663:711159267b2d
clean up field flags:
1) cosmetic change, no reason these need to be mpeg2-specific
2) add a flag to tell when fields are ordered, so we don't have to
assume bff (which would usually be wrong) when field flags are not
available.
3) add other flags for future use :)
author | rfelker |
---|---|
date | Mon, 18 Aug 2003 14:49:06 +0000 |
parents | 6bf482d797b1 |
children | 6afc2d6f5a08 |
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; | |
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; |
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 | |
5550 | 35 &ve_info_rawrgb, |
7456 | 36 #if defined(HAVE_XVID) |
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 |