summaryrefslogtreecommitdiff
path: root/vp9/encoder/x86
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@google.com>2013-02-06 17:16:36 -0800
committerRonald S. Bultje <rbultje@google.com>2013-02-08 16:32:24 -0800
commit639b863d2276d8100a5e585fa5ab9bf2d3983946 (patch)
tree1fc9f23cf7914295a5646cb37116d542c54d7431 /vp9/encoder/x86
parent6dfc95fe63a52945350a7c8a234e87a4a55645db (diff)
downloadlibvpx-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 'vp9/encoder/x86')
0 files changed, 0 insertions, 0 deletions