[FFmpeg-cvslog] Merge commit '635897ac78ef29869f0321ab921c91b3e1aad453'

James Almer git at videolan.org
Thu Nov 2 01:52:57 EET 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Nov  1 20:51:03 2017 -0300| [9f10052c9d3e725ebf5140b46fbca20e26af148c] | committer: James Almer

Merge commit '635897ac78ef29869f0321ab921c91b3e1aad453'

* commit '635897ac78ef29869f0321ab921c91b3e1aad453':
  configure: Factorize qsv dependencies

Merged-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f10052c9d3e725ebf5140b46fbca20e26af148c
---

 configure | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/configure b/configure
index dbf4ef3c95..1d182d2fa9 100755
--- a/configure
+++ b/configure
@@ -2613,8 +2613,6 @@ utvideo_decoder_select="bswapdsp llviddsp"
 utvideo_encoder_select="bswapdsp huffman llvidencdsp"
 vble_decoder_select="llviddsp"
 vc1_decoder_select="blockdsp h263_decoder h264qpel intrax8 mpegvideo vc1dsp"
-vc1_qsv_decoder_deps="libmfx"
-vc1_qsv_decoder_select="qsvdec vc1_qsv_hwaccel vc1_parser"
 vc1image_decoder_select="vc1_decoder"
 vorbis_decoder_select="mdct"
 vorbis_encoder_select="mdct"
@@ -2718,7 +2716,6 @@ mpeg2_dxva2_hwaccel_select="mpeg2video_decoder"
 mpeg2_mediacodec_hwaccel_deps="mediacodec"
 mpeg2_mmal_hwaccel_deps="mmal"
 mpeg2_qsv_hwaccel_deps="libmfx"
-mpeg2_qsv_hwaccel_select="qsvdec_mpeg2"
 mpeg2_vaapi_hwaccel_deps="vaapi"
 mpeg2_vaapi_hwaccel_select="mpeg2video_decoder"
 mpeg2_vdpau_hwaccel_deps="vdpau"
@@ -2747,7 +2744,6 @@ vc1_dxva2_hwaccel_deps="dxva2"
 vc1_dxva2_hwaccel_select="vc1_decoder"
 vc1_mmal_hwaccel_deps="mmal"
 vc1_qsv_hwaccel_deps="libmfx"
-vc1_qsv_hwaccel_select="qsvdec_vc1"
 vc1_vaapi_hwaccel_deps="vaapi"
 vc1_vaapi_hwaccel_select="vc1_decoder"
 vc1_vdpau_hwaccel_deps="vdpau"
@@ -2776,6 +2772,7 @@ wmv3_vdpau_hwaccel_select="vc1_vdpau_hwaccel"
 # hardware-accelerated codecs
 omx_deps="libdl pthreads"
 omx_rpi_select="omx"
+qsv_deps="libmfx"
 qsvdec_select="qsv"
 qsvenc_select="qsv"
 vaapi_encode_deps="vaapi"
@@ -2800,9 +2797,7 @@ h264_mediacodec_decoder_select="h264_mp4toannexb_bsf h264_parser"
 h264_mmal_decoder_deps="mmal"
 h264_nvenc_encoder_deps="nvenc"
 h264_omx_encoder_deps="omx"
-h264_qsv_decoder_deps="libmfx"
 h264_qsv_decoder_select="h264_mp4toannexb_bsf h264_parser qsvdec h264_qsv_hwaccel"
-h264_qsv_encoder_deps="libmfx"
 h264_qsv_encoder_select="qsvenc"
 h264_rkmpp_decoder_deps="rkmpp"
 h264_rkmpp_decoder_select="h264_mp4toannexb_bsf"
@@ -2815,9 +2810,7 @@ hevc_cuvid_decoder_select="hevc_mp4toannexb_bsf"
 hevc_mediacodec_decoder_deps="mediacodec"
 hevc_mediacodec_decoder_select="hevc_mp4toannexb_bsf hevc_parser"
 hevc_nvenc_encoder_deps="nvenc"
-hevc_qsv_decoder_deps="libmfx"
 hevc_qsv_decoder_select="hevc_mp4toannexb_bsf hevc_parser qsvdec hevc_qsv_hwaccel"
