aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tx.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-09-24 06:49:16 +0200
committerLynne <dev@lynne.ee>2022-11-24 15:58:28 +0100
commit45bd4bf79f9b69ac4cec1bd00c433407b3aa7ae4 (patch)
treedeb976fecdd11ee185b346cb02138911d77080e6 /libavutil/tx.c
parent79f11e24098d6392015656897bc7842c9d2aea43 (diff)
downloadffmpeg-45bd4bf79f9b69ac4cec1bd00c433407b3aa7ae4.tar.gz
lavu/tx: generalize single-factor transforms
Not that useful, but it gives us fast small odd-length transforms.
Diffstat (limited to 'libavutil/tx.c')
-rw-r--r--libavutil/tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/tx.c b/libavutil/tx.c
index 556fcbb94b..246a7aa980 100644
--- a/libavutil/tx.c
+++ b/libavutil/tx.c
@@ -121,9 +121,9 @@ int ff_tx_gen_ptwo_revtab(AVTXContext *s, int invert_lookup)
return 0;
}
-int ff_tx_gen_ptwo_inplace_revtab_idx(AVTXContext *s)
+int ff_tx_gen_inplace_map(AVTXContext *s, int len)
{
- int *src_map, out_map_idx = 0, len = s->len;
+ int *src_map, out_map_idx = 0;
if (!s->sub || !s->sub->map)
return AVERROR(EINVAL);