diff options
author | Ronald S. Bultje <rbultje@google.com> | 2013-02-06 17:16:36 -0800 |
---|---|---|
committer | Ronald S. Bultje <rbultje@google.com> | 2013-02-08 16:32:24 -0800 |
commit | 639b863d2276d8100a5e585fa5ab9bf2d3983946 (patch) | |
tree | 1fc9f23cf7914295a5646cb37116d542c54d7431 /libmkv | |
parent | 6dfc95fe63a52945350a7c8a234e87a4a55645db (diff) | |
download | libvpx-639b863d2276d8100a5e585fa5ab9bf2d3983946.tar libvpx-639b863d2276d8100a5e585fa5ab9bf2d3983946.tar.gz libvpx-639b863d2276d8100a5e585fa5ab9bf2d3983946.tar.bz2 libvpx-639b863d2276d8100a5e585fa5ab9bf2d3983946.zip |
Make cost_coeffs() more efficient.
Cache the constant offset in one variable to prevent re-loading that
in each loop iteration, and mark the function as inline so we can use
the fact that the transform size is always known in the caller.
Almost 1% faster encoding overall.
Change-Id: Id78325a60b025057d8f4ecd9003a74086ccbf85a
Diffstat (limited to 'libmkv')
0 files changed, 0 insertions, 0 deletions