shithub: libvpx

Download patch

ref: 7ef16efca12987d5df4036e110e14b4ebdce0cf8
parent: 4d903f47b656a4f7cefb8dafba35a12821c148e3
author: Yaowu Xu <[email protected]>
date: Wed Mar 19 05:40:19 EDT 2014

Remove duplicate declaration

Change-Id: Ic8e52a89e0df816c38cd8ff1b7c53862b9a6dff2

--- a/vp9/common/vp9_enums.h
+++ b/vp9/common/vp9_enums.h
@@ -94,6 +94,12 @@
   SRGB       = 7   // RGB
 } COLOR_SPACE;
 
+typedef enum {
+  VP9_LAST_FLAG = 1 << 0,
+  VP9_GOLD_FLAG = 1 << 1,
+  VP9_ALT_FLAG = 1 << 2,
+} VP9_REFFRAME;
+
 #ifdef __cplusplus
 }  // extern "C"
 #endif
--- a/vp9/decoder/vp9_decoder.h
+++ b/vp9/decoder/vp9_decoder.h
@@ -37,12 +37,6 @@
   int input_partition;
 } VP9D_CONFIG;
 
-typedef enum {
-  VP9_LAST_FLAG = 1,
-  VP9_GOLD_FLAG = 2,
-  VP9_ALT_FLAG = 4
-} VP9_REFFRAME;
-
 typedef struct VP9Decompressor {
   DECLARE_ALIGNED(16, MACROBLOCKD, mb);
 
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -412,12 +412,6 @@
 } VPX_SCALING;
 
 typedef enum {
-  VP9_LAST_FLAG = 1 << 0,
-  VP9_GOLD_FLAG = 1 << 1,
-  VP9_ALT_FLAG = 1 << 2,
-} VP9_REFFRAME;
-
-typedef enum {
   USAGE_LOCAL_FILE_PLAYBACK = 0,
   USAGE_STREAM_FROM_SERVER  = 1,
   USAGE_CONSTRAINED_QUALITY = 2,