summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-06-25 22:34:40 +0100
committerMark Thompson <sw@jkqxz.net>2017-11-22 23:02:33 +0000
commitf06754e4f3c26ee8f2ff1df219ae3f5dfa99c580 (patch)
treec9efa95a4a40dcde7c6b37ba527983575ad1ee61 /configure
parent9e7cda1b1e790c3d6a7507820a0b1e77804527ca (diff)
hwcontext_opencl: D3D11 to OpenCL mapping
Using cl_khr_d3d11_sharing and cl_intel_d3d11_nv12_media_sharing.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 9b0542b2f2..c4d6ad9d9d 100755
--- a/configure
+++ b/configure
@@ -2120,6 +2120,7 @@ HAVE_LIST="
$TYPES_LIST
makeinfo
makeinfo_html
+ opencl_d3d11
opencl_dxva2
opencl_vaapi_beignet
opencl_vaapi_intel_media
@@ -6172,6 +6173,11 @@ if enabled_all opencl dxva2 ; then
enable opencl_dxva2
fi
+if enabled_all opencl d3d11va ; then
+ check_type "CL/cl_d3d11.h" clGetDeviceIDsFromD3D11KHR_fn &&
+ enable opencl_d3d11
+fi
+
enabled vdpau &&
check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
disable vdpau