diff libswscale/ppc/yuv2rgb_altivec.c @ 29481:c080f1f5c07e

Cosmetics: - Place curly brackets in the same line as while/for/if/switch/else/do; - Place curly brackets at column 0 in the next line starting a function.
author ramiro
date Sun, 16 Aug 2009 21:11:28 +0000
parents a4d8dee13834
children 75dd81db0184
line wrap: on
line diff
--- a/libswscale/ppc/yuv2rgb_altivec.c	Sun Aug 16 00:32:04 2009 +0000
+++ b/libswscale/ppc/yuv2rgb_altivec.c	Sun Aug 16 21:11:28 2009 +0000
@@ -714,7 +714,7 @@
         if ((c->srcH & 0x1) != 0)
             return NULL;
 
-        switch(c->dstFormat){
+        switch(c->dstFormat) {
         case PIX_FMT_RGB24:
             av_log(c, AV_LOG_WARNING, "ALTIVEC: Color Space RGB24\n");
             return altivec_yuv2_rgb24;
@@ -738,7 +738,7 @@
         break;
 
     case PIX_FMT_UYVY422:
-        switch(c->dstFormat){
+        switch(c->dstFormat) {
         case PIX_FMT_BGR32:
             av_log(c, AV_LOG_WARNING, "ALTIVEC: Color Space UYVY -> RGB32\n");
             return altivec_uyvy_rgb32;
@@ -800,7 +800,7 @@
 
     out = (vector unsigned char *)dest;
 
-    for (i=0; i<dstW; i+=16){
+    for (i=0; i<dstW; i+=16) {
         Y0 = RND;
         Y1 = RND;
         /* extract 16 coeffs from lumSrc */