diff options
author | Mark Thompson <sw@jkqxz.net> | 2017-03-05 16:21:41 +0000 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-11-22 23:02:33 +0000 |
commit | 9e7cda1b1e790c3d6a7507820a0b1e77804527ca (patch) | |
tree | b6c6852f0ae26f462603b31d15c24ead1c1c784f /configure | |
parent | 403cde8e85101c8d4d99a3df4bde51e5a24cfded (diff) |
hwcontext_opencl: DXVA2 to OpenCL mapping
Using cl_khr_dx9_media_sharing.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2120,6 +2120,7 @@ HAVE_LIST=" $TYPES_LIST makeinfo makeinfo_html + opencl_dxva2 opencl_vaapi_beignet opencl_vaapi_intel_media perl @@ -6166,6 +6167,11 @@ if enabled_all opencl vaapi ; then fi fi +if enabled_all opencl dxva2 ; then + check_type "CL/cl_dx9_media_sharing.h" cl_dx9_surface_info_khr && + enable opencl_dxva2 +fi + enabled vdpau && check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" || disable vdpau |