diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-02-12 00:07:29 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-28 21:51:24 +0100 |
commit | 990e4a6639d0714198583c2812b1074b5751898f (patch) | |
tree | 5cd38ccb8d1832831a4ccc70537aa1b261e38d70 /configure | |
parent | ea1d0b7ece1881c2f1360f8c1e2116791105af21 (diff) | |
download | ffmpeg-990e4a6639d0714198583c2812b1074b5751898f.tar.gz |
Add a QSV decoding example.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1137,6 +1137,7 @@ EXAMPLE_LIST=" filter_audio_example metadata_example output_example + qsvdec_example transcode_aac_example " @@ -1550,6 +1551,7 @@ HAVE_LIST=" sdl section_data_rel_ro threads + vaapi_x11 vdpau_x11 xlib " @@ -2187,6 +2189,7 @@ avcodec_example_deps="avcodec avutil" filter_audio_example_deps="avfilter avutil" metadata_example_deps="avformat avutil" output_example_deps="avcodec avformat avutil swscale" +qsvdec_example_deps="avcodec avutil libmfx h264_qsv_decoder vaapi_x11" transcode_aac_example_deps="avcodec avformat avresample" # libraries, in linking order @@ -4330,6 +4333,10 @@ if enabled x11grab; then require Xfixes X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes fi +enabled vaapi && enabled xlib && + check_lib2 "va/va.h va/va_x11.h" vaGetDisplay -lva -lva-x11 && + enable vaapi_x11 + enabled vdpau && check_cpp_condition vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" || disable vdpau |