Set transform size correctly for non-tx_select splitmv/i4x4_pred.

Fixes mismatch in keyframes with sb8x8 experiment enabled.

Change-Id: Id44c25e1cd32be5c6543ed8cd840a5b0c8e726f1
This commit is contained in:
Ronald S. Bultje 2013-05-02 12:26:00 -07:00
parent 6c8071b45c
commit 06df1f82fb

View File

@ -2606,6 +2606,9 @@ static void encode_superblock(VP9_COMP *cpi, TOKENEXTRA **t,
sz = TX_16X16;
if (sz == TX_16X16 && bsize < BLOCK_SIZE_MB16X16)
sz = TX_8X8;
if (sz == TX_8X8 && (xd->mode_info_context->mbmi.mode == SPLITMV ||
xd->mode_info_context->mbmi.mode == I4X4_PRED))
sz = TX_4X4;
for (y = 0; y < bh; y++) {
for (x = 0; x < bw; x++) {