ref: f46b66ac83279e5403091d307cd3be7d97059949
parent: 7b93b56ab9b27f3c2a72e05b7ea3b5e85a06f5fa
author: Jerome Jiang <jianj@google.com>
date: Wed Jan 27 04:41:18 EST 2021
svc: turn off use_base_mv on non base layer. Change-Id: I4a9402f468e54c58081c882ed37f59ee0269c0fc
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -7864,7 +7864,7 @@
cm->cur_frame = &pool->frame_bufs[cm->new_fb_idx];
// If the frame buffer for current frame is the same as previous frame, MV in
// the base layer shouldn't be used as it'll cause data race.
- if (cm->cur_frame == cm->prev_frame) {
+ if (cpi->svc.spatial_layer_id > 0 && cm->cur_frame == cm->prev_frame) {
cpi->svc.use_base_mv = 0;
}
// Start with a 0 size frame.