diff libswscale/rgb2rgb_template.c @ 23129:9528d1ebe68f

cosmetics: Remove trailing whitespace.
author diego
date Thu, 26 Apr 2007 23:07:11 +0000
parents beb4ac492c5e
children 10425310d2da
line wrap: on
line diff
--- a/libswscale/rgb2rgb_template.c	Thu Apr 26 20:56:54 2007 +0000
+++ b/libswscale/rgb2rgb_template.c	Thu Apr 26 23:07:11 2007 +0000
@@ -23,7 +23,7 @@
  * You should have received a copy of the GNU General Public License
  * along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- * 
+ *
  * the C code (not assembly, mmx, ...) of this file can be used
  * under the LGPL license too
  */
@@ -372,7 +372,7 @@
 		"pmaddwd %%mm7, %%mm3		\n\t"
 		"pand %%mm5, %%mm1		\n\t"
 		"pand %%mm5, %%mm4		\n\t"
-		"por %%mm1, %%mm0		\n\t"	
+		"por %%mm1, %%mm0		\n\t"
 		"por %%mm4, %%mm3		\n\t"
 		"psrld $5, %%mm0		\n\t"
 		"pslld $11, %%mm3		\n\t"
@@ -531,7 +531,7 @@
 		"pmaddwd %%mm7, %%mm3		\n\t"
 		"pand %%mm5, %%mm1		\n\t"
 		"pand %%mm5, %%mm4		\n\t"
-		"por %%mm1, %%mm0		\n\t"	
+		"por %%mm1, %%mm0		\n\t"
 		"por %%mm4, %%mm3		\n\t"
 		"psrld $6, %%mm0		\n\t"
 		"pslld $10, %%mm3		\n\t"
@@ -978,7 +978,7 @@
 
 		"movq	%%mm0, %%mm6\n\t"
 		"movq	%%mm3, %%mm7\n\t"
-		
+
 		"movq	8%1, %%mm0\n\t"
 		"movq	8%1, %%mm1\n\t"
 		"movq	8%1, %%mm2\n\t"
@@ -1015,7 +1015,7 @@
 		"movq	%%mm3, %%mm5\n\t"
 		"movq	%%mm6, %%mm0\n\t"
 		"movq	%%mm7, %%mm1\n\t"
-		
+
 		"movq	%%mm4, %%mm6\n\t"
 		"movq	%%mm5, %%mm7\n\t"
 		"movq	%%mm0, %%mm2\n\t"
@@ -1117,7 +1117,7 @@
 		"psllq	$16, %%mm5\n\t"
 		"por	%%mm4, %%mm3\n\t"
 		"por	%%mm5, %%mm3\n\t"
-		
+
 		"movq	%%mm0, %%mm6\n\t"
 		"movq	%%mm3, %%mm7\n\t"
 
@@ -1148,7 +1148,7 @@
 		"por	%%mm4, %%mm3\n\t"
 		"por	%%mm5, %%mm3\n\t"
 		:"=m"(*d)
