summaryrefslogtreecommitdiff
path: root/vp9
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2018-09-17 11:46:17 -0700
committerJingning Han <jingning@google.com>2018-09-17 11:46:17 -0700
commit6dcba16d7dbc941b54a11889099e48742a3869dc (patch)
tree7ad431a1244f26047df0957f2efa540d6eefd034 /vp9
parent940a3c38340857dd44cc6b4079506031be1e3f41 (diff)
downloadlibvpx-6dcba16d7dbc941b54a11889099e48742a3869dc.tar
libvpx-6dcba16d7dbc941b54a11889099e48742a3869dc.tar.gz
libvpx-6dcba16d7dbc941b54a11889099e48742a3869dc.tar.bz2
libvpx-6dcba16d7dbc941b54a11889099e48742a3869dc.zip
Add a frame_index entry to RefCntBuffer
This entry will only be effectively used at the encoder side. Adding it to the RefCntBuffer data structure would help make the associated logic a lot simpler. Its effect on the decoder side would be explicitly sent through the bit-stream. Change-Id: I1660dce9e0bb6e28c3315d5e0df6dc4a9298f71f
Diffstat (limited to 'vp9')
-rw-r--r--vp9/common/vp9_onyxc_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h
index c72b6e64f..4cae48531 100644
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -70,6 +70,7 @@ typedef struct {
int mi_rows;
int mi_cols;
uint8_t released;
+ int frame_index;
vpx_codec_frame_buffer_t raw_frame_buffer;
YV12_BUFFER_CONFIG buf;
} RefCntBuffer;