]> granicus.if.org Git - libvpx/commitdiff
Hiding struct diff in *.c file.
authorDmitry Kovalev <dkovalev@google.com>
Mon, 19 May 2014 18:19:21 +0000 (11:19 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Mon, 19 May 2014 18:19:21 +0000 (11:19 -0700)
Change-Id: Ia0dc05e530428af9ab5aa57e24f1115b0b4765d3

vp9/encoder/vp9_encodeframe.c
vp9/encoder/vp9_encodeframe.h

index f7cb05b78c0681a64b4374a2f4fffa882eddac8c..ef33fcaf18c7a09e7a985d3832448a6ec08722bf 100644 (file)
@@ -70,6 +70,12 @@ static const uint8_t VP9_VAR_OFFS[64] = {
   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) {
index 131e9320199bafb5c6f7ac781a840259cad41f40..72343cdf2ad7afbaa04b876118a13b57635f5830 100644 (file)
@@ -20,12 +20,6 @@ struct macroblock;
 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);