-hevc_qsv_encoder_deps="libmfx"
 hevc_qsv_encoder_select="hevcparse qsvenc"
 hevc_rkmpp_decoder_deps="rkmpp"
 hevc_rkmpp_decoder_select="hevc_mp4toannexb_bsf"
@@ -2834,9 +2827,7 @@ mpeg2_crystalhd_decoder_select="crystalhd"
 mpeg2_cuvid_decoder_deps="cuda cuvid"
 mpeg2_mmal_decoder_deps="mmal"
 mpeg2_mediacodec_decoder_deps="mediacodec"
-mpeg2_qsv_decoder_deps="libmfx"
 mpeg2_qsv_decoder_select="qsvdec mpeg2_qsv_hwaccel"
-mpeg2_qsv_encoder_deps="libmfx"
 mpeg2_qsv_encoder_select="qsvenc"
 mpeg2_vaapi_encoder_deps="VAEncPictureParameterBufferMPEG2"
 mpeg2_vaapi_encoder_select="cbs_mpeg2 vaapi_encode"
@@ -2854,10 +2845,10 @@ nvenc_hevc_encoder_select="hevc_nvenc_encoder"
 vc1_crystalhd_decoder_select="crystalhd"
 vc1_cuvid_decoder_deps="cuda cuvid"
 vc1_mmal_decoder_deps="mmal"
+vc1_qsv_decoder_select="qsvdec vc1_qsv_hwaccel vc1_parser"
 vc1_v4l2m2m_decoder_deps="v4l2_m2m vc1_v4l2_m2m"
 vp8_cuvid_decoder_deps="cuda cuvid"
 vp8_mediacodec_decoder_deps="mediacodec"
-vp8_qsv_decoder_deps="libmfx"
 vp8_qsv_decoder_select="qsvdec vp8_qsv_hwaccel vp8_parser"
 vp8_rkmpp_decoder_deps="rkmpp"
 vp8_vaapi_encoder_deps="VAEncPictureParameterBufferVP8"


======================================================================

diff --cc configure
index dbf4ef3c95,39157b6ec5..1d182d2fa9
--- a/configure
+++ b/configure
@@@ -2597,24 -2129,22 +2597,22 @@@ svq1_encoder_select="aandcttables hpeld
  svq3_decoder_select="golomb h264dsp h264parse h264pred hpeldsp tpeldsp videodsp"
  svq3_decoder_suggest="zlib"
  tak_decoder_select="audiodsp"
 -tdsc_decoder_deps="zlib"
 -tdsc_decoder_select="mjpeg_decoder"
 +tdsc_decoder_select="zlib mjpeg_decoder"
  theora_decoder_select="vp3_decoder"
  thp_decoder_select="mjpeg_decoder"
 -tiff_decoder_suggest="zlib"
 +tiff_decoder_suggest="zlib lzma"
  tiff_encoder_suggest="zlib"
 -truehd_decoder_select="mlp_decoder"
 +truehd_decoder_select="mlp_parser"
 +truehd_encoder_select="lpc"
  truemotion2_decoder_select="bswapdsp"
  truespeech_decoder_select="bswapdsp"
 -tscc_decoder_deps="zlib"
 -txd_decoder_select="texturedsp"
 +tscc_decoder_select="zlib"
  twinvq_decoder_select="mdct lsp sinewin"
 -utvideo_decoder_select="bswapdsp huffyuvdsp"
 -utvideo_encoder_select="bswapdsp huffman huffyuvencdsp"
 -vble_decoder_select="huffyuvdsp"
 -vc1_decoder_select="blockdsp error_resilience h263_decoder h264qpel intrax8 mpeg_er mpegvideo vc1dsp"
 +txd_decoder_select="texturedsp"
 +utvideo_decoder_select="bswapdsp llviddsp"
 +utvideo_encoder_select="bswapdsp huffman llvidencdsp"
 +vble_decoder_select="llviddsp"
 +vc1_decoder_select="blockdsp h263_decoder h264qpel intrax8 mpegvideo vc1dsp"
- vc1_qsv_decoder_deps="libmfx"
- vc1_qsv_decoder_select="qsvdec vc1_qsv_hwaccel vc1_parser"
  vc1image_decoder_select="vc1_decoder"
  vorbis_decoder_select="mdct"
  vorbis_encoder_select="mdct"
