diff options
Diffstat (limited to 'vp9/encoder/vp9_ratectrl.c')
-rw-r--r-- | vp9/encoder/vp9_ratectrl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index e3d1b3713..4b30ca7a8 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -1599,7 +1599,7 @@ void vp9_rc_postencode_update(VP9_COMP *cpi, uint64_t bytes_used) { // If second (long term) temporal reference is used for SVC, // update the golden frame counter, only for base temporal layer. - if (cpi->use_svc && cpi->svc.use_longterm_ref_current_layer && + if (cpi->use_svc && cpi->svc.use_gf_temporal_ref_current_layer && cpi->svc.temporal_layer_id == 0) { if (cpi->refresh_golden_frame) rc->frames_since_golden = 0; @@ -1875,7 +1875,7 @@ void vp9_rc_get_svc_params(VP9_COMP *cpi) { // If long term termporal feature is enabled, set the period of the update. // The update/refresh of this reference frame is always on base temporal // layer frame. - if (svc->use_longterm_ref_current_layer && svc->temporal_layer_id == 0) { + if (svc->use_gf_temporal_ref_current_layer && svc->temporal_layer_id == 0) { if (svc->layer_context[svc->temporal_layer_id].is_key_frame) { // On key frame we update the buffer index used for long term reference. // Use the alt_ref since it is not used or updated on key frames. @@ -1883,7 +1883,7 @@ void vp9_rc_get_svc_params(VP9_COMP *cpi) { cpi->ext_refresh_alt_ref_frame = 1; if (svc->number_spatial_layers == 3) index = svc->spatial_layer_id - 1; assert(index >= 0); - cpi->alt_fb_idx = svc->buffer_longterm_ref[index].idx; + cpi->alt_fb_idx = svc->buffer_gf_temporal_ref[index].idx; } else if (rc->frames_till_gf_update_due == 0) { // Set perdiod of next update. Make it a multiple of 10, as the cyclic // refresh is typically ~10%, and we'd like the update to happen after @@ -1895,7 +1895,7 @@ void vp9_rc_get_svc_params(VP9_COMP *cpi) { cpi->ext_refresh_golden_frame = 1; rc->gfu_boost = DEFAULT_GF_BOOST; } - } else if (!svc->use_longterm_ref) { + } else if (!svc->use_gf_temporal_ref) { rc->frames_till_gf_update_due = INT_MAX; rc->baseline_gf_interval = INT_MAX; } |