shithub: libvpx

Download patch

ref: 1a96edd8917fcbc16f3c0f524c0379aedd9bbcbf
parent: ef750d8472a9cd9cb7dbc9f0bb356e5da8d57e8d
parent: 0271c75afe5ff91239a033965d311743f88c5440
author: Dmitry Kovalev <dkovalev@google.com>
date: Tue May 20 14:32:30 EDT 2014

Merge "Hiding struct diff in *.c file."

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -70,6 +70,12 @@
   128, 128, 128, 128, 128, 128, 128, 128
 };
 
+typedef struct {
+  unsigned int sse;
+  int sum;
+  unsigned int var;
+} diff;
+
 static void get_sse_sum_8x8(const uint8_t *src, int src_stride,
                             const uint8_t *ref, int ref_stride,
                             unsigned int *sse, int *sum) {
--- a/vp9/encoder/vp9_encodeframe.h
+++ b/vp9/encoder/vp9_encodeframe.h
@@ -20,12 +20,6 @@
 struct yv12_buffer_config;
 struct VP9_COMP;
 
-typedef struct {
-  unsigned int sse;
-  int sum;
-  unsigned int var;
-} diff;
-
 void vp9_setup_src_planes(struct macroblock *x,
                           const struct yv12_buffer_config *src,
                           int mi_row, int mi_col);