Commit 6bebe651 authored by Minghai Shang's avatar Minghai Shang Committed by Gerrit Code Review

[spatial svc]Don't skip motion search in first pass encoding

Change-Id: Ia6bcdaf5a5b80e68176f60d8d00e9b5cf3f9bfe3
parent 5e7242df
......@@ -607,7 +607,8 @@ void vp9_first_pass(VP9_COMP *cpi) {
&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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment