[FFmpeg-cvslog] x86/tx_float: add missing FF_TX_OUT_OF_PLACE flag to functions

Lynne git at videolan.org
Thu Jan 27 03:19:53 EET 2022


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Thu Jan 27 02:11:04 2022 +0100| [6c397f6bb583141b7fcb7b8c0463b03c97360233] | committer: Lynne

x86/tx_float: add missing FF_TX_OUT_OF_PLACE flag to functions

This caused smaller length dedicated transforms to not be picked up.

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

 libavutil/x86/tx_float_init.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/x86/tx_float_init.c b/libavutil/x86/tx_float_init.c
index 32843b66a4..2bc0f4c52c 100644
--- a/libavutil/x86/tx_float_init.c
+++ b/libavutil/x86/tx_float_init.c
@@ -67,8 +67,8 @@ static const FFTXCodelet ff_tx_ ##fn## _def = {                                \
 
 #define DECL_SR_CD_DEF(fn_name, len, init_fn, fn_prio, cpu, fn_flags)          \
     DECL_CD_DEF(fn_name, FFT, len, len, 2, 0,                                  \
-                   fft_sr_codelet_init_ ##init_fn, fn_prio,                    \
-                   AV_CPU_FLAG_ ##cpu, fn_flags)                               \
+                fft_sr_codelet_init_ ##init_fn, fn_prio,                       \
+                AV_CPU_FLAG_ ##cpu, FF_TX_OUT_OF_PLACE | fn_flags)
 
 DECL_SR_CD_DEF(fft2_float_sse3,      2, b0_i0, 128, SSE3, AV_TX_INPLACE)
 DECL_SR_CD_DEF(fft2_ns_float_sse3,   2, b8_i0, 192, SSE3, AV_TX_INPLACE | FF_TX_PRESHUFFLE)



More information about the ffmpeg-cvslog mailing list