diff options
author | Yunqing Wang <yunqingwang@google.com> | 2015-04-30 11:03:06 -0700 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2015-04-30 11:03:06 -0700 |
commit | 4907c299047cee6d1d45928d41c69984d49ee339 (patch) | |
tree | f1835fe2d6ff3b9d9e7c54f62fcbdb285be3b307 /vp9/encoder | |
parent | 3a7bc161560d9aaeaadf3a6efeb19e1f0768e4e2 (diff) | |
download | libvpx-4907c299047cee6d1d45928d41c69984d49ee339.tar libvpx-4907c299047cee6d1d45928d41c69984d49ee339.tar.gz libvpx-4907c299047cee6d1d45928d41c69984d49ee339.tar.bz2 libvpx-4907c299047cee6d1d45928d41c69984d49ee339.zip |
Reduce intra_cost_penalty for BLOCK_8X8
This patch reduced the BLOCK_8X8's intra_cost_penalty, which
allows 8x8 blocks to conduct intra mode search. Borg test
result(rtc set): 0.077% PSNR gain, 0.228% SSIM gain. No speed
changes.
Change-Id: Icfe90c4f6969de24bda8ecacbd3da50330bf22b2
Diffstat (limited to 'vp9/encoder')
-rw-r--r-- | vp9/encoder/vp9_pickmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 85d7fded7..c32a0dfcd 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -1046,7 +1046,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, // 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, |