Changeset 17362
- Timestamp:
- Apr 7, 2008, 8:13:47 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fft/psImageFFT.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fft/psImageFFT.c
r17320 r17362 6 6 /// @author Robert DeSonia, MHPCC 7 7 /// 8 /// @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $9 /// @date $Date: 2008-04-0 4 22:44:56$8 /// @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 9 /// @date $Date: 2008-04-07 18:13:47 $ 10 10 /// 11 11 /// Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 317 317 memset(dataPtr, 0, (paddedRows - numRows) * paddedCols * PSELEMTYPE_SIZEOF(PS_TYPE_F32)); 318 318 319 #if 0319 #if 1 320 320 { 321 321 // Use this for inspecting the result of copying the image … … 379 379 } 380 380 381 #if 0381 #if 1 382 382 { 383 383 // Use this for inspecting the result of copying the kernel … … 410 410 // Note that the FFT images have different size from the input 411 411 fftwf_complex *fft = fftwf_malloc(2 * (paddedCols/2 + 1) * paddedRows * sizeof(fftwf_complex)); // FFT 412 int size[] = { padded Cols, paddedRows }; // Size of transforms412 int size[] = { paddedRows, paddedCols }; // Size of transforms 413 413 int fftCols = paddedCols/2 + 1, fftRows = paddedRows; // Size of FFT images 414 414 int fftPixels = fftCols * fftRows; // Number of pixels in FFT image
Note:
See TracChangeset
for help on using the changeset viewer.
