gegl r2354 - in branches/branch_zhangjb: . operations/frequency operations/frequency/tools tests/frequency



Author: zhangjb
Date: Sun May 25 14:15:12 2008
New Revision: 2354
URL: http://svn.gnome.org/viewvc/gegl?rev=2354&view=rev

Log:
	Renamed some files.

	* operations/frequency/tools/Makefile.am: modified to fit those renamed files.
	* operations/frequency/tools/fourier.c: renamed from dft.c.
	* operations/frequency/preview-frequency.c: renamed from preview-frequency-rgba.c
	* operations/frequency/dft-grey.c: modified to fit those renamed files.
	* operations/frequency/dft-inverse.c: renamed from dft-inverse-rgba.c
	* operations/frequency/dft-inverse-grey.c: modified to fit those renamed files.
	* operations/frequency/dft.c: renamed from dft-tgba.c.
	* tests/frequency/hello-world-fourier.c: modified to fit those renamed files.

Added:
   branches/branch_zhangjb/operations/frequency/dft-inverse.c   (contents, props changed)
      - copied, changed from r2353, /branches/branch_zhangjb/operations/frequency/dft-inverse-rgba.c
   branches/branch_zhangjb/operations/frequency/dft.c
      - copied, changed from r2353, /branches/branch_zhangjb/operations/frequency/dft-rgba.c
   branches/branch_zhangjb/operations/frequency/preview-frequency.c   (contents, props changed)
      - copied, changed from r2353, /branches/branch_zhangjb/operations/frequency/preview-frequency-rgba.c
   branches/branch_zhangjb/operations/frequency/tools/fourier.c   (props changed)
      - copied unchanged from r2353, /branches/branch_zhangjb/operations/frequency/tools/dft.c
Removed:
   branches/branch_zhangjb/operations/frequency/dft-inverse-rgba.c
   branches/branch_zhangjb/operations/frequency/dft-rgba.c
   branches/branch_zhangjb/operations/frequency/preview-frequency-rgba.c
   branches/branch_zhangjb/operations/frequency/tools/dft.c
Modified:
   branches/branch_zhangjb/ChangeLog
   branches/branch_zhangjb/operations/frequency/dft-grey.c
   branches/branch_zhangjb/operations/frequency/dft-inverse-grey.c
   branches/branch_zhangjb/operations/frequency/tools/Makefile.am
   branches/branch_zhangjb/tests/frequency/hello-world-fourier.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	Sun May 25 14:15:12 2008
@@ -26,7 +26,7 @@
 #define GEGL_CHANT_C_FILE       "dft-grey.c"
 
 #include "gegl-chant.h"
-#include "tools/dft.c"
+#include "tools/fourier.c"
 #include <fftw3.h>
 
 static GeglRectangle

Modified: branches/branch_zhangjb/operations/frequency/dft-inverse-grey.c
==============================================================================
--- branches/branch_zhangjb/operations/frequency/dft-inverse-grey.c	(original)
+++ branches/branch_zhangjb/operations/frequency/dft-inverse-grey.c	Sun May 25 14:15:12 2008
@@ -26,7 +26,7 @@
 #define GEGL_CHANT_C_FILE       "dft-inverse-grey.c"
 
 #include "gegl-chant.h"
-#include "tools/dft.c"
+#include "tools/fourier.c"
 #include <fftw3.h>
 
 static GeglRectangle

Copied: branches/branch_zhangjb/operations/frequency/dft-inverse.c (from r2353, /branches/branch_zhangjb/operations/frequency/dft-inverse-rgba.c)
==============================================================================
--- /branches/branch_zhangjb/operations/frequency/dft-inverse-rgba.c	(original)
+++ branches/branch_zhangjb/operations/frequency/dft-inverse.c	Sun May 25 14:15:12 2008
@@ -23,10 +23,10 @@
 #else
 
 #define GEGL_CHANT_TYPE_POINT_FILTER
-#define GEGL_CHANT_C_FILE       "dft-inverse-rgba.c"
+#define GEGL_CHANT_C_FILE       "dft-inverse.c"
 
 #include "gegl-chant.h"
-#include "tools/dft.c"
+#include "tools/fourier.c"
 #include "tools/component.c"
 #include <fftw3.h>
 
@@ -118,7 +118,7 @@
   operation_class->get_required_for_output= get_required_for_output;
   operation_class->get_cached_region = get_cached_region;
 
