shithub: libvpx

Download patch

ref: a5494e3376186b7764ce3789b858e95e642cbd06
parent: 51d933769f7b0afca60be79eef15c3edf0901967
author: Jingning Han <[email protected]>
date: Mon Aug 20 05:11:50 EDT 2018

Add a comment in init_gop_frames()

Make the meaning of the operations therein clearer.

Change-Id: I0dce92a4c14218307df098e3da7a1c7cc45008a7

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -5512,6 +5512,9 @@
     ++*tpl_group_frames;
     lst_index = frame_idx;
 
+    // The length of group of pictures is baseline_gf_interval, plus the
+    // beginning golden frame from last GOP, plus the last overlay frame in
+    // the same GOP.
     if (frame_idx == cpi->rc.baseline_gf_interval + 1) break;
   }