From: Ronald S. Bultje Date: Thu, 18 Jul 2013 22:17:02 +0000 (-0700) Subject: Fix slightly quality drop caused at speed 1. X-Git-Tag: v1.3.0~806^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4686c589efa521f6f5f029151765287e28f207b;p=libvpx Fix slightly quality drop caused at speed 1. We would skip the rectangular blocks for sub8x8 partitions because we would conclude that PARTITION_NONE was better than PARTITION_SPLIT, however, that conclusion was made before we actually really tested PARTITION_SPLIT. Change-Id: I8fa91e59894badc1d8cee3ba8a49e40ae4c4a489 --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 3c6ece3e0..70c64eeda 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -1674,6 +1674,7 @@ static void rd_pick_partition(VP9_COMP *cpi, TOKENEXTRA **tp, int mi_row, RDCOST(x->rdmult, x->rddiv, srate, sdist)) { srate = r4; sdist = d4; + larger_is_better = 0; *(get_sb_partitioning(x, bsize)) = subsize; best_rd = MIN(best_rd, RDCOST(x->rdmult, x->rddiv, r4, d4)); }