ref: d31256cd3803891c7b2ffc10acaa6c48708254f4
parent: 57fefd5f9a336f907d9ca2246e2d3437ec40b936
parent: 4907c299047cee6d1d45928d41c69984d49ee339
author: Yunqing Wang <yunqingwang@google.com>
date: Fri May 1 14:29:38 EDT 2015
Merge "Reduce intra_cost_penalty for BLOCK_8X8"
--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1046,7 +1046,7 @@
// Reduce the intra cost penalty for small blocks (<=16x16).
const int reduction_fac =
(cpi->sf.partition_search_type == VAR_BASED_PARTITION &&
- bsize <= BLOCK_16X16) ? 2 : 0;
+ bsize <= BLOCK_16X16) ? ((bsize <= BLOCK_8X8) ? 4 : 2) : 0;
const int intra_cost_penalty = vp9_get_intra_cost_penalty(
cm->base_qindex, cm->y_dc_delta_q, cm->bit_depth) >> reduction_fac;
const int64_t inter_mode_thresh = RDCOST(x->rdmult, x->rddiv,