summaryrefslogtreecommitdiff
path: root/vpx/vpx_ext_ratectrl.h
diff options
context:
space:
mode:
authorCheng Chen <chengchen@google.com>2022-06-06 15:46:41 -0700
committerCheng Chen <chengchen@google.com>2022-06-06 22:38:10 -0700
commit7bb4bd36122e55236148190625507efc90ec5b75 (patch)
treeeb118bc028bc2819de2ab8fc0b79648213ff87e1 /vpx/vpx_ext_ratectrl.h
parentb21634073652cb7e73e52168dc2fa9c1b9a30adf (diff)
downloadlibvpx-7bb4bd36122e55236148190625507efc90ec5b75.tar
libvpx-7bb4bd36122e55236148190625507efc90ec5b75.tar.gz
libvpx-7bb4bd36122e55236148190625507efc90ec5b75.tar.bz2
libvpx-7bb4bd36122e55236148190625507efc90ec5b75.zip
L2E: rename 'gop_index' to 'gop_global_index'
'gop_index' has already been used in vpx_rc_encodeframe_info_t, which represents the frame index inside the current group of picture (gop). We therefore use 'gop_global_index' to represent the index of the current gop to avoid duplicate names. Change-Id: I3eb8987dd878f650649b013e0036e23d0846b5f0
Diffstat (limited to 'vpx/vpx_ext_ratectrl.h')
-rw-r--r--vpx/vpx_ext_ratectrl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vpx/vpx_ext_ratectrl.h b/vpx/vpx_ext_ratectrl.h
index c3feac55e..6e41abaf4 100644
--- a/vpx/vpx_ext_ratectrl.h
+++ b/vpx/vpx_ext_ratectrl.h
@@ -81,7 +81,7 @@ typedef struct vpx_rc_encodeframe_info {
int show_index; /**< display index, starts from zero*/
int coding_index; /**< coding index, starts from zero*/
/*!
- * index in group of picture, starts from zero.
+ * index of the current frame in this group of picture, starts from zero.
*/
int gop_index;
int ref_frame_coding_indexes[3]; /**< three reference frames' coding indices*/
@@ -323,7 +323,7 @@ typedef struct vpx_rc_gop_info {
* The index of the current gop, starts from zero, resets to zero
* when a keyframe is set.
*/
- int gop_index;
+ int gop_global_index;
} vpx_rc_gop_info_t;
/*!\brief The decision made by the external rate control model to set the