summaryrefslogtreecommitdiff
path: root/vp9/common
diff options
context:
space:
mode:
authorAngie Chiang <angiebird@google.com>2020-10-16 18:36:09 -0700
committerAngie Chiang <angiebird@google.com>2020-10-20 17:14:10 -0700
commit9bfdf4a9d0c35706012fdcf7657d57c68bca0eb8 (patch)
treeb0ae3f7705b6a5cf20512c796662291fccc66c1e /vp9/common
parent90271b22016b89a115206a38ab4790a76cce3553 (diff)
downloadlibvpx-9bfdf4a9d0c35706012fdcf7657d57c68bca0eb8.tar
libvpx-9bfdf4a9d0c35706012fdcf7657d57c68bca0eb8.tar.gz
libvpx-9bfdf4a9d0c35706012fdcf7657d57c68bca0eb8.tar.bz2
libvpx-9bfdf4a9d0c35706012fdcf7657d57c68bca0eb8.zip
Add ref frame info to vpx_rc_encodeframe_info_t
Bug: webm:1707 Change-Id: I2ff9e54a9c8ae535628c1c471a2d078652f49a31
Diffstat (limited to 'vp9/common')
-rw-r--r--vp9/common/vp9_onyxc_int.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h
index ea47218b8..1cfc12f6f 100644
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -75,12 +75,10 @@ typedef struct {
// TODO(angiebird): Set frame_index/frame_coding_index on the decoder side
// properly.
- int frame_index; // Display order in the video, it's equivalent to the
- // show_idx defined in EncodeFrameInfo.
-#if CONFIG_RATE_CTRL
+ int frame_index; // Display order in the video, it's equivalent to the
+ // show_idx defined in EncodeFrameInfo.
int frame_coding_index; // The coding order (starting from zero) of this
// frame.
-#endif // CONFIG_RATE_CTRL
vpx_codec_frame_buffer_t raw_frame_buffer;
YV12_BUFFER_CONFIG buf;
} RefCntBuffer;