diff options
author | Mark Thompson <sw@jkqxz.net> | 2016-03-23 23:48:13 +0000 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-03-30 09:04:53 +0200 |
commit | 5d273d3efac340ef8de445c955ff44c7abed4e8f (patch) | |
tree | 245dbf7c3bb31832b9d0937fc52f4232f9f5b87d /configure | |
parent | ca8c7591735c0f80cc29e31e2e92cb10228e14c7 (diff) | |
download | ffmpeg-5d273d3efac340ef8de445c955ff44c7abed4e8f.tar.gz |
avconv: VAAPI hwcontext initialisation and hwaccel helper
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1636,6 +1636,7 @@ HAVE_LIST=" sdl section_data_rel_ro threads + vaapi_drm vaapi_x11 vdpau_x11 xlib @@ -4694,10 +4695,15 @@ enabled vaapi && check_code cc "va/va.h" "vaCreateSurfaces(0, 0, 0, 0, 0, 0, 0, 0)" || disable vaapi -enabled vaapi && enabled xlib && +if enabled vaapi ; then + enabled xlib && check_lib2 "va/va.h va/va_x11.h" vaGetDisplay -lva -lva-x11 && enable vaapi_x11 + check_lib2 "va/va.h va/va_drm.h" vaGetDisplayDRM -lva -lva-drm && + enable vaapi_drm +fi + enabled vdpau && check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" || disable vdpau |