Implement tx_select for superblock encoding.
authorRonald S. Bultje <rbultje@google.com>
Thu, 8 Nov 2012 19:03:00 +0000 (11:03 -0800)
committerRonald S. Bultje <rbultje@google.com>
Thu, 8 Nov 2012 19:03:00 +0000 (11:03 -0800)
commit1d4fbeb32aa96cf328ee5ca362960b7f9f4df510
tree60e62dc2580552d702aa4bdb7580fe1626f9c512
parent8959c8b11d11ad44c7bf0cc49e54974e161d374c
Implement tx_select for superblock encoding.

Also split superblock handling code out of decode_macroblock() into
a new function decode_superblock(), for easier readability.

Derf +0.05%, HD +0.2%, STDHD +0.1%. We can likely get further gains
by allowing to select mb_skip_coeff for a subset of the complete SB
or something along those lines, because although this change allows
coding smaller transforms for bigger predictors, it increases the
overhead of coding EOBs to skip the parts where the residual is
near-zero, and thus the overall gain is not as high as we'd expect.

Change-Id: I552ce1286487267f504e3090b683e15515791efa
vp9/decoder/decodemv.c
vp9/decoder/decodframe.c
vp9/decoder/dequantize.h
vp9/decoder/idct_blk.c
vp9/encoder/bitstream.c
vp9/encoder/encodeframe.c
vp9/encoder/encodemb.c
vp9/encoder/encodemb.h
vp9/encoder/rdopt.c