From 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Tue, 7 Jul 2009 02:26:13 +0300 Subject: Remove trailing whitespace from most files --- TOOLS/realcodecs/drv2.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'TOOLS/realcodecs/drv2.c') diff --git a/TOOLS/realcodecs/drv2.c b/TOOLS/realcodecs/drv2.c index c4de76f1f2..278188afea 100644 --- a/TOOLS/realcodecs/drv2.c +++ b/TOOLS/realcodecs/drv2.c @@ -161,7 +161,7 @@ static void hexdump(void *pos, int len) { int lines=(len+15)>>4; while(lines--) { int len1=len, i; - fprintf(stderr, "#R# %0x ", (int)cpos-(int)pos); + fprintf(stderr, "#R# %0x ", (int)cpos-(int)pos); cpos1=cpos; for (i=0;i<16;i++) { if (len1>0) { @@ -181,7 +181,7 @@ static void hexdump(void *pos, int len) { } len--; } - fputs("\n", stderr); + fputs("\n", stderr); } fputc('\n', stderr); } @@ -195,15 +195,15 @@ ulong RV20toYUV420CustomMessage(ulong* p1,ulong p2) { /* if(p1[0]!=17) return 0; - + if(p1[1]!=1) return 0; - + if(p1[0]==105) return 0; if(p1[0]==3) return 0; if(p1[0]==18) return 0; if(p1[0]==30) return 0; */ - + if(p1[0]==0x24){ #if 1 hexdump(p1[2],64); @@ -257,9 +257,9 @@ ulong RV20toYUV420HiveMessage(ulong *p1,ulong p2) { // hexdump((void*)p1, sizeof(struct init_data)); fprintf(stderr,">HIVE %ld %p\n",p1[0],p1[1]); - + if(p1[0]!=0) return 0; - + p1[1]=0x10000000; return 0; @@ -267,7 +267,7 @@ ulong RV20toYUV420HiveMessage(ulong *p1,ulong p2) { memset(h_temp,0x77,1000); memcpy(h_temp,p1,4); // fprintf(stderr,"COPY OK!\n"); - + // tic(); // result=(*rvyuvHiveMessage)(p1,p2); result=(*rvyuvHiveMessage)(h_temp,p2); @@ -281,7 +281,7 @@ ulong RV20toYUV420HiveMessage(ulong *p1,ulong p2) { // p1[0]=0; // p1[1]=0x20000000; - + fprintf(stderr,"