IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2004, 8:31:49 AM (22 years ago)
Author:
desonia
Message:

migrated more psError calls to new style (i.e., psErrorMsg).

File:
1 edited

Legend:

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

    r1840 r1864  
    55 *  @author Robert DeSonia, MHPCC
    66 *
    7  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2004-09-21 22:30:19 $
     7 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2004-09-23 18:31:49 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2424#include "psImageErrors.h"
    2525
    26 #define P_FFTW_PLAN_RIGOR FFTW_ESTIMATE
     26#define PS_FFTW_PLAN_RIGOR FFTW_ESTIMATE
    2727
    2828static bool p_fftwWisdomImported = false;
     
    9090    plan = fftwf_plan_dft_2d(numCols, numRows,
    9191                             (fftwf_complex *) out->data.C32[0],
    92                              (fftwf_complex *) out->data.C32[0], direction, P_FFTW_PLAN_RIGOR);
     92                             (fftwf_complex *) out->data.C32[0], direction, PS_FFTW_PLAN_RIGOR);
    9393
    9494    /* check if a plan exists now -- if not, it is a real problem */
     
    422422
    423423            for (unsigned int col = 0; col < numCols; col++) {
    424                 real = crealf(inRow[col]);
    425                 imag = cimagf(inRow[col]);
     424                real = creal(inRow[col]);
     425                imag = cimag(inRow[col]);
    426426                outRow[col] = real * real + imag * imag / numElementsSquared;
    427427            }
Note: See TracChangeset for help on using the changeset viewer.