options: move various mplayer.c options to option struct
[mplayer/glamo.git] / options.h
blob7517f3a17211a9d4a79eb6d0158060a94ffc8ed7
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 char *stream_dump_name;
35 int capture_dump;
36 int loop_times;
37 int ordered_chapters;
38 int quiet;
39 float stream_cache_min_percent;
40 float stream_cache_seek_min_percent;
41 int chapterrange[2];
42 int edition_id;
43 int correct_pts;
44 int user_correct_pts;
45 int user_pts_assoc_mode;
46 int initial_audio_sync;
47 int autosync;
48 int softsleep;
49 int rtc;
50 char *rtc_device;
51 int key_fifo_size;
52 int doubleclick_time;
53 int audio_id;
54 int video_id;
55 int sub_id;
56 char *audio_lang;
57 char *sub_lang;
58 int hr_mp3_seek;
60 char *audio_stream;
61 int audio_stream_cache;
62 char *sub_stream;
63 char *demuxer_name;
64 char *audio_demuxer_name;
65 char *sub_demuxer_name;
66 int extension_parsing;
68 int audio_output_channels;
69 int audio_output_format;
70 float playback_speed;
71 float drc_level;
72 struct m_obj_settings *vf_settings;
73 int softzoom;
74 float movie_aspect;
75 float screen_size_xy;
76 int flip;
77 int vd_use_slices;
78 int ass_enabled;
79 struct lavc_param {
80 int workaround_bugs;
81 int error_resilience;
82 int error_concealment;
83 int gray;
84 int vstats;
85 int idct_algo;
86 int debug;
87 int vismv;
88 int skip_top;
89 int skip_bottom;
90 int fast;
91 char *lowres_str;
92 char *skip_loop_filter_str;
93 char *skip_idct_str;
94 char *skip_frame_str;
95 int threads;
96 int bitexact;
97 char *avopt;
98 } lavc_param;
100 struct lavfdopts {
101 unsigned int probesize;
102 unsigned int analyzeduration;
103 char *format;
104 char *cryptokey;
105 char *avopt;
106 } lavfdopts;
108 struct input_conf {
109 char *config_file;
110 unsigned int ar_delay;
111 unsigned int ar_rate;
112 char *js_dev;
113 char *ar_dev;
114 char *in_file;
115 int use_joystick;
116 int use_lirc;
117 int use_lircc;
118 int use_ar; // apple remote
119 int default_bindings;
120 } input;
121 } MPOpts;
123 #endif