[FFmpeg-soc] [soc]: r4736 - libavfilter/vf_negate.c

stefano subversion at mplayerhq.hu
Tue Jul 21 01:42:12 CEST 2009


Author: stefano
Date: Tue Jul 21 01:42:11 2009
New Revision: 4736

Log:
Reindent after the last commit.

Modified:
   libavfilter/vf_negate.c

Modified: libavfilter/vf_negate.c
==============================================================================
--- libavfilter/vf_negate.c	Tue Jul 21 01:40:05 2009	(r4735)
+++ libavfilter/vf_negate.c	Tue Jul 21 01:42:11 2009	(r4736)
@@ -80,29 +80,29 @@ static void draw_slice(AVFilterLink *lin
             outrow += out->linesize[0];
         }
     } else {
-    /* luma plane */
-    inrow  = in-> data[0] + y * in-> linesize[0];
-    outrow = out->data[0] + y * out->linesize[0];
-    for(i = 0; i < h; i ++) {
-        for(j = 0; j < link->w; j ++)
-            outrow[j] = 255 - inrow[j] + neg->offY;
-        inrow  += in-> linesize[0];
-        outrow += out->linesize[0];
-    }
+        /* luma plane */
+        inrow  = in-> data[0] + y * in-> linesize[0];
+        outrow = out->data[0] + y * out->linesize[0];
+        for(i = 0; i < h; i ++) {
+            for(j = 0; j < link->w; j ++)
+                outrow[j] = 255 - inrow[j] + neg->offY;
+            inrow  += in-> linesize[0];
+            outrow += out->linesize[0];
+        }
 
-    /* chroma planes */
-    for(plane = 1; plane < 3; plane ++) {
-        inrow  = in-> data[plane] + (y >> neg->vsub) * in-> linesize[plane];
-        outrow = out->data[plane] + (y >> neg->vsub) * out->linesize[plane];
+        /* chroma planes */
+        for(plane = 1; plane < 3; plane ++) {
+            inrow  = in-> data[plane] + (y >> neg->vsub) * in-> linesize[plane];
+            outrow = out->data[plane] + (y >> neg->vsub) * out->linesize[plane];
 
-        for(i = 0; i < h >> neg->vsub; i ++) {
-            for(j = 0; j < link->w >> neg->hsub; j ++)
-                outrow[j] = 255 - inrow[j] + neg->offUV;
-            inrow  += in-> linesize[plane];
-            outrow += out->linesize[plane];
+            for(i = 0; i < h >> neg->vsub; i ++) {
+                for(j = 0; j < link->w >> neg->hsub; j ++)
+                    outrow[j] = 255 - inrow[j] + neg->offUV;
+                inrow  += in-> linesize[plane];
+                outrow += out->linesize[plane];
+            }
         }
     }
-    }
 
     avfilter_draw_slice(link->dst->outputs[0], y, h);
 }


More information about the FFmpeg-soc mailing list