ref: dcbdab221e5d17927dfe377efb8a4cd54a6cf0f6
parent: 0de8be5a777a76b39d5c201c1b807fae81c9ea9d
author: Jingning Han <jingning@google.com>
date: Tue Aug 21 05:46:22 EDT 2018
Add USE_BUF_FRAME enum to FRAME_UPDATE_TYPE This enum indicates the use of show existing frame, and conducts no reference frame buffer update. Change-Id: I8bf3121376640baf24b580ebea58e9ccbdd641da
--- a/vp9/encoder/vp9_firstpass.h
+++ b/vp9/encoder/vp9_firstpass.h
@@ -116,12 +116,13 @@
GF_UPDATE = 2,
ARF_UPDATE = 3,
OVERLAY_UPDATE = 4,
- BRF_UPDATE = 5, // Backward Reference Frame
- LAST_BIPRED_UPDATE = 6, // Last Bi-predictive Frame
- BIPRED_UPDATE = 7, // Bi-predictive Frame, but not the last one
- INTNL_OVERLAY_UPDATE = 8, // Internal Overlay Frame
- INTNL_ARF_UPDATE = 9, // Internal Altref Frame (candidate for ALTREF2)
- FRAME_UPDATE_TYPES = 10
+ USE_BUF_FRAME = 5, // Use show existing frame, no ref buffer update
+ BRF_UPDATE = 6, // Backward Reference Frame
+ LAST_BIPRED_UPDATE = 7, // Last Bi-predictive Frame
+ BIPRED_UPDATE = 8, // Bi-predictive Frame, but not the last one
+ INTNL_OVERLAY_UPDATE = 9, // Internal Overlay Frame
+ INTNL_ARF_UPDATE = 10, // Internal Altref Frame (candidate for ALTREF2)
+ FRAME_UPDATE_TYPES = 11
} FRAME_UPDATE_TYPE;
#define FC_ANIMATION_THRESH 0.15