Remove costly memory reads/writes in vp8_reset_mb_tokens_context()
authorYunqing Wang <yunqingwang@google.com>
Fri, 28 May 2010 18:34:39 +0000 (14:34 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 1 Jun 2010 11:59:50 +0000 (07:59 -0400)
commitd33bf3d6649ce049a12fcf7d629e551066f41c47
tree20ad97533a35feb7eebfc10a4cdb9bd46f930a02
parent1689564bb5c0f03bb2f35244bf40bcf58c9fec35
Remove costly memory reads/writes in vp8_reset_mb_tokens_context()

Tests on x86 showed this function costed 2.7% of total decoding time
because of all the memory reads/writes. After modification, it only
costs about 0.7% of decoding time, which gives a 2% gain.

Change-Id: I5003ee30b6dc6dea0bfa42a6ad7e7c22fcc7b215
vp8/decoder/detokenize.c