ref: e319e4bfa6b54fb66b6fbc90923d0a96fd8900d9
parent: 0a103ae999a84ec2e09ff1f12353b5323d980ad2
parent: 6bebe65118b43dde3a170c95e35e047450351368
author: Minghai Shang <minghai@google.com>
date: Wed Jun 25 06:31:21 EDT 2014
Merge "[spatial svc]Don't skip motion search in first pass encoding"
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -607,7 +607,8 @@
&unscaled_last_source_buf_2d);
// TODO(pengchong): Replace the hard-coded threshold
- if (raw_motion_error > 25) {
+ if (raw_motion_error > 25 ||
+ (cpi->use_svc && cpi->svc.number_temporal_layers == 1)) {
// Test last reference frame using the previous best mv as the
// starting point (best reference) for the search.
first_pass_motion_search(cpi, x, &best_ref_mv.as_mv, &mv.as_mv,