]> granicus.if.org Git - libvpx/commit
Remove special-case inline detokenization in b_pred reconstruction.
authorRonald S. Bultje <rbultje@google.com>
Sat, 17 Nov 2012 06:26:12 +0000 (22:26 -0800)
committerRonald S. Bultje <rbultje@google.com>
Sat, 17 Nov 2012 06:26:12 +0000 (22:26 -0800)
commitf19a1cafed9e3aac536d04773ec20b808b91cd50
treef7eb42b958a84358ffa597188b4a2daac38cbf11
parent0eb5590425112044e86b8a24945b8d20552f0f9f
Remove special-case inline detokenization in b_pred reconstruction.

Just like for all other block modes, b_pred tokens can be read together
before starting macroblock reconstruction. This removes special cases
for b_pred in decode_macroblock() and allows to make decode_coefs_4x4()
static in detokenize.c.

While at it, remove the redundant handling and checking of plane_type
and block_index (i) in decode_coefs_4x4(). Since the function is static,
and is called only from decode_mb_tokens_4x4(), we don't need to worry
that the arguments ever go out of sync.

Change-Id: I2d415da0b51b89d0490a6b9e24cc86363c2090f7
vp9/decoder/decodframe.c
vp9/decoder/detokenize.c
vp9/decoder/detokenize.h