summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorangiebird <angiebird@google.com>2019-10-15 15:00:29 -0700
committerangiebird <angiebird@google.com>2019-10-16 11:38:53 -0700
commitab7974d36df5c548c8f3549545d12f42e2b274ce (patch)
treea2a14fd730d1588f286a71a9d62c1ec93bb4a8f5
parent10eefccdc307fa7be48ab256ed855575ffd2179a (diff)
downloadlibvpx-ab7974d36df5c548c8f3549545d12f42e2b274ce.tar
libvpx-ab7974d36df5c548c8f3549545d12f42e2b274ce.tar.gz
libvpx-ab7974d36df5c548c8f3549545d12f42e2b274ce.tar.bz2
libvpx-ab7974d36df5c548c8f3549545d12f42e2b274ce.zip
Rename num_show_frames by num_coding_frames
Change-Id: I2acc7d6bde2ec2fae4460869663db1e8f6c576fe
-rw-r--r--vp9/encoder/vp9_firstpass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c
index d1e26b523..76c45b81c 100644
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2757,8 +2757,8 @@ static void define_gf_group(VP9_COMP *cpi, int gf_start_show_idx) {
// If the first frame is a key frame or the overlay from a previous arf then
// the error score / cost of this frame has already been accounted for.
int start_idx = arf_active_or_kf ? 1 : 0;
- int num_show_frames = i;
- for (j = start_idx; j < num_show_frames; ++j) {
+ int num_coding_frames = i;
+ for (j = start_idx; j < num_coding_frames; ++j) {
int show_idx = gf_start_show_idx + j;
const FIRSTPASS_STATS *frame_stats =
fps_get_frame_stats(first_pass_info, show_idx);