shithub: libvpx

Download patch

ref: a3b002fc900565b33784b3b757b01f3bb45d5894
parent: 56e87274cdbf2ab665eb54e671f5048b439d4ccc
parent: 385865f8202a8f273d6c9920134ddfbeb2b323da
author: Johann <johannkoenig@google.com>
date: Mon Oct 25 09:26:55 EDT 2010

Merge "quiet compiler"

--- a/vp8/encoder/temporal_filter.c
+++ b/vp8/encoder/temporal_filter.c
@@ -32,19 +32,8 @@
 #include "vpxerrors.h"
 
 #include <math.h>
-#include <stdio.h>
 #include <limits.h>
 
-/*
-#if CONFIG_RUNTIME_CPU_DETECT
-#define IF_RTCD(x) (x)
-#define RTCD(x) &cpi->common.rtcd.x
-#else
-#define IF_RTCD(x) NULL
-#define RTCD(x) NULL
-#endif
-*/
-
 #define ALT_REF_MC_ENABLED 1    // dis/enable MC in AltRef filtering
 #define ALT_REF_SUBPEL_ENABLED 1 // dis/enable subpel in MC AltRef filtering
 
@@ -130,8 +119,8 @@
     unsigned int block_size,
     int strength,
     int filter_weight,
-    int *accumulator,
-    int *count
+    unsigned int *accumulator,
+    unsigned int *count
 )
 {
     int i, j, k;
@@ -168,7 +157,7 @@
             modifier = 16 - modifier;
 #endif
             modifier *= filter_weight;
-            
+
             count[k] += modifier;
             accumulator[k] += modifier * pixel_value;
 
@@ -343,7 +332,7 @@
     YV12_BUFFER_CONFIG *f = cpi->frames[alt_ref_index];
     unsigned char *dst1, *dst2;
     DECLARE_ALIGNED(16, unsigned char,  predictor[384]);
-    
+
     // Save input state
     unsigned char *y_buffer = mbd->pre.y_buffer;
     unsigned char *u_buffer = mbd->pre.u_buffer;