annotate cfg-mplayer.h @ 215:09d565842a33

font alpha resampling, see -ffactor
author arpi_esp
date Sun, 25 Mar 2001 20:38:14 +0000
parents 7034ef1f685d
children 62ec84961b27
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
147
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
1 /*
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
2 * config for cfgparser
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
3 */
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
4
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
5 struct config conf[]={
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
6 /* name, pointer, type, flags, min, max */
162
effc62af528c new option: -include
szabii
parents: 153
diff changeset
7 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, 0, 0, 0}, /* this must be the first!!! */
153
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
8 {"o", "Option -o has been renamed to -vo (video-out), use -vo !\n",
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
9 CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
147
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
10 {"vo", &video_driver, CONF_TYPE_STRING, 0, 0, 0},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
11 {"dsp", &dsp, CONF_TYPE_STRING, 0, 0, 0},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
12 {"encode", &encode_name, CONF_TYPE_STRING, 0, 0, 0},
212
7034ef1f685d new option: -font
arpi_esp
parents: 207
diff changeset
13 {"font", &font_name, CONF_TYPE_STRING, 0, 0, 0},
215
09d565842a33 font alpha resampling, see -ffactor
arpi_esp
parents: 212
diff changeset
14 {"ffactor", &font_factor, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 10.0},
147
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
15 {"bg", &play_in_bg, CONF_TYPE_FLAG, 0, 0, 1},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
16 {"nobg", &play_in_bg, CONF_TYPE_FLAG, 0, 1, 0},
153
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
17 {"sb", &seek_to_byte, CONF_TYPE_INT, CONF_MIN, 0, 0},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
18 {"ss", &seek_to_sec, CONF_TYPE_INT, CONF_MIN, 0, 0},
147
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
19 {"sound", &has_audio, CONF_TYPE_FLAG, 0, 0, 1},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
20 {"nosound", &has_audio, CONF_TYPE_FLAG, 0, 1, 0},
153
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
21 {"abs", &audio_buffer_size, CONF_TYPE_INT, CONF_MIN, 0, 0},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
22 {"delay", &audio_delay, CONF_TYPE_FLOAT, CONF_RANGE, -10.0, 10.0},
147
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
23 {"bps", &pts_from_bps, CONF_TYPE_FLAG, 0, 0, 1},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
24 {"nobps", &pts_from_bps, CONF_TYPE_FLAG, 0, 1, 0},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
25 {"alsa", &alsa, CONF_TYPE_FLAG, 0, 0, 1},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
26 {"noalsa", &alsa, CONF_TYPE_FLAG, 0, 1, 0},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
27 {"ni", &force_ni, CONF_TYPE_FLAG, 0, 0, 1},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
28 {"noni", &force_ni, CONF_TYPE_FLAG, 0, 1, 0},
153
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
29 {"aid", &audio_id, CONF_TYPE_INT, CONF_RANGE, 0, 256},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
30 {"vid", &video_id, CONF_TYPE_INT, CONF_RANGE, 0, 256},
147
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
31 {"auds", &avi_header.audio_codec, CONF_TYPE_STRING, 0, 0, 0},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
32 {"vids", &avi_header.video_codec, CONF_TYPE_STRING, 0, 0, 0},
153
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
33 {"mc", &default_max_pts_correction, CONF_TYPE_FLOAT, CONF_RANGE, 0, 10},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
34 {"fps", &force_fps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
35 {"afm", &audio_format, CONF_TYPE_INT, CONF_RANGE, 1, 6},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
36 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
37 {"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n",
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
38 CONF_TYPE_PRINT, 0, 0, 0},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
39 {"pp", &divx_quality, CONF_TYPE_INT, CONF_RANGE, 0, 63},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
40 {"br", &encode_bitrate, CONF_TYPE_INT, CONF_RANGE, 10000, 10000000},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
41 {"x", &screen_size_x, CONF_TYPE_INT, CONF_RANGE, 1, 4096},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
42 {"y", &screen_size_y, CONF_TYPE_INT, CONF_RANGE, 1, 4096},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
43 {"xy", &screen_size_xy, CONF_TYPE_INT, CONF_RANGE, 1, 4096},
207
8626c23f4a47 Addes a -vm option, which when used together with -fs and -vo x11 will
mgraffam
parents: 162
diff changeset
44 #ifdef HAVE_XF86VM
8626c23f4a47 Addes a -vm option, which when used together with -fs and -vo x11 will
mgraffam
parents: 162
diff changeset
45 {"vm", &vidmode, CONF_TYPE_FLAG, 0, 0, 1},
8626c23f4a47 Addes a -vm option, which when used together with -fs and -vo x11 will
mgraffam
parents: 162
diff changeset
46 #endif
147
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
47 {"fs", &fullscreen, CONF_TYPE_FLAG, 0, 0, 1},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
48 {"nofs", &fullscreen, CONF_TYPE_FLAG, 0, 1, 0},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
49 {"idx", &no_index, CONF_TYPE_FLAG, 0, 1, 0},
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
50 {"noidx", &no_index, CONF_TYPE_FLAG, 0, 0, 1},
153
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
51 {"verbose", &verbose, CONF_TYPE_INT, CONF_RANGE, 0, 100},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
52 {"v", cfg_inc_verbose, CONF_TYPE_FUNC, 0, 0, 0},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
53 {"-help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
54 {"help", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
8e55121885b2 new configfile/cmdline parser
arpi_esp
parents: 151
diff changeset
55 {"h", help_text, CONF_TYPE_PRINT, CONF_NOCFG, 0, 0},
147
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
56 {NULL, NULL, 0, 0, 0, 0}
0a0d7dd8fb51 new command line/config file parser
szabii
parents:
diff changeset
57 };