gegl r2328 - branches/branch_zhangjb/operations/frequency



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

Log:
* operations/frequency/dft-grey.c: disabled some testing codes.

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 15:45:44 2008
@@ -19,7 +19,8 @@
 #include "tools/display.c"
 #include <fftw3.h>
 
-static GeglRectangle get_required_for_output(GeglOperation *operation,
+static GeglRectangle 
+get_required_for_output(GeglOperation *operation,
                                              const gchar *input_pad,
                                              const GeglRectangle *roi)
 {
@@ -36,7 +37,8 @@
 }
 
 
-static void prepare(GeglOperation *operation)
+static void 
+prepare(GeglOperation *operation)
 {
   Babl *image_format = babl_format_new(babl_model("Y"),
                                        babl_type("double"),
@@ -50,7 +52,8 @@
   gegl_operation_set_format(operation, "output", frequency_format);
 }
 
-static gboolean process(GeglOperation *operation,
+static gboolean
+process(GeglOperation *operation,
                         GeglBuffer *input,
                         GeglBuffer *output,
                         const GeglRectangle *result)
@@ -77,7 +80,7 @@
   shift_dft(dst_buf, width, height);
 #endif
   
-#if 1
+#if 0
   /* to show how many times this section be executed. */
   printf("@\t");  
 #endif
@@ -121,7 +124,8 @@
   return TRUE;
 }
 
-static void gegl_chant_class_init(GeglChantClass *klass)
+static void 
+gegl_chant_class_init(GeglChantClass *klass)
 {
   GeglOperationClass *operation_class;
   GeglOperationFilterClass *filter_class;



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