Commit e73b3dba authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '990e4a66'

* commit '990e4a66':
  Add a QSV decoding example.

Conflicts:
	configure
	doc/Makefile
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 2ab3088d 990e4a66
......@@ -1329,6 +1329,7 @@ EXAMPLE_LIST="
filtering_video_example
metadata_example
muxing_example
qsvdec_example
remuxing_example
resampling_audio_example
scaling_video_example
......@@ -1838,6 +1839,7 @@ HAVE_LIST="
section_data_rel_ro
texi2html
threads
vaapi_x11
vdpau_x11
xlib
"
......@@ -2654,6 +2656,7 @@ filtering_audio_example_deps="avfilter avcodec avformat avutil"
filtering_video_example_deps="avfilter avcodec avformat avutil"
metadata_example_deps="avformat avutil"
muxing_example_deps="avcodec avformat avutil swscale"
qsvdec_example_deps="avcodec avutil libmfx h264_qsv_decoder vaapi_x11"
remuxing_example_deps="avcodec avformat avutil"
resampling_audio_example_deps="avutil swresample"
scaling_video_example_deps="avutil swscale"
......@@ -5134,6 +5137,10 @@ enabled vaapi &&
check_lib va/va.h vaInitialize -lva ||
disable vaapi
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
......
......@@ -46,6 +46,7 @@ DOC_EXAMPLES-$(CONFIG_FILTERING_AUDIO_EXAMPLE) += filtering_audio
DOC_EXAMPLES-$(CONFIG_FILTERING_VIDEO_EXAMPLE) += filtering_video
DOC_EXAMPLES-$(CONFIG_METADATA_EXAMPLE) += metadata
DOC_EXAMPLES-$(CONFIG_MUXING_EXAMPLE) += muxing
DOC_EXAMPLES-$(CONFIG_QSVDEC_EXAMPLE) += qsvdec
DOC_EXAMPLES-$(CONFIG_REMUXING_EXAMPLE) += remuxing
DOC_EXAMPLES-$(CONFIG_RESAMPLING_AUDIO_EXAMPLE) += resampling_audio
DOC_EXAMPLES-$(CONFIG_SCALING_VIDEO_EXAMPLE) += scaling_video
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment