diff options
author | Lynne <dev@lynne.ee> | 2022-08-16 01:11:40 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-08-16 01:22:38 +0200 |
commit | ae66a9db7bc19f00daaad96b3c15cbffe6280a93 (patch) | |
tree | 1c044b8f6d388b624308d8f1be559dfc9ded6708 /libavcodec/libaomenc.c | |
parent | 412922cc6fa790897ef6bb2be5d6f9a5f030754d (diff) | |
download | ffmpeg-ae66a9db7bc19f00daaad96b3c15cbffe6280a93.tar.gz |
lavu/tx: optimize and simplify inverse MDCTs
Convert the input from a scatter to a gather instead,
which is faster and better for SIMD.
Also, add a pre-shuffled exptab version to avoid
gathering there at all. This doubles the exptab size,
but the speedup makes it worth it. In SIMD, the
exptab will likely be purged to a higher cache
anyway because of the FFT in the middle, and
the amount of loads stays identical.
For a 960-point inverse MDCT, the speedup is 10%.
This makes it possible to write sane and fast SIMD
versions of inverse MDCTs.
Diffstat (limited to 'libavcodec/libaomenc.c')
0 files changed, 0 insertions, 0 deletions