summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2011-03-07 20:58:37 -0500
committerJohn Koleszar <jkoleszar@google.com>2011-03-07 20:58:37 -0500
commit5d1d9911cbf77f2eb4a1bc30179c0256f0304e12 (patch)
tree99f0aeabae8a3d1f992456c83aebebe114732fc5 /vp8/encoder
parent1016b856d1536e87a71ff4d9cfe8423054b7f559 (diff)
downloadlibvpx-5d1d9911cbf77f2eb4a1bc30179c0256f0304e12.tar
libvpx-5d1d9911cbf77f2eb4a1bc30179c0256f0304e12.tar.gz
libvpx-5d1d9911cbf77f2eb4a1bc30179c0256f0304e12.tar.bz2
libvpx-5d1d9911cbf77f2eb4a1bc30179c0256f0304e12.zip
correct zbin boost for splitmv mode
Disable zbin boost in SPLITMV mode as intended. Was incorrectly looking at vp8_ref_frame_order instead of vp8_mode_order when comparing against SPLITMV. This condition should have always been false, as SPLITMV is not in the range of valid reference frames. Change-Id: I0408cc7595eff68f00efef6d008e79f5b60d14bf
Diffstat (limited to 'vp8/encoder')
-rw-r--r--vp8/encoder/rdopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c
index 8aaca0917..b0dcfe0a4 100644
--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -1968,7 +1968,7 @@ int vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, int
else
cpi->zbin_mode_boost = LF_ZEROMV_ZBIN_BOOST;
}
- else if (vp8_ref_frame_order[mode_index] == SPLITMV)
+ else if (vp8_mode_order[mode_index] == SPLITMV)
cpi->zbin_mode_boost = 0;
else
cpi->zbin_mode_boost = MV_ZBIN_BOOST;