@@@ -2715,10 -2218,8 +2713,9 @@@ mpeg2_d3d11va2_hwaccel_deps="d3d11va
  mpeg2_d3d11va2_hwaccel_select="mpeg2video_decoder"
  mpeg2_dxva2_hwaccel_deps="dxva2"
  mpeg2_dxva2_hwaccel_select="mpeg2video_decoder"
 +mpeg2_mediacodec_hwaccel_deps="mediacodec"
  mpeg2_mmal_hwaccel_deps="mmal"
  mpeg2_qsv_hwaccel_deps="libmfx"
- mpeg2_qsv_hwaccel_select="qsvdec_mpeg2"
  mpeg2_vaapi_hwaccel_deps="vaapi"
  mpeg2_vaapi_hwaccel_select="mpeg2video_decoder"
  mpeg2_vdpau_hwaccel_deps="vdpau"
@@@ -2774,8 -2250,10 +2770,9 @@@ wmv3_vaapi_hwaccel_select="vc1_vaapi_hw
  wmv3_vdpau_hwaccel_select="vc1_vdpau_hwaccel"
  
  # hardware-accelerated codecs
 -nvenc_deps_any="libdl LoadLibrary"
  omx_deps="libdl pthreads"
  omx_rpi_select="omx"
+ qsv_deps="libmfx"
  qsvdec_select="qsv"
  qsvenc_select="qsv"
  vaapi_encode_deps="vaapi"
@@@ -2800,77 -2264,33 +2797,71 @@@ h264_mediacodec_decoder_select="h264_mp
  h264_mmal_decoder_deps="mmal"
  h264_nvenc_encoder_deps="nvenc"
  h264_omx_encoder_deps="omx"
- h264_qsv_decoder_deps="libmfx"
  h264_qsv_decoder_select="h264_mp4toannexb_bsf h264_parser qsvdec h264_qsv_hwaccel"
- h264_qsv_encoder_deps="libmfx"
  h264_qsv_encoder_select="qsvenc"
 +h264_rkmpp_decoder_deps="rkmpp"
 +h264_rkmpp_decoder_select="h264_mp4toannexb_bsf"
  h264_vaapi_encoder_deps="VAEncPictureParameterBufferH264"
 -h264_vaapi_encoder_select="vaapi_encode golomb"
 +h264_vaapi_encoder_select="cbs_h264 vaapi_encode"
 +h264_v4l2m2m_decoder_deps="v4l2_m2m h264_v4l2_m2m"
 +h264_v4l2m2m_encoder_deps="v4l2_m2m h264_v4l2_m2m"
 +hevc_cuvid_decoder_deps="cuda cuvid"
 +hevc_cuvid_decoder_select="hevc_mp4toannexb_bsf"
 +hevc_mediacodec_decoder_deps="mediacodec"
 +hevc_mediacodec_decoder_select="hevc_mp4toannexb_bsf hevc_parser"
  hevc_nvenc_encoder_deps="nvenc"
- hevc_qsv_decoder_deps="libmfx"
 -hevc_qsv_decoder_select="hevc_mp4toannexb_bsf hevc_parser hevc_qsv_hwaccel qsvdec"
 -hevc_qsv_encoder_select="hevc_ps qsvenc"
 +hevc_qsv_decoder_select="hevc_mp4toannexb_bsf hevc_parser qsvdec hevc_qsv_hwaccel"
