aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-09-10 02:26:49 +0200
committerLynne <dev@lynne.ee>2022-09-10 02:37:14 +0200
commit645a1f4422ad9c8c954e7c42bef2281cac96ab18 (patch)
tree4f465a0f64a889adf55d92a8ef7b46d6d2c7ea01
parent8c283e8fe631135a0c36d50f9c8d558f43cfef7b (diff)
downloadffmpeg-645a1f4422ad9c8c954e7c42bef2281cac96ab18.tar.gz
lavu/tx: add the inplace flag to PFA FFTs
They support in-place, because they have to use a temporary buffer.
-rw-r--r--libavutil/tx_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/tx_template.c b/libavutil/tx_template.c
index 35b61fa477..542c15e480 100644
--- a/libavutil/tx_template.c
+++ b/libavutil/tx_template.c
@@ -836,7 +836,7 @@ static const FFTXCodelet TX_NAME(ff_tx_fft_pfa_##N##xM_def) = { \
.name = TX_NAME_STR("fft_pfa_" #N "xM"), \
.function = TX_NAME(ff_tx_fft_pfa_##N##xM), \
.type = TX_TYPE(FFT), \
- .flags = AV_TX_UNALIGNED | FF_TX_OUT_OF_PLACE, \
+ .flags = AV_TX_UNALIGNED | AV_TX_INPLACE | FF_TX_OUT_OF_PLACE, \
.factors = { N, TX_FACTOR_ANY }, \
.min_len = N*2, \
.max_len = TX_LEN_UNLIMITED, \