comparison cfg-mencoder.h @ 3663:9092546e7765

made divx4 optional (also configure checking needed) and added avcodec_close
author alex
date Sat, 22 Dec 2001 16:59:10 +0000
parents af1f8e2d693a
children a14b3a600b81
comparison
equal deleted inserted replaced
3662:1e0052d8c532 3663:9092546e7765
11 extern int use_old_pp; 11 extern int use_old_pp;
12 #endif 12 #endif
13 13
14 extern int sws_flags; 14 extern int sws_flags;
15 15
16 #ifdef HAVE_DIVX4ENCORE
16 struct config divx4opts_conf[]={ 17 struct config divx4opts_conf[]={
17 {"br", &divx4_param.bitrate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000}, 18 {"br", &divx4_param.bitrate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000},
18 {"rc_period", &divx4_param.rc_period, CONF_TYPE_INT, 0,0,0}, 19 {"rc_period", &divx4_param.rc_period, CONF_TYPE_INT, 0,0,0},
19 {"rc_reaction_period", &divx4_param.rc_reaction_period, CONF_TYPE_INT, 0,0,0}, 20 {"rc_reaction_period", &divx4_param.rc_reaction_period, CONF_TYPE_INT, 0,0,0},
20 {"rc_reaction_ratio", &divx4_param.rc_reaction_ratio, CONF_TYPE_INT, 0,0,0}, 21 {"rc_reaction_ratio", &divx4_param.rc_reaction_ratio, CONF_TYPE_INT, 0,0,0},
25 {"q", &divx4_param.quality, CONF_TYPE_INT, CONF_RANGE, 1, 5}, 26 {"q", &divx4_param.quality, CONF_TYPE_INT, CONF_RANGE, 1, 5},
26 {"crispness", &divx4_crispness, CONF_TYPE_INT, CONF_RANGE,0,100}, 27 {"crispness", &divx4_crispness, CONF_TYPE_INT, CONF_RANGE,0,100},
27 {"help", "TODO: divx4opts help!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, 28 {"help", "TODO: divx4opts help!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
28 {NULL, NULL, 0, 0, 0, 0} 29 {NULL, NULL, 0, 0, 0, 0}
29 }; 30 };
31 #endif
30 32
31 #ifdef HAVE_MP3LAME 33 #ifdef HAVE_MP3LAME
32 struct config lameopts_conf[]={ 34 struct config lameopts_conf[]={
33 {"q", &lame_param_quality, CONF_TYPE_INT, CONF_RANGE, 0, 9}, 35 {"q", &lame_param_quality, CONF_TYPE_INT, CONF_RANGE, 0, 9},
34 {"vbr", &lame_param_vbr, CONF_TYPE_INT, CONF_RANGE, 0, vbr_max_indicator}, 36 {"vbr", &lame_param_vbr, CONF_TYPE_INT, CONF_RANGE, 0, vbr_max_indicator},
100 {"oac", oac_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, 102 {"oac", oac_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},
101 {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, 103 {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},
102 104
103 {"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4}, 105 {"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4},
104 106
107 #ifdef HAVE_DIVX4ENCORE
105 {"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2}, 108 {"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2},
106 {"passlogfile", &passtmpfile, CONF_TYPE_STRING, 0, 0, 0}, 109 {"passlogfile", &passtmpfile, CONF_TYPE_STRING, 0, 0, 0},
107 110
108 {"divx4opts", divx4opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, 111 {"divx4opts", divx4opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},
112 #endif
109 #ifdef HAVE_MP3LAME 113 #ifdef HAVE_MP3LAME
110 {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, 114 {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},
111 #endif 115 #endif
112 #ifdef USE_LIBAVCODEC 116 #ifdef USE_LIBAVCODEC
113 {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, 117 {"lavcopts", lavcopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0},