[FFmpeg-cvslog] lavu/tx: add the inplace flag to PFA FFTs

Lynne git at videolan.org
Sat Sep 10 03:37:42 EEST 2022


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Sep 10 02:26:49 2022 +0200| [645a1f4422ad9c8c954e7c42bef2281cac96ab18] | committer: Lynne

lavu/tx: add the inplace flag to PFA FFTs

They support in-place, because they have to use a temporary buffer.

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

 libavutil/tx_template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,                                            \



More information about the ffmpeg-cvslog mailing list