IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 17, 2005, 5:13:02 PM (21 years ago)
Author:
drobbin
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fft/psImageFFT.c

    r4193 r4316  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2005-06-09 21:17:45 $
     7 *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2005-06-18 03:13:02 $
    99 *
    1010 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2727static psBool p_fftwWisdomImported = false;
    2828
    29 psImage* psImageFFT(psImage* out, const psImage* in, psFFTFlags direction)
     29psImage* psImageFFT(psImage* out, const psImage* image, psFFTFlags direction)
    3030{
    3131    psU32 numCols;
     
    3535
    3636    /* got good image data? */
    37     if (in == NULL) {
     37    if (image == NULL) {
    3838        psFree(out);
    3939        return NULL;
     
    6060    }
    6161
    62     type = in->type.type;
     62    type = image->type.type;
    6363
    6464    /* make sure the system-level wisdom information is imported. */
     
    6868    }
    6969
    70     numRows = in->numRows;
    71     numCols = in->numCols;
     70    numRows = image->numRows;
     71    numCols = image->numCols;
    7272
    7373    // n.b. FFTW can perform a in-place transform at the same rate or faster than out-of-place.
     
    7575
    7676    fftwf_complex* outBuffer = fftwf_malloc(numRows*numCols*sizeof(fftwf_complex));
    77     p_psImageCopyToRawBuffer(outBuffer, in, PS_TYPE_C32);
     77    p_psImageCopyToRawBuffer(outBuffer, image, PS_TYPE_C32);
    7878
    7979    plan = fftwf_plan_dft_2d(numRows, numCols,
Note: See TracChangeset for help on using the changeset viewer.