aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-03-04 23:57:48 +0000
committerMark Thompson <sw@jkqxz.net>2017-11-22 23:02:33 +0000
commiteb3e9f469a52638e896f9c7f4b1ce98614bcb1ea (patch)
tree6506689f482abd5cde0cbc8a0e81b6a535aa1759 /configure
parentb25d8ef0a7a880443fb713603d7f4259e30b84dd (diff)
downloadffmpeg-eb3e9f469a52638e896f9c7f4b1ce98614bcb1ea.tar.gz
hwcontext_opencl: VAAPI to OpenCL mapping for Intel i965+beignet
Supports all surface formats in common between the two.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 74920c388d..a05c5cf960 100755
--- a/configure
+++ b/configure
@@ -2120,6 +2120,7 @@ HAVE_LIST="
$TYPES_LIST
makeinfo
makeinfo_html
+ opencl_vaapi_beignet
perl
pod2man
texi2html
@@ -6155,6 +6156,11 @@ enabled vaapi &&
check_cpp_condition "va/va.h" "VA_CHECK_VERSION(1, 0, 0)" &&
enable vaapi_1
+if enabled_all opencl vaapi ; then
+ check_type "CL/cl_intel.h" "clCreateImageFromFdINTEL_fn" &&
+ enable opencl_vaapi_beignet
+fi
+
enabled vdpau &&
check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
disable vdpau