spudec.c: Avoid useless malloc/frees
[mplayer/glamo.git] / libvo / old_vo_defines.h
blobfeded12d5b6583c35d46ded5860a3c672a05d345
1 #ifndef MPLAYER_OLD_VO_DEFINES_H
2 #define MPLAYER_OLD_VO_DEFINES_H
4 #include "options.h"
5 #include "video_out.h"
6 #include "old_vo_wrapper.h"
8 // Triggers more defines in x11_common.h
9 #define IS_OLD_VO 1
11 #define vo_ontop global_vo->opts->vo_ontop
12 #define vo_config_count global_vo->config_count
13 #define vo_dx global_vo->dx
14 #define vo_dy global_vo->dy
15 #define vo_dwidth global_vo->dwidth
16 #define vo_dheight global_vo->dheight
17 #define vo_dbpp global_vo->opts->vo_dbpp
18 #define vo_screenwidth global_vo->opts->vo_screenwidth
19 #define vo_screenheight global_vo->opts->vo_screenheight
20 #define vidmode global_vo->opts->vidmode
21 #define movie_aspect global_vo->opts->movie_aspect
23 #define calc_src_dst_rects(...) calc_src_dst_rects(global_vo, __VA_ARGS__)
24 #endif