Clean up 4x4 coefficient decoding code.
authorRonald S. Bultje <rbultje@google.com>
Sat, 8 Dec 2012 00:26:25 +0000 (16:26 -0800)
committerRonald S. Bultje <rbultje@google.com>
Sat, 8 Dec 2012 00:27:07 +0000 (16:27 -0800)
commitfbf052df4246bb4886d055f0fcda7c97de90d360
treee1426ca74cc219eb9d0e7714794f5549fd85b12d
parent885cf816ebb85ad795d7a21c15103e734eaa1bcd
Clean up 4x4 coefficient decoding code.

Don't use vp9_decode_coefs_4x4() for 2nd order DC or luma blocks. The
code introduces some overhead which is unnecessary for these cases.
Also, remove variable declarations that are only used once, remove
magic offsets into the coefficient buffer (use xd->block[i].qcoeff
instead of xd->qcoeff + magic_offset), and fix a few Google Style
Guide violations.

Change-Id: I0ae653fd80ca7f1e4bccd87ecef95ddfff8f28b4
vp9/decoder/vp9_detokenize.c