Changeset 3301
- Timestamp:
- Feb 22, 2005, 9:38:44 AM (21 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
fft/psImageFFT.c (modified) (5 diffs)
-
image/psImageFFT.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fft/psImageFFT.c
r3264 r3301 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-02- 17 19:26:24 $7 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-02-22 19:38:44 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 375 375 psU32 numCols; 376 376 psU32 numRows; 377 psS32 numElementsSquared;378 377 379 378 if (in == NULL) { … … 385 384 numCols = in->numCols; 386 385 numRows = in->numRows; 387 numElementsSquared = numCols * numCols * numRows * numRows;388 386 389 387 if (type == PS_TYPE_C32) { … … 392 390 psF32 real; 393 391 psF32 imag; 392 psF32 numElementsSquared = numCols * numCols * numRows * numRows; 394 393 395 394 out = psImageRecycle(out, numCols, numRows, PS_TYPE_F32); … … 409 408 psF64 real; 410 409 psF64 imag; 410 psF64 numElementsSquared = numCols * numCols * numRows * numRows; 411 411 412 412 out = psImageRecycle(out, numCols, numRows, PS_TYPE_F64); -
trunk/psLib/src/image/psImageFFT.c
r3264 r3301 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $8 * @date $Date: 2005-02- 17 19:26:24 $7 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2005-02-22 19:38:44 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 375 375 psU32 numCols; 376 376 psU32 numRows; 377 psS32 numElementsSquared;378 377 379 378 if (in == NULL) { … … 385 384 numCols = in->numCols; 386 385 numRows = in->numRows; 387 numElementsSquared = numCols * numCols * numRows * numRows;388 386 389 387 if (type == PS_TYPE_C32) { … … 392 390 psF32 real; 393 391 psF32 imag; 392 psF32 numElementsSquared = numCols * numCols * numRows * numRows; 394 393 395 394 out = psImageRecycle(out, numCols, numRows, PS_TYPE_F32); … … 409 408 psF64 real; 410 409 psF64 imag; 410 psF64 numElementsSquared = numCols * numCols * numRows * numRows; 411 411 412 412 out = psImageRecycle(out, numCols, numRows, PS_TYPE_F64);
Note:
See TracChangeset
for help on using the changeset viewer.
