From 6dcba16d7dbc941b54a11889099e48742a3869dc Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Mon, 17 Sep 2018 11:46:17 -0700 Subject: 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 --- vp9/common/vp9_onyxc_int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vp9') 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; -- cgit v1.2.3