Lines Matching refs:nodeGain
174 _getSign(pCChar->nodes.nodeGain[k + 1] - pCChar->nodes.nodeGain[k]); in _getSlopeSign()
176 tmp_slopeSign = -_getSign(pCChar->nodes.nodeGain[k + 1] - in _getSlopeSign()
177 pCChar->nodes.nodeGain[k]); in _getSlopeSign()
359 const FIXP_SGL* nodeGain = pCChar->nodeGain; in _compressorIO_nodes() local
367 *outGainDb = fMult(w, nodeGain[n]) + in _compressorIO_nodes()
368 fMult((FIXP_DBL)MAXVAL_DBL - w, nodeGain[n + 1]); in _compressorIO_nodes()
379 *outGainDb = fMult(w, nodeGain[n]) + in _compressorIO_nodes()
380 fMult((FIXP_DBL)MAXVAL_DBL - w, nodeGain[n + 1]); in _compressorIO_nodes()
386 *outGainDb = FX_SGL2FX_DBL(nodeGain[pCChar->characteristicNodeCount]); in _compressorIO_nodes()
399 const FIXP_SGL* nodeGain = pCChar->nodeGain; in _compressorIO_nodes_inverse() local
402 if (pCChar->nodeGain[k + 1] < (FIXP_SGL)0) { in _compressorIO_nodes_inverse()
407 if (gainDb <= nodeGain[nodeCount]) { in _compressorIO_nodes_inverse()
414 if ((gainDb <= nodeGain[n]) && (gainDb > nodeGain[n + 1])) { in _compressorIO_nodes_inverse()
415 FIXP_SGL gainDelta = nodeGain[n] - nodeGain[n + 1]; in _compressorIO_nodes_inverse()
420 w = fDivNorm(gainDb - nodeGain[n + 1], gainDelta); in _compressorIO_nodes_inverse()
431 if (gainDb >= nodeGain[nodeCount]) { in _compressorIO_nodes_inverse()
438 if ((gainDb >= nodeGain[n]) && (gainDb < nodeGain[n + 1])) { in _compressorIO_nodes_inverse()
439 FIXP_SGL gainDelta = nodeGain[n + 1] - nodeGain[n]; in _compressorIO_nodes_inverse()
444 w = fDivNorm(nodeGain[n + 1] - gainDb, gainDelta); in _compressorIO_nodes_inverse()