diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-12 15:04:05 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-03-12 15:04:05 +0000 |
commit | d32fe2d5fa1a1907c8c83add24477bc059e78683 (patch) | |
tree | 8409ba26608389daa02f7438d5b4f0cf65fbf977 /libvo/video_out.h | |
parent | 6e87e75c6313300b1199ff984ab759834a9007bd (diff) | |
download | mpv-d32fe2d5fa1a1907c8c83add24477bc059e78683.tar.bz2 mpv-d32fe2d5fa1a1907c8c83add24477bc059e78683.tar.xz |
vo_xover is a new vo that should make easy to have x11 support for
all overlay based vo.
Add support for xover to tdfx_vid. Sometimes the display flash bcs
the x server fuckup the overlay settings :( Not so bad as it only append
when i switch the focused window here.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9570 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.h')
-rw-r--r-- | libvo/video_out.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libvo/video_out.h b/libvo/video_out.h index ca94f477a1..2d75067818 100644 --- a/libvo/video_out.h +++ b/libvo/video_out.h @@ -55,6 +55,20 @@ // ... 21 #define VOCTRL_START_SLICE 21 +// Vo can be used by xover +#define VOCTRL_XOVERLAY_SUPPORT 22 + +#define VOCTRL_XOVERLAY_SET_COLORKEY 24 +typedef struct { + uint32_t x11; // The raw x11 color + uint16_t r,g,b; +} mp_colorkey_t; + +#define VOCTRL_XOVERLAY_SET_WIN 23 +typedef struct { + int x,y; + int w,h; +} mp_win_t; #define VO_TRUE 1 #define VO_FALSE 0 @@ -66,6 +80,7 @@ #define VOFLAG_MODESWITCHING 0x02 #define VOFLAG_SWSCALE 0x04 #define VOFLAG_FLIPPING 0x08 +#define VOFLAG_XOVERLAY_SUB_VO 0x10000 typedef struct vo_info_s { |