- hevc_qsv_encoder_deps="libmfx"
 +hevc_qsv_encoder_select="hevcparse qsvenc"
 +hevc_rkmpp_decoder_deps="rkmpp"
 +hevc_rkmpp_decoder_select="hevc_mp4toannexb_bsf"
  hevc_vaapi_encoder_deps="VAEncPictureParameterBufferHEVC"
 -hevc_vaapi_encoder_select="vaapi_encode golomb"
 +hevc_vaapi_encoder_select="cbs_h265 vaapi_encode"
 +hevc_v4l2m2m_decoder_deps="v4l2_m2m hevc_v4l2_m2m"
 +hevc_v4l2m2m_encoder_deps="v4l2_m2m hevc_v4l2_m2m"
 +mjpeg_cuvid_decoder_deps="cuda cuvid"
  mjpeg_vaapi_encoder_deps="VAEncPictureParameterBufferJPEG"
  mjpeg_vaapi_encoder_select="vaapi_encode jpegtables"
 +mpeg1_cuvid_decoder_deps="cuda cuvid"
 +mpeg1_v4l2m2m_decoder_deps="v4l2_m2m mpeg1_v4l2_m2m"
 +mpeg2_crystalhd_decoder_select="crystalhd"
 +mpeg2_cuvid_decoder_deps="cuda cuvid"
  mpeg2_mmal_decoder_deps="mmal"
 -mpeg2_qsv_decoder_select="qsvdec mpeg2_qsv_hwaccel mpegvideo_parser"
 +mpeg2_mediacodec_decoder_deps="mediacodec"
- mpeg2_qsv_decoder_deps="libmfx"
 +mpeg2_qsv_decoder_select="qsvdec mpeg2_qsv_hwaccel"
- mpeg2_qsv_encoder_deps="libmfx"
  mpeg2_qsv_encoder_select="qsvenc"
  mpeg2_vaapi_encoder_deps="VAEncPictureParameterBufferMPEG2"
 -mpeg2_vaapi_encoder_select="vaapi_encode"
 +mpeg2_vaapi_encoder_select="cbs_mpeg2 vaapi_encode"
 +mpeg2_v4l2m2m_decoder_deps="v4l2_m2m mpeg2_v4l2_m2m"
 +mpeg4_crystalhd_decoder_select="crystalhd"
 +mpeg4_cuvid_decoder_deps="cuda cuvid"
 +mpeg4_mediacodec_decoder_deps="mediacodec"
 +mpeg4_mmal_decoder_deps="mmal"
  mpeg4_omx_encoder_deps="omx"
 +mpeg4_v4l2m2m_decoder_deps="v4l2_m2m mpeg4_v4l2_m2m"
 +mpeg4_v4l2m2m_encoder_deps="v4l2_m2m mpeg4_v4l2_m2m"
 +msmpeg4_crystalhd_decoder_select="crystalhd"
 +nvenc_h264_encoder_select="h264_nvenc_encoder"
 +nvenc_hevc_encoder_select="hevc_nvenc_encoder"
 +vc1_crystalhd_decoder_select="crystalhd"
 +vc1_cuvid_decoder_deps="cuda cuvid"
  vc1_mmal_decoder_deps="mmal"
+ vc1_qsv_decoder_select="qsvdec vc1_qsv_hwaccel vc1_parser"
 +vc1_v4l2m2m_decoder_deps="v4l2_m2m vc1_v4l2_m2m"
 +vp8_cuvid_decoder_deps="cuda cuvid"
 +vp8_mediacodec_decoder_deps="mediacodec"
- vp8_qsv_decoder_deps="libmfx"
  vp8_qsv_decoder_select="qsvdec vp8_qsv_hwaccel vp8_parser"
 +vp8_rkmpp_decoder_deps="rkmpp"
  vp8_vaapi_encoder_deps="VAEncPictureParameterBufferVP8"
  vp8_vaapi_encoder_select="vaapi_encode"
 +vp8_v4l2m2m_decoder_deps="v4l2_m2m vp8_v4l2_m2m"
 +vp8_v4l2m2m_encoder_deps="v4l2_m2m vp8_v4l2_m2m"
 +vp9_cuvid_decoder_deps="cuda cuvid"
 +vp9_mediacodec_decoder_deps="mediacodec"
 +vp9_rkmpp_decoder_deps="rkmpp"
  vp9_vaapi_encoder_deps="VAEncPictureParameterBufferVP9"
  vp9_vaapi_encoder_select="vaapi_encode"
 -
 -nvenc_h264_encoder_select="h264_nvenc_encoder"
 -nvenc_hevc_encoder_select="hevc_nvenc_encoder"
 +vp9_v4l2m2m_decoder_deps="v4l2_m2m vp9_v4l2_m2m"
 +wmv3_crystalhd_decoder_select="crystalhd"
  
  # parsers
  aac_parser_select="adts_header"



More information about the ffmpeg-cvslog mailing list