gegl r2564 - in branches/branch2_zhangjb: . operations/frequency/tools
- From: zhangjb svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2564 - in branches/branch2_zhangjb: . operations/frequency/tools
- Date: Mon, 4 Aug 2008 08:39:17 +0000 (UTC)
Author: zhangjb
Date: Mon Aug 4 08:39:17 2008
New Revision: 2564
URL: http://svn.gnome.org/viewvc/gegl?rev=2564&view=rev
Log:
Modified:
branches/branch2_zhangjb/ChangeLog
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 Mon Aug 4 08:39:17 2008
@@ -42,7 +42,7 @@
for(y=0;y<height/2;y++)
{
index = y*max_x+x;
- h_index = (height/2-y-1)*max_x+width/2-x-1;
+ h_index = (height/2-y-1)*max_x+width/2-x;
Yr= Xr[index]*Hr[h_index] - Xi[index]*Hi[h_index];
Yi= Xi[index]*Hr[h_index] + Xr[index]*Hi[h_index];
@@ -53,7 +53,7 @@
for(y=height/2;y<height;y++)
{
index = (y*max_x)+x;
- h_index = (3*height/2-y-1)*max_x+width/2-x-1;
+ h_index = (3*height/2-y-1)*max_x+width/2-x;
Yr= Xr[index]*Hr[h_index] - Xi[index]*Hi[h_index];
Yi= Xi[index]*Hr[h_index] + Xr[index]*Hi[h_index];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]