diff options
author | James Almer <jamrial@gmail.com> | 2023-12-25 22:31:15 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-12-25 22:31:15 -0300 |
commit | 4fee63b241e0dd254436bf38df8b0635b2b666d8 (patch) | |
tree | 226c1442f8166b4567cf407c49c0c68412ba071a /libavcodec/x86 | |
parent | 6066c430e33b4cbf5dc8ff8b3a6d149f51d20300 (diff) | |
download | ffmpeg-4fee63b241e0dd254436bf38df8b0635b2b666d8.tar.gz |
x86/takdsp: add missing wrappers to AVX2 functions
Fixes compilation with old yasm.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/takdsp.asm | 4 |
1 files changed, 4 insertions, 0 deletions
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 |