comparison TOOLS/realcodecs/drv3.c @ 30610:b0f5b5d43941

TOOLS/realcodecs: Remove pointless '#if 1' preprocessor directives.
author diego
date Fri, 19 Feb 2010 09:46:31 +0000
parents 0f1b5b68af32
children cef5275fc11f
comparison
equal deleted inserted replaced
30609:f4a71b27410b 30610:b0f5b5d43941
190 ulong RV20toYUV420CustomMessage(ulong* p1,ulong p2) { 190 ulong RV20toYUV420CustomMessage(ulong* p1,ulong p2) {
191 ulong result; 191 ulong result;
192 // ulong *pp1=p1; 192 // ulong *pp1=p1;
193 ulong temp[16]; 193 ulong temp[16];
194 fprintf(stderr, "#R# => RV20toYUV420CustomMessage(%p,%p) [%ld,%ld,%ld] \n", p1, p2, p1[0],p1[1],p1[2]); 194 fprintf(stderr, "#R# => RV20toYUV420CustomMessage(%p,%p) [%ld,%ld,%ld] \n", p1, p2, p1[0],p1[1],p1[2]);
195 #if 1
196 if(p1[0]==0x24){ 195 if(p1[0]==0x24){
197 hexdump(p1[2],16); 196 hexdump(p1[2],16);
198 memset(temp,0x77,16*4); 197 memset(temp,0x77,16*4);
199 memcpy(temp,p1[2],16); 198 memcpy(temp,p1[2],16);
200 p1[2]=temp; 199 p1[2]=temp;
201 } else { 200 } else {
202 return 0; 201 return 0;
203 } 202 }
204 #endif
205 203
206 // fprintf(stderr, "ulong p2=0x%0lx(%ld))\n", p2, p2); 204 // fprintf(stderr, "ulong p2=0x%0lx(%ld))\n", p2, p2);
207 // hexdump((void*)p1, 12); 205 // hexdump((void*)p1, 12);
208 // if (pp1[0]==0x24) { 206 // if (pp1[0]==0x24) {
209 // hexdump((void*)(pp1[2]),128); 207 // hexdump((void*)(pp1[2]),128);