Changeset 33955 for trunk/psLib/src/fft/psImageFFT.c
- Timestamp:
- May 29, 2012, 5:19:26 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fft/psImageFFT.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fft/psImageFFT.c
r29592 r33955 77 77 input = psMemIncrRefCounter(in->p_rawDataBuffer); 78 78 } else { 79 // Need to copy the data80 input = psAlloc(numCols * numRows);79 // Need to copy the data 80 input = psAlloc(numCols * numRows * PSELEMTYPE_SIZEOF(PS_TYPE_F32)); 81 81 for (int y = 0; y < numRows; y++) { 82 82 memcpy(&input[y * numRows], in->data.F32[y], numCols);
Note:
See TracChangeset
for help on using the changeset viewer.
