From 6e9cbdc10448203e7c8b2de41447442fcc9f7bae Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 13 May 2009 02:58:57 +0000 Subject: whitespace cosmetics: Remove all trailing whitespace. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_pp7.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'libmpcodecs/vf_pp7.c') diff --git a/libmpcodecs/vf_pp7.c b/libmpcodecs/vf_pp7.c index e986765416..42c8512250 100644 --- a/libmpcodecs/vf_pp7.c +++ b/libmpcodecs/vf_pp7.c @@ -18,7 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ - + #include #include #include @@ -227,9 +227,9 @@ static void init_thres2(void){ } static int hardthresh_c(DCTELEM *src, int qp){ - int i; + int i; int a; - + a= src[0] * factor[0]; for(i=1; i<16; i++){ unsigned int threshold1= thres2[qp][i]; @@ -243,9 +243,9 @@ static int hardthresh_c(DCTELEM *src, int qp){ } static int mediumthresh_c(DCTELEM *src, int qp){ - int i; + int i; int a; - + a= src[0] * factor[0]; for(i=1; i<16; i++){ unsigned int threshold1= thres2[qp][i]; @@ -264,9 +264,9 @@ static int mediumthresh_c(DCTELEM *src, int qp){ } static int softthresh_c(DCTELEM *src, int qp){ - int i; + int i; int a; - + a= src[0] * factor[0]; for(i=1; i<16; i++){ unsigned int threshold1= thres2[qp][i]; @@ -293,7 +293,7 @@ static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stri for(y=0; yqp) qp= p->qp; else{ @@ -328,12 +328,12 @@ static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src, int dst_stri uint8_t *src = p_src + index; DCTELEM *tp= temp+4*x; int v; - + if((x&3)==0) dctA_c(tp+4*8, src, stride); - + dctB(block, tp); - + v= requantize(block, qp); v= (v + dither[y&7][x&7])>>6; if((unsigned)v > 255) @@ -351,7 +351,7 @@ static int config(struct vf_instance_s* vf, vf->priv->temp_stride= (width+16+15)&(~15); vf->priv->src = memalign(8, vf->priv->temp_stride*(h+8)*sizeof(uint8_t)); - + return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt); } @@ -412,7 +412,7 @@ static void uninit(struct vf_instance_s* vf){ if(vf->priv->src) free(vf->priv->src); vf->priv->src= NULL; - + free(vf->priv); vf->priv=NULL; } @@ -449,14 +449,14 @@ static int open(vf_instance_t *vf, char* args){ vf->control= control; vf->priv=malloc(sizeof(struct vf_priv_s)); memset(vf->priv, 0, sizeof(struct vf_priv_s)); - + if (args) sscanf(args, "%d:%d", &vf->priv->qp, &vf->priv->mode); if(vf->priv->qp < 0) vf->priv->qp = 0; init_thres2(); - + switch(vf->priv->mode){ case 0: requantize= hardthresh_c; break; case 1: requantize= softthresh_c; break; @@ -477,7 +477,7 @@ static int open(vf_instance_t *vf, char* args){ } } #endif - + return 1; } -- cgit v1.2.3