]> granicus.if.org Git - libvpx/commitdiff
Add USE_BUF_FRAME enum to FRAME_UPDATE_TYPE
authorJingning Han <jingning@google.com>
Tue, 21 Aug 2018 16:46:22 +0000 (09:46 -0700)
committerJingning Han <jingning@google.com>
Tue, 21 Aug 2018 16:47:56 +0000 (09:47 -0700)
This enum indicates the use of show existing frame, and conducts
no reference frame buffer update.

Change-Id: I8bf3121376640baf24b580ebea58e9ccbdd641da

vp9/encoder/vp9_firstpass.h

index 271791324cbc9349190cef5740b696696cd619d2..0a7e1adf7d9ac5d2d4e79c2a5d856b3b8e09d402 100644 (file)
@@ -116,12 +116,13 @@ typedef enum {
   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