ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Mon Dec 25 22:31:15 
2023 -0300| [4fee63b241e0dd254436bf38df8b0635b2b666d8] | committer: James Almer

x86/takdsp: add missing wrappers to AVX2 functions

Fixes compilation with old yasm.

Signed-off-by: James Almer <jamr...@gmail.com>

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

 libavcodec/x86/takdsp.asm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/x86/takdsp.asm b/libavcodec/x86/takdsp.asm
index d55c5f39aa..c9aec57114 100644
--- a/libavcodec/x86/takdsp.asm
+++ b/libavcodec/x86/takdsp.asm
@@ -90,8 +90,10 @@ cglobal tak_decorrelate_sm, 3, 3, 6, p1, p2, length
 
 INIT_XMM sse2
 TAK_DECORRELATE
+%if HAVE_AVX2_EXTERNAL
 INIT_YMM avx2
 TAK_DECORRELATE
+%endif
 
 %macro TAK_DECORRELATE_SF 0
 cglobal tak_decorrelate_sf, 3, 3, 5, p1, p2, length, dshift, dfactor
@@ -125,5 +127,7 @@ cglobal tak_decorrelate_sf, 3, 3, 5, p1, p2, length, 
dshift, dfactor
 
 INIT_XMM sse4
 TAK_DECORRELATE_SF
+%if HAVE_AVX2_EXTERNAL
 INIT_YMM avx2
 TAK_DECORRELATE_SF
+%endif

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to