Changeset 8232 for trunk/psLib/src/fft/psImageFFT.c
- Timestamp:
- Aug 8, 2006, 1:32:23 PM (20 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
fft/psImageFFT.c (modified) (13 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src
- Property svn:ignore
-
old new 10 10 libpslib.la.temp 11 11 config.h.in 12 psErrorText.h13 12 *.bb 14 13 *.bbg
-
- Property svn:ignore
-
trunk/psLib/src/fft/psImageFFT.c
r4543 r8232 5 5 * @author Robert DeSonia, MHPCC 6 6 * 7 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $8 * @date $Date: 200 5-07-12 19:30:18$7 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-08-08 23:32:23 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 21 21 #include "psImageStructManip.h" 22 22 23 #include "psErrorText.h" 23 24 24 25 25 #define PS_FFTW_PLAN_RIGOR FFTW_ESTIMATE … … 43 43 if ((direction & PS_FFT_REVERSE) != 0) { 44 44 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 45 PS_ERRORTEXT_psImageFFT_FORWARD_REVERSE);45 _("Can not specify both PS_FFT_FORWARD and PS_FFT_REVERSE options.")); 46 46 psFree(out); 47 47 return NULL; … … 49 49 if ((direction & PS_FFT_REAL_RESULT) != 0) { 50 50 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 51 PS_ERRORTEXT_psImageFFT_REAL_FORWARD_NOTSUPPORTED);51 _("The PS_FFT_FORWARD and PS_FFT_REAL_RESULT combinition is not supported.")); 52 52 psFree(out); 53 53 return NULL; … … 55 55 } else if ((direction & PS_FFT_REVERSE) == 0) { 56 56 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 57 PS_ERRORTEXT_psImageFFT_NO_DIRECTION_OPTION);57 _("Must specify either PS_FFT_FORWARD or PS_FFT_REVERSE option.")); 58 58 psFree(out); 59 59 return NULL; … … 86 86 if (plan == NULL) { 87 87 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 88 PS_ERRORTEXT_psImageFFT_FFTW_PLAN_NULL);88 _("Could not create a valid FFT plan to perform the transform.")); 89 89 psFree(out); 90 90 return NULL; … … 179 179 PS_TYPE_NAME(typeStr,type); 180 180 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 181 PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,181 _("Specified psImage type, %s, is not supported."), 182 182 typeStr); 183 183 … … 241 241 PS_TYPE_NAME(typeStr,type); 242 242 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 243 PS_ERRORTEXT_psImage_IMAGE_TYPE_UNSUPPORTED,243 _("Specified psImage type, %s, is not supported."), 244 244 typeStr); 245 245 psFree(out); … … 271 271 PS_TYPE_NAME(typeStrImag,imag->type.type); 272 272 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 273 PS_ERRORTEXT_psImageFFT_REAL_IMAG_TYPE_MISMATCH,273 _("Real psImage type (%s) and imaginary psImage type (%s) must be the same."), 274 274 typeStrReal,typeStrImag); 275 275 psFree(out); … … 279 279 if (imag->numCols != numCols || imag->numRows != numRows) { 280 280 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 281 PS_ERRORTEXT_psImageFFT_REAL_IMAG_SIZE_MISMATCH,281 _("Real psImage size (%dx%d) and imaginary psImage size (%dx%d) must be the same."), 282 282 numCols, numRows, imag->numCols, imag->numRows); 283 283 psFree(out); … … 320 320 PS_TYPE_NAME(typeStr,type); 321 321 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 322 PS_ERRORTEXT_psImageFFT_NONREAL_NOTSUPPORTED,322 _("Input psImage type, %s, is required to be either psF32 or psF64."), 323 323 typeStr); 324 324 psFree(out); … … 380 380 PS_TYPE_NAME(typeStr,type); 381 381 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 382 PS_ERRORTEXT_psImageFFT_NONCOMPLEX_NOTSUPPORTED,382 _("Input psImage type, %s, is required to be either psC32 or psC64."), 383 383 typeStr); 384 384 psFree(out); … … 446 446 PS_TYPE_NAME(typeStr,type); 447 447 psError(PS_ERR_BAD_PARAMETER_TYPE, true, 448 PS_ERRORTEXT_psImageFFT_NONCOMPLEX_NOTSUPPORTED,448 _("Input psImage type, %s, is required to be either psC32 or psC64."), 449 449 typeStr); 450 450 psFree(out);
Note:
See TracChangeset
for help on using the changeset viewer.
