aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_bm3d.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-08-16 01:11:40 +0200
committerLynne <dev@lynne.ee>2022-08-16 01:22:38 +0200
commitae66a9db7bc19f00daaad96b3c15cbffe6280a93 (patch)
tree1c044b8f6d388b624308d8f1be559dfc9ded6708 /libavfilter/vf_bm3d.c
parent412922cc6fa790897ef6bb2be5d6f9a5f030754d (diff)
downloadffmpeg-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 'libavfilter/vf_bm3d.c')
0 files changed, 0 insertions, 0 deletions