[FFmpeg-cvslog] configure: check for nvdec/cuvid AV1 support

Timo Rothenpieler git at videolan.org
Fri Oct 16 00:27:33 EEST 2020


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Thu Oct 15 23:25:05 2020 +0200| [0a31d57a569821fec36a12f0d8ade7e1fa4c0a05] | committer: Timo Rothenpieler

configure: check for nvdec/cuvid AV1 support

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

 configure | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 273ff4b2c9..8e451ca641 100755
--- a/configure
+++ b/configure
@@ -3052,7 +3052,7 @@ nvenc_encoder_deps="nvenc"
 
 aac_mf_encoder_deps="mediafoundation"
 ac3_mf_encoder_deps="mediafoundation"
-av1_cuvid_decoder_deps="cuvid"
+av1_cuvid_decoder_deps="cuvid CUVIDAV1PICPARAMS"
 h263_v4l2m2m_decoder_deps="v4l2_m2m h263_v4l2_m2m"
 h263_v4l2m2m_encoder_deps="v4l2_m2m h263_v4l2_m2m"
 h264_amf_encoder_deps="amf"
@@ -6750,6 +6750,10 @@ void f(void) { struct { const GUID guid; } s[] = { { NV_ENC_PRESET_HQ_GUID } };
 int main(void) { return 0; }
 EOF
 
+if enabled_any nvdec cuvid; then
+    check_type "ffnvcodec/dynlink_cuda.h ffnvcodec/dynlink_cuviddec.h" "CUVIDAV1PICPARAMS"
+fi
+
 enabled amf &&
     check_cpp_condition amf "AMF/core/Version.h" \
         "(AMF_VERSION_MAJOR << 48 | AMF_VERSION_MINOR << 32 | AMF_VERSION_RELEASE << 16 | AMF_VERSION_BUILD_NUM) >= 0x0001000400090000"



More information about the ffmpeg-cvslog mailing list