changeset 29470:6b8f383679ea

Indent.
author ramiro
date Thu, 13 Aug 2009 19:03:14 +0000
parents a5f2750d1ff1
children 7dd86fa7fcad
files libswscale/swscale.c
diffstat 1 files changed, 24 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Thu Aug 13 18:39:39 2009 +0000
+++ b/libswscale/swscale.c	Thu Aug 13 19:03:14 2009 +0000
@@ -1871,39 +1871,39 @@
             int shift=0;
 
             if (filterCode) {
-            filter[i  ] = (( xpos         & 0xFFFF) ^ 0xFFFF)>>9;
-            filter[i+1] = (((xpos+xInc  ) & 0xFFFF) ^ 0xFFFF)>>9;
-            filter[i+2] = (((xpos+xInc*2) & 0xFFFF) ^ 0xFFFF)>>9;
-            filter[i+3] = (((xpos+xInc*3) & 0xFFFF) ^ 0xFFFF)>>9;
-            filterPos[i/2]= xx;
-
-            memcpy(filterCode + fragmentPos, fragment, fragmentLength);
-
-            filterCode[fragmentPos + imm8OfPShufW1]=
-                (a+inc) | ((b+inc)<<2) | ((c+inc)<<4) | ((d+inc)<<6);
-            filterCode[fragmentPos + imm8OfPShufW2]=
-                a | (b<<2) | (c<<4) | (d<<6);
-
-            if (i+4-inc>=dstW) shift=maxShift; //avoid overread
-            else if ((filterPos[i/2]&3) <= maxShift) shift=filterPos[i/2]&3; //Align
-
-            if (shift && i>=shift)
-            {
-                filterCode[fragmentPos + imm8OfPShufW1]+= 0x55*shift;
-                filterCode[fragmentPos + imm8OfPShufW2]+= 0x55*shift;
-                filterPos[i/2]-=shift;
-            }
+                filter[i  ] = (( xpos         & 0xFFFF) ^ 0xFFFF)>>9;
+                filter[i+1] = (((xpos+xInc  ) & 0xFFFF) ^ 0xFFFF)>>9;
+                filter[i+2] = (((xpos+xInc*2) & 0xFFFF) ^ 0xFFFF)>>9;
+                filter[i+3] = (((xpos+xInc*3) & 0xFFFF) ^ 0xFFFF)>>9;
+                filterPos[i/2]= xx;
+
+                memcpy(filterCode + fragmentPos, fragment, fragmentLength);
+
+                filterCode[fragmentPos + imm8OfPShufW1]=
+                    (a+inc) | ((b+inc)<<2) | ((c+inc)<<4) | ((d+inc)<<6);
+                filterCode[fragmentPos + imm8OfPShufW2]=
+                    a | (b<<2) | (c<<4) | (d<<6);
+
+                if (i+4-inc>=dstW) shift=maxShift; //avoid overread
+                else if ((filterPos[i/2]&3) <= maxShift) shift=filterPos[i/2]&3; //Align
+
+                if (shift && i>=shift)
+                {
+                    filterCode[fragmentPos + imm8OfPShufW1]+= 0x55*shift;
+                    filterCode[fragmentPos + imm8OfPShufW2]+= 0x55*shift;
+                    filterPos[i/2]-=shift;
+                }
             }
 
             fragmentPos+= fragmentLength;
 
             if (filterCode)
-            filterCode[fragmentPos]= RET;
+                filterCode[fragmentPos]= RET;
         }
         xpos+=xInc;
     }
     if (filterCode)
-    filterPos[((i/2)+1)&(~1)]= xpos>>16; // needed to jump to the next part
+        filterPos[((i/2)+1)&(~1)]= xpos>>16; // needed to jump to the next part
 
     return fragmentPos + 1;
 }