diff options
author | Lynne <dev@lynne.ee> | 2022-09-24 06:49:16 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-11-24 15:58:28 +0100 |
commit | 45bd4bf79f9b69ac4cec1bd00c433407b3aa7ae4 (patch) | |
tree | deb976fecdd11ee185b346cb02138911d77080e6 /libavutil/tx.c | |
parent | 79f11e24098d6392015656897bc7842c9d2aea43 (diff) | |
download | ffmpeg-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.c | 4 |
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); |