summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc_quantization_misc.h
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/aacenc_quantization: Remove always-zero function parameterAndreas Rheinhardt2022-08-051-1/+1
| | | | | | rtz is only ever nonzero for quantize_and_encode_band(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* aacenc: use generational cache instead of resetting.Reimar Döffinger2016-03-081-1/+2
| | | | | | | Approximately 11% faster transcoding from mp3 with default settings. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* AAC encoder: memoize quantize_band_costClaudio Freire2015-10-121-0/+52
The bulk of calls to quantize_band_cost are replaced by a call to a version that memoizes, greatly improving performance, since during coefficient search there is a great deal of repeat work. Memoization cannot always be applied, so do this in a different function, and leave the original as-is.