options: more mplayer.c options moved to option struct
[mplayer.git] / options.h
blob992202fda3635356fc6f72e8c16ac4cb45e93185
1 #ifndef MPLAYER_OPTIONS_H
2 #define MPLAYER_OPTIONS_H
4 typedef struct MPOpts {
5 char **video_driver_list;
6 char **audio_driver_list;
7 int fixed_vo;
8 int vo_ontop;
9 int gapless_audio;
10 int ao_buffersize;
11 int screen_size_x;
12 int screen_size_y;
13 int vo_screenwidth;
14 int vo_screenheight;
15 int force_window_position;
16 char *vo_winname;
17 char *vo_wintitle;
18 float force_monitor_aspect;
19 float monitor_pixel_aspect;
20 int vidmode;
21 int fullscreen;
22 int vo_dbpp;
23 float vo_panscanrange;
25 // ranges -100 - 100, 1000 if the vo default should be used
26 int vo_gamma_gamma;
27 int vo_gamma_brightness;
28 int vo_gamma_contrast;
29 int vo_gamma_saturation;
30 int vo_gamma_hue;
32 int osd_level;
33 int osd_duration;
34 int auto_quality;
35 int benchmark;
36 char *stream_dump_name;
37 int capture_dump;
38 int loop_times;
39 int ordered_chapters;
40 int quiet;
41 float stream_cache_min_percent;
42 float stream_cache_seek_min_percent;
43 int chapterrange[2];
44 int edition_id;
45 int correct_pts;
46 int user_correct_pts;
47 int user_pts_assoc_mode;
48 int initial_audio_sync;
49 int autosync;
50 int softsleep;
51 int rtc;
52 char *rtc_device;
53 int term_osd;
54 char *term_osd_esc;
55 char *playing_msg;
56 int player_idle_mode;
57 int key_fifo_size;
58 int consolecontrols;
59 int doubleclick_time;
60 int list_properties;
61 int audio_id;
62 int video_id;
63 int sub_id;
64 char *audio_lang;
65 char *sub_lang;
66 int hr_mp3_seek;
68 char *audio_stream;
69 int audio_stream_cache;
70 char *sub_stream;
71 char *demuxer_name;
72 char *audio_demuxer_name;
73 char *sub_demuxer_name;
74 int extension_parsing;
76 int audio_output_channels;
77 int audio_output_format;
78 float playback_speed;
79 float drc_level;
80 struct m_obj_settings *vf_settings;
81 int softzoom;
82 float movie_aspect;
83 float screen_size_xy;
84 int flip;
85 int vd_use_slices;
86 int ass_enabled;
87 struct lavc_param {
88 int workaround_bugs;
89 int error_resilience;
90 int error_concealment;
91 int gray;
92 int vstats;
93 int idct_algo;
94 int debug;
95 int vismv;
96 int skip_top;
97 int skip_bottom;
98 int fast;
99 char *lowres_str;
100 char *skip_loop_filter_str;
101 char *skip_idct_str;
102 char *skip_frame_str;
103 int threads;
104 int bitexact;
105 char *avopt;
106 } lavc_param;
108 struct lavfdopts {
109 unsigned int probesize;
110 unsigned int analyzeduration;
111 char *format;
112 char *cryptokey;
113 char *avopt;
114 } lavfdopts;
116 struct input_conf {
117 char *config_file;
118 unsigned int ar_delay;
119 unsigned int ar_rate;
120 char *js_dev;
121 char *ar_dev;
122 char *in_file;
123 int use_joystick;
124 int use_lirc;
125 int use_lircc;
126 int use_ar; // apple remote
127 int default_bindings;
128 } input;
129 } MPOpts;
131 #endif