mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
25 lines
751 B
C
25 lines
751 B
C
#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
|
|
#define vo_dbpp global_vo->opts->vo_dbpp
|
|
#define vo_screenwidth global_vo->opts->vo_screenwidth
|
|
#define vo_screenheight global_vo->opts->vo_screenheight
|
|
#define vidmode global_vo->opts->vidmode
|
|
#define movie_aspect global_vo->opts->movie_aspect
|
|
|
|
#define calc_src_dst_rects(...) calc_src_dst_rects(global_vo, __VA_ARGS__)
|
|
#endif
|