]> granicus.if.org Git - libvpx/commitdiff
Fix slightly quality drop caused at speed 1.
authorRonald S. Bultje <rbultje@google.com>
Thu, 18 Jul 2013 22:17:02 +0000 (15:17 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Fri, 19 Jul 2013 00:52:08 +0000 (17:52 -0700)
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

vp9/encoder/vp9_encodeframe.c

index 3c6ece3e0db25288eeb1e60826396ba638e092c0..70c64eedae2ed567833c9c0c86c238966c4bd360 100644 (file)
@@ -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));
         }