cocoa_common: create window in the correct screen
[mplayer.git] / options.h
bloba0aa6774e7f5bfa90474dfdf96f274005083a7a9
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 char *mixer_device;
10 char *mixer_channel;
11 int softvol;
12 float softvol_max;
13 int gapless_audio;
14 int ao_buffersize;
15 int screen_size_x;
16 int screen_size_y;
17 int vo_screenwidth;
18 int vo_screenheight;
19 int force_window_position;
20 char *vo_winname;
21 char *vo_wintitle;
22 float force_monitor_aspect;
23 float monitor_pixel_aspect;
24 int vidmode;
25 int fullscreen;
26 int vo_dbpp;
27 float vo_panscanrange;
28 int requested_colorspace;
29 int requested_input_range;
30 int requested_output_range;
31 int cursor_autohide_delay;
33 // ranges -100 - 100, 1000 if the vo default should be used
34 int vo_gamma_gamma;
35 int vo_gamma_brightness;
36 int vo_gamma_contrast;
37 int vo_gamma_saturation;
38 int vo_gamma_hue;
40 int osd_level;
41 int osd_duration;
42 int osd_fractions;
43 char *vobsub_name;
44 int auto_quality;
45 int benchmark;
46 char *stream_dump_name;
47 int capture_dump;
48 int loop_times;
49 int ordered_chapters;
50 int chapter_merge_threshold;
51 int quiet;
52 int noconfig;
53 int stream_cache_size;
54 float stream_cache_min_percent;
55 float stream_cache_seek_min_percent;
56 int chapterrange[2];
57 int edition_id;
58 int correct_pts;
59 int user_correct_pts;
60 int user_pts_assoc_mode;
61 int initial_audio_sync;
62 int hr_seek;
63 float hr_seek_demuxer_offset;
64 int autosync;
65 int softsleep;
66 int rtc;
67 char *rtc_device;
68 int term_osd;
69 char *term_osd_esc;
70 char *playing_msg;
71 int player_idle_mode;
72 int consolecontrols;
73 int doubleclick_time;
74 int list_properties;
75 double seek_to_sec;
76 int audio_id;
77 int video_id;
78 int sub_id;
79 char **audio_lang;
80 char **sub_lang;
81 int sub_visibility;
82 int hr_mp3_seek;
83 char *quvi_format;
85 char *audio_stream;
86 int audio_stream_cache;
87 char *sub_stream;
88 char *demuxer_name;
89 char *audio_demuxer_name;
90 char *sub_demuxer_name;
91 int extension_parsing;
93 int audio_output_channels;
94 int audio_output_format;
95 float playback_speed;
96 float drc_level;
97 struct m_obj_settings *vf_settings;
98 int softzoom;
99 float movie_aspect;
100 float screen_size_xy;
101 int flip;
102 int vd_use_slices;
103 char **sub_name;
104 char **sub_paths;
105 int sub_auto;
106 int ass_enabled;
107 float ass_font_scale;
108 float ass_line_spacing;
109 int ass_top_margin;
110 int ass_bottom_margin;
111 int ass_use_margins;
112 int ass_vsfilter_aspect_compat;
113 int use_embedded_fonts;
114 char **ass_force_style_list;
115 char *ass_color;
116 char *ass_border_color;
117 char *ass_styles_file;
118 int ass_hinting;
119 struct lavc_param {
120 int workaround_bugs;
121 int error_resilience;
122 int error_concealment;
123 int gray;
124 int vstats;
125 int idct_algo;
126 int debug;
127 int vismv;
128 int skip_top;
129 int skip_bottom;
130 int fast;
131 char *lowres_str;
132 char *skip_loop_filter_str;
133 char *skip_idct_str;
134 char *skip_frame_str;
135 int threads;
136 int bitexact;
137 char *avopt;
138 } lavc_param;
140 struct lavfdopts {
141 unsigned int probesize;
142 unsigned int analyzeduration;
143 char *format;
144 char *cryptokey;
145 char *avopt;
146 } lavfdopts;
148 struct input_conf {
149 char *config_file;
150 int key_fifo_size;
151 unsigned int ar_delay;
152 unsigned int ar_rate;
153 char *js_dev;
154 char *ar_dev;
155 char *in_file;
156 int use_joystick;
157 int use_lirc;
158 int use_lircc;
159 int use_ar; // apple remote
160 int default_bindings;
161 } input;
162 } MPOpts;
164 #endif