video: simplify some tests with a new IMGFMT_IS_HWACCEL macro
[mplayer.git] / options.h
blob8450435bbad9bc51a5d9d3a88ee7b5ceab8fe913
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 screen_size_x;
10 int screen_size_y;
11 int vo_screenwidth;
12 int vo_screenheight;
13 int force_window_position;
14 char *vo_winname;
15 char *vo_wintitle;
16 float force_monitor_aspect;
17 float monitor_pixel_aspect;
18 int vidmode;
19 int fullscreen;
20 int vo_dbpp;
21 float vo_panscanrange;
23 // ranges -100 - 100, 1000 if the vo default should be used
24 int vo_gamma_gamma;
25 int vo_gamma_brightness;
26 int vo_gamma_contrast;
27 int vo_gamma_saturation;
28 int vo_gamma_hue;
30 int osd_level;
31 int osd_duration;
32 char *stream_dump_name;
33 int capture_dump;
34 int loop_times;
35 int ordered_chapters;
36 int chapterrange[2];
37 int edition_id;
38 int correct_pts;
39 int user_correct_pts;
40 int user_pts_assoc_mode;
41 int key_fifo_size;
42 int doubleclick_time;
43 int audio_id;
44 int video_id;
45 int sub_id;
46 char *audio_lang;
47 char *sub_lang;
48 int audio_output_channels;
49 int audio_output_format;
50 float playback_speed;
51 float drc_level;
52 struct m_obj_settings *vf_settings;
53 int softzoom;
54 float movie_aspect;
55 float screen_size_xy;
56 int flip;
57 int vd_use_slices;
58 int ass_enabled;
59 struct lavc_param {
60 int workaround_bugs;
61 int error_resilience;
62 int error_concealment;
63 int gray;
64 int vstats;
65 int idct_algo;
66 int debug;
67 int vismv;
68 int skip_top;
69 int skip_bottom;
70 int fast;
71 char *lowres_str;
72 char *skip_loop_filter_str;
73 char *skip_idct_str;
74 char *skip_frame_str;
75 int threads;
76 int bitexact;
77 char *avopt;
78 } lavc_param;
80 struct lavfdopts {
81 unsigned int probesize;
82 unsigned int analyzeduration;
83 char *format;
84 char *cryptokey;
85 char *avopt;
86 } lavfdopts;
88 struct input_conf {
89 char *config_file;
90 unsigned int ar_delay;
91 unsigned int ar_rate;
92 char *js_dev;
93 char *ar_dev;
94 char *in_file;
95 int use_joystick;
96 int use_lirc;
97 int use_lircc;
98 int use_ar; // apple remote
99 int default_bindings;
100 } input;
101 } MPOpts;
103 #endif