summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2016-02-12 20:38:42 +0200
committerLuca Barbato <lu_zero@gentoo.org>2016-02-13 14:42:38 +0100
commit8d34a2f803c9ca9433b5a51bacbbe352e8d327e2 (patch)
treef5aa7398c97f78fab652a7591d686394c71b538a /configure
parent8958c5c64d05453204642b55a7b8b44c93023b17 (diff)
vdpau: Support for VDPAU accelerated HEVC decoding
Signed-off-by: RĂ©mi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 32b643a082..bddbd87d3d 100755
--- a/configure
+++ b/configure
@@ -2148,6 +2148,8 @@ hevc_d3d11va_hwaccel_select="hevc_decoder"
hevc_dxva2_hwaccel_deps="dxva2 DXVA_PicParams_HEVC"
hevc_dxva2_hwaccel_select="hevc_decoder"
hevc_qsv_hwaccel_deps="libmfx"
+hevc_vdpau_hwaccel_deps="vdpau VdpPictureInfoHEVC"
+hevc_vdpau_hwaccep_select="hevc_decoder"
mpeg1_vdpau_hwaccel_deps="vdpau"
mpeg1_vdpau_hwaccel_select="mpeg1video_decoder"
mpeg2_d3d11va_hwaccel_deps="d3d11va"
@@ -4469,6 +4471,8 @@ check_type "windows.h dxva.h" "DXVA_PicParams_HEVC" -DWINAPI_FAMILY=WINAPI_FAMIL
check_type "windows.h d3d11.h" "ID3D11VideoDecoder"
check_type "d3d9.h dxva2api.h" DXVA2_ConfigPictureDecode -D_WIN32_WINNT=0x0602
+check_type "vdpau/vdpau.h" "VdpPictureInfoHEVC"
+
if ! disabled w32threads && ! enabled pthreads; then
check_func_headers "windows.h process.h" _beginthreadex &&
enable w32threads || disable w32threads