diff options
author | Ganesh Ajjanagadde <gajjanag@gmail.com> | 2016-03-08 22:08:29 -0500 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanag@gmail.com> | 2016-03-10 21:29:56 -0500 |
commit | 66edd8656b851a0c85ba25ec293cc66192c363ae (patch) | |
tree | d7138925f9e98a269891dea1e6ede48372e86f6e /libavcodec/jfdctint_template.c | |
parent | b2ab3398f59ed18a565063584f961ff84484d699 (diff) | |
download | ffmpeg-66edd8656b851a0c85ba25ec293cc66192c363ae.tar.gz |
lavc/lpc: exploit even symmetry of window function
Yields 2x improvement in function performance, and boosts aac encoding
speed by ~ 4% overall. Sample benchmark (Haswell+GCC under -march=native):
after:
ffmpeg -i sin.flac -acodec aac -y sin_new.aac 5.22s user 0.03s system 105% cpu 4.970 total
before:
ffmpeg -i sin.flac -acodec aac -y sin_new.aac 5.40s user 0.05s system 105% cpu 5.162 total
Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanag@gmail.com>
Diffstat (limited to 'libavcodec/jfdctint_template.c')
0 files changed, 0 insertions, 0 deletions