-  operation_class->name = "dft-inverse-rgba";
+  operation_class->name = "dft-inverse";
   operation_class->categories = "frequency";
   operation_class->description
     = "Perform 2-D inverse Discrete Fourier Transform for the image.\n";

Copied: branches/branch_zhangjb/operations/frequency/dft.c (from r2353, /branches/branch_zhangjb/operations/frequency/dft-rgba.c)
==============================================================================
--- /branches/branch_zhangjb/operations/frequency/dft-rgba.c	(original)
+++ branches/branch_zhangjb/operations/frequency/dft.c	Sun May 25 14:15:12 2008
@@ -23,10 +23,10 @@
 #else
 
 #define GEGL_CHANT_TYPE_POINT_FILTER
-#define GEGL_CHANT_C_FILE       "dft-rgba.c"
+#define GEGL_CHANT_C_FILE       "dft.c"
 
 #include "gegl-chant.h"
-#include "tools/dft.c"
+#include "tools/fourier.c"
 #include "tools/component.c"
 #include <fftw3.h>
 
@@ -123,7 +123,7 @@
   operation_class->get_required_for_output= get_required_for_output;
   operation_class->get_cached_region = get_cached_region;
 
-  operation_class->name = "dft-rgba";
+  operation_class->name = "dft";
   operation_class->categories = "frequency";
   operation_class->description
     = "Perform 2-D Discrete Fourier Transform for a RGBA image.";

Copied: branches/branch_zhangjb/operations/frequency/preview-frequency.c (from r2353, /branches/branch_zhangjb/operations/frequency/preview-frequency-rgba.c)
==============================================================================
--- /branches/branch_zhangjb/operations/frequency/preview-frequency-rgba.c	(original)
+++ branches/branch_zhangjb/operations/frequency/preview-frequency.c	Sun May 25 14:15:12 2008
@@ -23,7 +23,7 @@
 #else
 
 #define GEGL_CHANT_TYPE_POINT_FILTER
-#define GEGL_CHANT_C_FILE       "preview-frequency-rgba.c"
+#define GEGL_CHANT_C_FILE       "preview-frequency.c"
 
 #include "gegl-chant.h"
 #include "tools/display.c"
@@ -122,7 +122,7 @@
   operation_class->get_required_for_output= get_required_for_output;  
   operation_class->get_cached_region = get_cached_region;
 
-  operation_class->name = "preview-frequency-rgba";
+  operation_class->name = "preview-frequency";
   operation_class->categories = "frequency";
   operation_class->description
     = "Convert the frequency buffer to a displayable RGBA image.";

Modified: branches/branch_zhangjb/operations/frequency/tools/Makefile.am
==============================================================================
--- branches/branch_zhangjb/operations/frequency/tools/Makefile.am	(original)
+++ branches/branch_zhangjb/operations/frequency/tools/Makefile.am	Sun May 25 14:15:12 2008
@@ -1,4 +1,4 @@
 EXTRA_DIST = \
-	dft.c	\
+	fourier.c	\
 	display.c	\
 	component.c
\ No newline at end of file

Modified: branches/branch_zhangjb/tests/frequency/hello-world-fourier.c
==============================================================================
--- branches/branch_zhangjb/tests/frequency/hello-world-fourier.c	(original)
+++ branches/branch_zhangjb/tests/frequency/hello-world-fourier.c	Sun May 25 14:15:12 2008
@@ -15,9 +15,9 @@
                                   "path",
                                   "docs/images/lena_rgba.png",
                                   NULL);
-      GeglNode *dft = gegl_node_new_child(gegl, "operation", "dft-rgba", NULL);
-      GeglNode *idft = gegl_node_new_child(gegl, "operation", "dft-inverse-rgba", NULL);
-      GeglNode *preview = gegl_node_new_child(gegl, "operation", "preview-frequency-rgba", NULL);
+      GeglNode *dft = gegl_node_new_child(gegl, "operation", "dft", NULL);
+      GeglNode *idft = gegl_node_new_child(gegl, "operation", "dft-inverse", NULL);
+      GeglNode *preview = gegl_node_new_child(gegl, "operation", "preview-frequency", NULL);
       GeglNode *grey = gegl_node_new_child(gegl, "operation", "grey", NULL);
       GeglNode *save = gegl_node_new_child(gegl,
                                   "operation",



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