aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-03-04 23:57:49 +0000
committerMark Thompson <sw@jkqxz.net>2017-11-22 23:02:33 +0000
commit403cde8e85101c8d4d99a3df4bde51e5a24cfded (patch)
tree3431c9f42fc1cf578e452dff5192f7dbcb608280 /configure
parenteb3e9f469a52638e896f9c7f4b1ce98614bcb1ea (diff)
downloadffmpeg-403cde8e85101c8d4d99a3df4bde51e5a24cfded.tar.gz
hwcontext_opencl: QSV to OpenCL mapping for Intel Media SDK
Uses the cl_intel_va_api_media_sharing extension, which supports only NV12 surfaces and only mapping from QSV to OpenCL.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index a05c5cf960..34fe16f80e 100755
--- a/configure
+++ b/configure
@@ -2121,6 +2121,7 @@ HAVE_LIST="
makeinfo
makeinfo_html
opencl_vaapi_beignet
+ opencl_vaapi_intel_media
perl
pod2man
texi2html
@@ -6159,6 +6160,10 @@ enabled vaapi &&
if enabled_all opencl vaapi ; then
check_type "CL/cl_intel.h" "clCreateImageFromFdINTEL_fn" &&
enable opencl_vaapi_beignet
+ if enabled libmfx ; then
+ check_type "CL/cl.h CL/va_ext.h" "clCreateFromVA_APIMediaSurfaceINTEL_fn" &&
+ enable opencl_vaapi_intel_media
+ fi
fi
enabled vdpau &&