MCPcopy Create free account
hub / github.com/ValveSoftware/steam-audio / getSplitComplex

Function getSplitComplex

core/src/core/vdsp_array_math.cpp:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27// --------------------------------------------------------------------------------------------------------------------
28
29static DSPSplitComplex getSplitComplex(const complex_t* in)
30{
31 DSPSplitComplex inSplit{};
32 inSplit.realp = const_cast<float*>(&reinterpret_cast<const float*>(in)[0]);
33 inSplit.imagp = const_cast<float*>(&reinterpret_cast<const float*>(in)[1]);
34 return inSplit;
35}
36
37static DSPSplitComplex getSplitComplex(complex_t* in)
38{

Callers 5

addMethod · 0.85
multiplyMethod · 0.85
multiplyAccumulateMethod · 0.85
magnitudeMethod · 0.85
phaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected