shithub: libvpx

Download patch

ref: 5ed806a60837deda187d9ea98c38b7596cb70724
parent: 94968c6d1470ec0e08a3eeb011d661bcf1915b21
author: James Zern <jzern@google.com>
date: Sat Aug 16 13:15:27 EDT 2014

vp9_pickmode: move PRED_BUFFER definition to .c

Change-Id: I3737772fe53f9885c82e2ac4c1af478ab951c16c

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -28,6 +28,12 @@
 #include "vp9/encoder/vp9_ratectrl.h"
 #include "vp9/encoder/vp9_rd.h"
 
+typedef struct {
+  uint8_t *data;
+  int stride;
+  int in_use;
+} PRED_BUFFER;
+
 static int mv_refs_rt(const VP9_COMMON *cm, const MACROBLOCKD *xd,
                        const TileInfo *const tile,
                        MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame,
--- a/vp9/encoder/vp9_pickmode.h
+++ b/vp9/encoder/vp9_pickmode.h
@@ -17,12 +17,6 @@
 extern "C" {
 #endif
 
-typedef struct {
-  uint8_t *data;
-  int stride;
-  int in_use;
-} PRED_BUFFER;
-
 void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
                          const struct TileInfo *const tile,
                          int mi_row, int mi_col,