shithub: libvpx

Download patch

ref: d1607bc674dafb289af7af78bf84313ebc5614cc
parent: f67b4665ff5d42fa8ec3aec2175c0e826d46f93f
author: Jingning Han <jingning@google.com>
date: Thu Sep 13 08:24:32 EDT 2018

Rename set_arf_sign_bias() to set_ref_sign_bias

Properly reflect its functionality that assigns the reference
frame sign bias to all the reference frames.

Change-Id: I7b597feeb06acd4c3a004cd51e4b285357315360

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -4370,7 +4370,7 @@
   }
 }
 
-static void set_arf_sign_bias(VP9_COMP *cpi) {
+static void set_ref_sign_bias(VP9_COMP *cpi) {
   VP9_COMMON *const cm = &cpi->common;
   RefCntBuffer *const ref_buffer = get_ref_cnt_buffer(cm, cm->new_fb_idx);
   const int cur_frame_index = ref_buffer->frame_index;
@@ -4646,7 +4646,7 @@
     set_frame_index(cpi, cm);
 
     // Set the arf sign bias for this frame.
-    set_arf_sign_bias(cpi);
+    set_ref_sign_bias(cpi);
   }
 
   // Set default state for segment based loop filter update flags.