summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-01-27 02:11:04 +0100
committerLynne <dev@lynne.ee>2022-01-27 02:18:35 +0100
commit6c397f6bb583141b7fcb7b8c0463b03c97360233 (patch)
tree6052a8c052c2dc530bee38caf8d4c0f8f47a61bb
parent008c131d681a764cc77ab3713ab97efd279fcbcc (diff)
x86/tx_float: add missing FF_TX_OUT_OF_PLACE flag to functions
This caused smaller length dedicated transforms to not be picked up.
-rw-r--r--libavutil/x86/tx_float_init.c4
1 files 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)