1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 11:02:10 +00:00
mpv/libvo/old_vo_defines.h

25 lines
751 B
C
Raw Normal View History

#ifndef MPLAYER_OLD_VO_DEFINES_H
#define MPLAYER_OLD_VO_DEFINES_H
#include "options.h"
#include "video_out.h"
#include "old_vo_wrapper.h"
// Triggers more defines in x11_common.h
#define IS_OLD_VO 1
#define vo_ontop global_vo->opts->vo_ontop
#define vo_config_count global_vo->config_count
#define vo_dx global_vo->dx
#define vo_dy global_vo->dy
#define vo_dwidth global_vo->dwidth
#define vo_dheight global_vo->dheight
2008-04-20 21:37:12 +00:00
#define vo_dbpp global_vo->opts->vo_dbpp
#define vo_screenwidth global_vo->opts->vo_screenwidth
#define vo_screenheight global_vo->opts->vo_screenheight
2008-04-24 04:01:53 +00:00
#define vidmode global_vo->opts->vidmode
2008-04-24 04:36:43 +00:00
#define movie_aspect global_vo->opts->movie_aspect
2009-02-13 01:52:51 +00:00
#define calc_src_dst_rects(...) calc_src_dst_rects(global_vo, __VA_ARGS__)
#endif