Restructure vp9_decode_mb_tokens_8x8() a bit.
authorRonald S. Bultje <rbultje@google.com>
Fri, 23 Nov 2012 17:43:13 +0000 (09:43 -0800)
committerRonald S. Bultje <rbultje@google.com>
Fri, 23 Nov 2012 17:43:13 +0000 (09:43 -0800)
commit9970d8b66203b4cb50902ea59b083aa28a5c1f7d
tree5928cce5efbb4bf04ae28dd06f79c5c2bdc55f43
parentf090b6b47b66b556a0cb8ed8fa52e2fef8dc0b76
Restructure vp9_decode_mb_tokens_8x8() a bit.

Don't declare variables if they only ever have a single value and are
used only as argument to another function call; instead, just hardcode
the value in the function call directly. Split out UV and Y coefficient
loops for clarity. Use xd->block[].qcoeff instead of xd->qcoeff + magic
to remove use of magic offset variables.

Change-Id: I5b17eda1bb666c69c2b7ea957d5525cd78192e33
vp9/decoder/detokenize.c