gegl r2330 - branches/branch_zhangjb/operations/frequency



Author: zhangjb
Date: Wed May 21 16:37:45 2008
New Revision: 2330
URL: http://svn.gnome.org/viewvc/gegl?rev=2330&view=rev

Log:
* operations/frequency/dft-grey.c: format the code sytle.


Modified:
   branches/branch_zhangjb/operations/frequency/dft-grey.c

Modified: branches/branch_zhangjb/operations/frequency/dft-grey.c
==============================================================================
--- branches/branch_zhangjb/operations/frequency/dft-grey.c	(original)
+++ branches/branch_zhangjb/operations/frequency/dft-grey.c	Wed May 21 16:37:45 2008
@@ -21,8 +21,8 @@
 
 static GeglRectangle 
 get_required_for_output(GeglOperation *operation,
-                                             const gchar *input_pad,
-                                             const GeglRectangle *roi)
+                        const gchar *input_pad,
+                        const GeglRectangle *roi)
 {
   GeglRectangle result = *gegl_operation_source_get_bounding_box(operation,
                                                                  "input");
@@ -54,9 +54,9 @@
 
 static gboolean
 process(GeglOperation *operation,
-                        GeglBuffer *input,
-                        GeglBuffer *output,
-                        const GeglRectangle *result)
+        GeglBuffer *input,
+        GeglBuffer *output,
+        const GeglRectangle *result)
 {
   gint width = gegl_buffer_get_width(input);
   gint height = gegl_buffer_get_height(input);
@@ -66,11 +66,13 @@
   gint i;
 
   src_buf = g_new0(gdouble, width*height);
-  gegl_buffer_get(input, 1.0, 
-  NULL, babl_format_new(babl_model("Y"),
-                        babl_type("double"),
-                        babl_component("Y"),
-                         NULL), src_buf, GEGL_AUTO_ROWSTRIDE);
+  gegl_buffer_get(input, 1.0,
+                  NULL, babl_format_new(babl_model("Y"),
+                                        babl_type("double"),
+                                        babl_component("Y"),
+                                        NULL),
+                  src_buf,
+                  GEGL_AUTO_ROWSTRIDE);
 
   dst_buf = g_new0(gdouble, height*width);
   dst_imag_buf = g_new0(gdouble, height*width);



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