ref: 98e134acec4d6f97f94f7d5707a97c3475fcc354
parent: 7d750e27e35ebb6eb007a7290f8b2235b9bb3eff
parent: cf7486676773e737d9538b0aaeaf59bf972b2a30
author: Marco Paniconi <marpan@google.com>
date: Tue Jul 31 22:18:47 EDT 2018
Merge "vp9: Clamp tx_size in model_rd_large"
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -416,6 +416,9 @@
tx_mode_to_biggest_tx_size[cpi->common.tx_mode]);
}
+ // The code below for setting skip flag assumes tranform size of at least 8x8,
+ // so force this lower limit on transform.
+ if (tx_size < TX_8X8) tx_size = TX_8X8;
xd->mi[0]->tx_size = tx_size;
if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && x->zero_temp_sad_source &&