Lines Matching defs:scale
59 // Set the forward scale factor to 2 to match Accelerate.framework's.
65 // Set the backward scale factor to 1 / 2n to match Accelerate.framework's.
67 double scale = 1.0 / (2.0 * fftSize);
68 status = DftiSetValue(handle, DFTI_BACKWARD_SCALE, scale);
146 float scale = 0.5f;
149 realP1[0] *= scale * realP2[0];
150 imagP1[0] *= scale * imagP2[0];
164 // De-interleave and scale the rest of the data.
168 realP1[i] = scale * interleavedData1[baseComplexIndex];
169 imagP1[i] = scale * interleavedData1[baseComplexIndex + 1];