gegl r2554 - branches/branch2_zhangjb/operations/frequency/tools
- From: zhangjb svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2554 - branches/branch2_zhangjb/operations/frequency/tools
- Date: Sat, 2 Aug 2008 07:55:56 +0000 (UTC)
Author: zhangjb
Date: Sat Aug 2 07:55:56 2008
New Revision: 2554
URL: http://svn.gnome.org/viewvc/gegl?rev=2554&view=rev
Log:
Modified:
branches/branch2_zhangjb/operations/frequency/tools/filters.c
Modified: branches/branch2_zhangjb/operations/frequency/tools/filters.c
==============================================================================
--- branches/branch2_zhangjb/operations/frequency/tools/filters.c (original)
+++ branches/branch2_zhangjb/operations/frequency/tools/filters.c Sat Aug 2 07:55:56 2008
@@ -33,8 +33,8 @@
gint x, y;
gdouble Yr,Yi;
gint index;
- gint max_x = FFT_HALF(x);
-
+ gint max_x = FFT_HALF(width);
+
for(y=0;y<height;y++)
for(x=0;x<max_x;x++)
{
@@ -44,7 +44,7 @@
Xr[index] = Yr;
Xi[index] = Yi;
}
- return TRUE;
+ return TRUE;
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]