From e2c8a63b302163665de3185b43595f69b5c6468b Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Thu, 17 Jan 2013 15:01:23 +0200 Subject: VAAPI decoder and video output plugin from https://github.com/huceke/xine-lib-vaapi --- include/xine.h | 1 + include/xine/video_out.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/xine.h b/include/xine.h index 073a9facd..b6112e97b 100644 --- a/include/xine.h +++ b/include/xine.h @@ -458,6 +458,7 @@ int xine_get_current_frame_data (xine_stream_t *stream, #define XINE_IMGFMT_XVMC (('C'<<24)|('M'<<16)|('v'<<8)|'X') #define XINE_IMGFMT_XXMC (('C'<<24)|('M'<<16)|('x'<<8)|'X') #define XINE_IMGFMT_VDPAU (('A'<<24)|('P'<<16)|('D'<<8)|'V') +#define XINE_IMGFMT_VAAPI (('P'<<24)|('A'<<16)|('A'<<8)|'V') /* get current xine's virtual presentation timestamp (1/90000 sec) * note: this is mostly internal data. diff --git a/include/xine/video_out.h b/include/xine/video_out.h index de126baea..fae62b3d1 100644 --- a/include/xine/video_out.h +++ b/include/xine/video_out.h @@ -310,6 +310,7 @@ struct xine_video_port_s { #define VO_CAP_VDPAU_MPEG12 0x00000100 /* driver can use VDPAU for mpeg1/2 */ #define VO_CAP_VDPAU_VC1 0x00000200 /* driver can use VDPAU for VC1 */ #define VO_CAP_VDPAU_MPEG4 0x00000400 /* driver can use VDPAU for mpeg4-part2 */ +#define VO_CAP_VAAPI 0x00000800 /* driver can use VAAPI */ #define VO_CAP_COLOR_MATRIX 0x00004000 /* driver can use alternative yuv->rgb matrices */ #define VO_CAP_FULLRANGE 0x00008000 /* driver handles fullrange yuv */ #define VO_CAP_HUE 0x00010000 -- cgit v1.2.3