diff options
author | Lynne <dev@lynne.ee> | 2022-11-19 00:47:45 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-11-24 15:58:34 +0100 |
commit | 87bae6b0189d5cb71b836890078f96a4d1abd277 (patch) | |
tree | 83f30f5861f5d94cbef297540d8c6e4b96ab8366 /libavutil/aarch64 | |
parent | 1c8d77a2bfa239621b63c4553c6221560b1ee298 (diff) | |
download | ffmpeg-87bae6b0189d5cb71b836890078f96a4d1abd277.tar.gz |
lavu/tx: refactor to explicitly track and convert lookup table order
Necessary for generalizing PFAs.
Diffstat (limited to 'libavutil/aarch64')
-rw-r--r-- | libavutil/aarch64/tx_float_init.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavutil/aarch64/tx_float_init.c b/libavutil/aarch64/tx_float_init.c index e7b73b4bf9..8300472c4c 100644 --- a/libavutil/aarch64/tx_float_init.c +++ b/libavutil/aarch64/tx_float_init.c @@ -37,12 +37,11 @@ static av_cold int neon_init(AVTXContext *s, const FFTXCodelet *cd, uint64_t flags, FFTXCodeletOptions *opts, int len, int inv, const void *scale) { - const int inv_lookup = opts ? opts->invert_lookup : 1; ff_tx_init_tabs_float(len); if (cd->max_len == 2) - return ff_tx_gen_ptwo_revtab(s, inv_lookup); + return ff_tx_gen_ptwo_revtab(s, opts); else - return ff_tx_gen_split_radix_parity_revtab(s, len, inv, inv_lookup, 8, 0); + return ff_tx_gen_split_radix_parity_revtab(s, len, inv, opts, 8, 0); } const FFTXCodelet * const ff_tx_codelet_list_float_aarch64[] = { |