diff options
author | Ronald S. Bultje <rbultje@google.com> | 2013-07-18 15:17:02 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2013-07-18 17:52:08 -0700 |
commit | e4686c589efa521f6f5f029151765287e28f207b (patch) | |
tree | f86a01f9ab1f80bb63a22d7cedf291044f484b28 /vp9/encoder/vp9_encodeframe.c | |
parent | 37d901a47adb3531f4cdf8ad094f66a065b75cfe (diff) | |
download | libvpx-e4686c589efa521f6f5f029151765287e28f207b.tar libvpx-e4686c589efa521f6f5f029151765287e28f207b.tar.gz libvpx-e4686c589efa521f6f5f029151765287e28f207b.tar.bz2 libvpx-e4686c589efa521f6f5f029151765287e28f207b.zip |
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
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); } |