-		:"m"(*s),"m"(mask16b),"m"(mask16g),"m"(mask16r),"m"(mmx_null)		
+		:"m"(*s),"m"(mask16b),"m"(mask16g),"m"(mask16r),"m"(mmx_null)
 		:"memory");
 	    /* Borrowed 32 to 24 */
 	    __asm __volatile(
@@ -1156,7 +1156,7 @@
 		"movq	%%mm3, %%mm5\n\t"
 		"movq	%%mm6, %%mm0\n\t"
 		"movq	%%mm7, %%mm1\n\t"
-		
+
 		"movq	%%mm4, %%mm6\n\t"
 		"movq	%%mm5, %%mm7\n\t"
 		"movq	%%mm0, %%mm2\n\t"
@@ -1451,7 +1451,7 @@
 		"pand %%mm6, %%mm1		\n\t"
 		"pand %%mm7, %%mm2		\n\t"
 		"por %%mm0, %%mm1		\n\t"
-		"por %%mm2, %%mm1		\n\t"                
+		"por %%mm2, %%mm1		\n\t"
 		"movq  6(%1, %%"REG_a"), %%mm0	\n\t" // BGR BGR BG
 		MOVNTQ" %%mm1,   (%2, %%"REG_a")\n\t" // RGB RGB RG
 		"movq  8(%1, %%"REG_a"), %%mm1	\n\t" // R BGR BGR B
@@ -1460,7 +1460,7 @@
 		"pand %%mm5, %%mm1		\n\t"
 		"pand %%mm6, %%mm2		\n\t"
 		"por %%mm0, %%mm1		\n\t"
-		"por %%mm2, %%mm1		\n\t"                
+		"por %%mm2, %%mm1		\n\t"
 		"movq 14(%1, %%"REG_a"), %%mm0	\n\t" // R BGR BGR B
 		MOVNTQ" %%mm1,  8(%2, %%"REG_a")\n\t" // B RGB RGB R
 		"movq 16(%1, %%"REG_a"), %%mm1	\n\t" // GR BGR BGR
@@ -1469,7 +1469,7 @@
 		"pand %%mm7, %%mm1		\n\t"
 		"pand %%mm5, %%mm2		\n\t"
 		"por %%mm0, %%mm1		\n\t"
-		"por %%mm2, %%mm1		\n\t"                
+		"por %%mm2, %%mm1		\n\t"
 		MOVNTQ" %%mm1, 16(%2, %%"REG_a")\n\t"
 		"add $24, %%"REG_a"		\n\t"
 		" js 1b				\n\t"
@@ -1908,16 +1908,16 @@
 static inline void RENAME(planar2x)(const uint8_t *src, uint8_t *dst, long srcWidth, long srcHeight, long srcStride, long dstStride)
 {
 	long x,y;
-	
+
 	dst[0]= src[0];
-        
+
 	// first line
 	for(x=0; x<srcWidth-1; x++){
 		dst[2*x+1]= (3*src[x] +   src[x+1])>>2;
 		dst[2*x+2]= (  src[x] + 3*src[x+1])>>2;
 	}
 	dst[2*srcWidth-1]= src[srcWidth-1];
-	
+
         dst+= dstStride;
 
 	for(y=1; y<srcHeight; y++){
@@ -1983,11 +1983,11 @@
 		dst+=dstStride*2;
 		src+=srcStride;
 	}
-	
+
 	// last line
 #if 1
 	dst[0]= src[0];
-        
+
 	for(x=0; x<srcWidth-1; x++){
 		dst[2*x+1]= (3*src[x] +   src[x+1])>>2;
 		dst[2*x+2]= (  src[x] + 3*src[x+1])>>2;
@@ -2657,7 +2657,7 @@
 		"punpckhbw %%mm1, %%mm3\n\t" /* Y4U1 Y5V1 Y6U1 Y7V1*/
 		MOVNTQ"	%%mm0, (%4, %0, 8)\n\t"
 		MOVNTQ"	%%mm3, 8(%4, %0, 8)\n\t"
-		
+
 		"punpckhbw %%mm2, %%mm6\n\t" /* U2V2 U2V2 U3V3 U3V3*/
 		"movq	8(%1, %0, 4), %%mm0\n\t"
 		"movq	%%mm0, %%mm3\n\t"
@@ -2674,7 +2674,7 @@
 		"punpckhbw %%mm4, %%mm3\n\t" /* Y U5 Y V5 Y U5 Y V5*/
 		MOVNTQ"	%%mm0, 32(%4, %0, 8)\n\t"
 		MOVNTQ"	%%mm3, 40(%4, %0, 8)\n\t"
-		
+
 		"punpckhbw %%mm5, %%mm6\n\t"
 		"movq	24(%1, %0, 4), %%mm0\n\t"
 		"movq	%%mm0, %%mm3\n\t"