[FFmpeg-devel] [PATCH 1/5] avutil/tx_template: extend to 2M
Michael Niedermayer
michael at niedermayer.cc
Sat Jun 17 01:20:44 EEST 2023
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavutil/tx_template.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/libavutil/tx_template.c b/libavutil/tx_template.c
index 983de75a47..c4ec9502e0 100644
--- a/libavutil/tx_template.c
+++ b/libavutil/tx_template.c
@@ -43,6 +43,10 @@
SR_TABLE(32768) \
SR_TABLE(65536) \
SR_TABLE(131072) \
+ SR_TABLE(262144) \
+ SR_TABLE(524288) \
+ SR_TABLE(1048576) \
+ SR_TABLE(2097152) \
#define SR_TABLE(len) \
TABLE_DEF(len, len/4 + 1);
@@ -717,6 +721,10 @@ DECL_SR_CODELET(16384,8192,4096)
DECL_SR_CODELET(32768,16384,8192)
DECL_SR_CODELET(65536,32768,16384)
DECL_SR_CODELET(131072,65536,32768)
+DECL_SR_CODELET(262144,131072,65536)
+DECL_SR_CODELET(524288,262144,131072)
+DECL_SR_CODELET(1048576,524288,262144)
+DECL_SR_CODELET(2097152,1048576,524288)
static av_cold int TX_NAME(ff_tx_fft_init)(AVTXContext *s,
const FFTXCodelet *cd,
@@ -1947,6 +1955,10 @@ const FFTXCodelet * const TX_NAME(ff_tx_codelet_list)[] = {
&TX_NAME(ff_tx_fft32768_ns_def),
&TX_NAME(ff_tx_fft65536_ns_def),
&TX_NAME(ff_tx_fft131072_ns_def),
+ &TX_NAME(ff_tx_fft262144_ns_def),
+ &TX_NAME(ff_tx_fft524288_ns_def),
+ &TX_NAME(ff_tx_fft1048576_ns_def),
+ &TX_NAME(ff_tx_fft2097152_ns_def),
/* Prime factor codelets */
&TX_NAME(ff_tx_fft3_ns_def),
--
2.17.1
More information about the ffmpeg-devel
mailing list