[gegl/soc-2012-ops: 43/58] noise-hsv: cleaning before merge



commit 69ea689538200c5b41f52862dbaa8bf341bc99b5
Author: Michael Murà <batolettre gmail com>
Date:   Tue Aug 28 17:15:04 2012 +0900

    noise-hsv: cleaning before merge

 operations/common/noise-hsv.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/operations/common/noise-hsv.c b/operations/common/noise-hsv.c
index 69d523c..9eb363d 100644
--- a/operations/common/noise-hsv.c
+++ b/operations/common/noise-hsv.c
@@ -85,7 +85,8 @@ randomize_value (gfloat     now,
   return new_val;
 }
 
-static void prepare (GeglOperation *operation)
+static void
+prepare (GeglOperation *operation)
 {
   gegl_operation_set_format (operation, "input", babl_format ("HSVA float"));
   gegl_operation_set_format (operation, "output", babl_format ("HSVA float"));
@@ -132,10 +133,10 @@ process (GeglOperation       *operation,
     if (o->value_distance > 0)
       value = randomize_value (value, 0.0, 1.0, FALSE, o->value_distance, o->holdness);
 
-      out_pixel[0] = hue;
-      out_pixel[1] = saturation;
-      out_pixel[2] = value;
-      out_pixel[3] = alpha;
+    out_pixel[0] = hue;
+    out_pixel[1] = saturation;
+    out_pixel[2] = value;
+    out_pixel[3] = alpha;
 
     in_pixel  += 4;
     out_pixel += 4;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]