[FFmpeg-cvslog] x86/takdsp: add missing wrappers to AVX2 functions
James Almer
git at videolan.org
Tue Dec 26 03:31:02 EET 2023
ffmpeg | branch: master | James Almer <jamrial at 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 <jamrial at 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
More information about the ffmpeg-cvslog
mailing list