ref: 06df1f82fbec9edfdf596d86f5dd2e7ecba7de7e
parent: 6c8071b45c6a6fab52cf71354e55f4020d27d050
author: Ronald S. Bultje <[email protected]>
date: Thu May 2 08:26:00 EDT 2013
Set transform size correctly for non-tx_select splitmv/i4x4_pred. Fixes mismatch in keyframes with sb8x8 experiment enabled. Change-Id: Id44c25e1cd32be5c6543ed8cd840a5b0c8e726f1
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -2606,6 +2606,9 @@
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++) {