ref: 6dcba16d7dbc941b54a11889099e48742a3869dc
parent: 940a3c38340857dd44cc6b4079506031be1e3f41
author: Jingning Han <jingning@google.com>
date: Mon Sep 17 07:46:17 EDT 2018
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
--- a/vp9/common/vp9_onyxc_int.h
+++ b/vp9/common/vp9_onyxc_int.h
@@ -70,6 +70,7 @@
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;