vo_gl: fix image corruption with PBOs when playing 10 bit video
[mplayer.git] / options.h
blob6ee25351c807b6aa1ddc5f2ee24373f21ec22315
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 osd_fractions;
35 char *vobsub_name;
36 int auto_quality;
37 int benchmark;
38 char *stream_dump_name;
39 int capture_dump;
40 int loop_times;
41 int ordered_chapters;
42 int chapter_merge_threshold;
43 int quiet;
44 int noconfig;
45 float stream_cache_min_percent;
46 float stream_cache_seek_min_percent;
47 int chapterrange[2];
48 int edition_id;
49 int correct_pts;
50 int user_correct_pts;
51 int user_pts_assoc_mode;
52 int initial_audio_sync;
53 int hr_seek;
54 int autosync;
55 int softsleep;
56 int rtc;
57 char *rtc_device;
58 int term_osd;
59 char *term_osd_esc;
60 char *playing_msg;
61 int player_idle_mode;
62 int consolecontrols;
63 int doubleclick_time;
64 int list_properties;
65 double seek_to_sec;
66 int audio_id;
67 int video_id;
68 int sub_id;
69 char **audio_lang;
70 char **sub_lang;
71 int hr_mp3_seek;
73 char *audio_stream;
74 int audio_stream_cache;
75 char *sub_stream;
76 char *demuxer_name;
77 char *audio_demuxer_name;
78 char *sub_demuxer_name;
79 int extension_parsing;
81 int audio_output_channels;
82 int audio_output_format;
83 float playback_speed;
84 float drc_level;
85 struct m_obj_settings *vf_settings;
86 int softzoom;
87 float movie_aspect;
88 float screen_size_xy;
89 int flip;
90 int vd_use_slices;
91 char **sub_name;
92 char **sub_paths;
93 int sub_auto;
94 int ass_enabled;
95 float ass_font_scale;
96 float ass_line_spacing;
97 int ass_top_margin;
98 int ass_bottom_margin;
99 int ass_use_margins;
100 int ass_vsfilter_aspect_compat;
101 int use_embedded_fonts;
102 char **ass_force_style_list;
103 char *ass_color;
104 char *ass_border_color;
105 char *ass_styles_file;
106 int ass_hinting;
107 struct lavc_param {
108 int workaround_bugs;
109 int error_resilience;
110 int error_concealment;
111 int gray;
112 int vstats;
113 int idct_algo;
114 int debug;
115 int vismv;
116 int skip_top;
117 int skip_bottom;
118 int fast;
119 char *lowres_str;
120 char *skip_loop_filter_str;
121 char *skip_idct_str;
122 char *skip_frame_str;
123 int threads;
124 int bitexact;
125 char *avopt;
126 } lavc_param;
128 struct lavfdopts {
129 unsigned int probesize;
130 unsigned int analyzeduration;
131 char *format;
132 char *cryptokey;
133 char *avopt;
134 } lavfdopts;
136 struct input_conf {
137 char *config_file;
138 int key_fifo_size;
139 unsigned int ar_delay;
140 unsigned int ar_rate;
141 char *js_dev;
142 char *ar_dev;
143 char *in_file;
144 int use_joystick;
145 int use_lirc;
146 int use_lircc;
147 int use_ar; // apple remote
148 int default_bindings;
149 } input;
150 } MPOpts;
152 #endif