MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / cftb040

Function cftb040

extlibs/soloud/src/core/soloud_fft.cpp:2210–2230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2208 }
2209
2210 void cftb040(float *a)
2211 {
2212 float x0r, x0i, x1r, x1i, x2r, x2i, x3r, x3i;
2213
2214 x0r = a[0] + a[4];
2215 x0i = a[1] + a[5];
2216 x1r = a[0] - a[4];
2217 x1i = a[1] - a[5];
2218 x2r = a[2] + a[6];
2219 x2i = a[3] + a[7];
2220 x3r = a[2] - a[6];
2221 x3i = a[3] - a[7];
2222 a[0] = x0r + x2r;
2223 a[1] = x0i + x2i;
2224 a[2] = x1r + x3i;
2225 a[3] = x1i - x3r;
2226 a[4] = x0r - x2r;
2227 a[5] = x0i - x2i;
2228 a[6] = x1r - x3i;
2229 a[7] = x1i + x3r;
2230 }
2231
2232 void cftx020(float *a)
2233 {

Callers 1

cftbsubFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected