ref: 0271c75afe5ff91239a033965d311743f88c5440
parent: 28012a75ae066dbe76bce9504cfe7b776f569a70
author: Dmitry Kovalev <[email protected]>
date: Mon May 19 07:19:21 EDT 2014
Hiding struct diff in *.c file. Change-Id: Ia0dc05e530428af9ab5aa57e24f1115b0b4765d3
--- 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);