Lines Matching refs:gainDb
323 const CUSTOM_DRC_CHAR_SIGMOID* pCChar, const FIXP_SGL gainDb, in _compressorIO_sigmoid_inverse() argument
328 FIXP_DBL tmp = FX_SGL2FX_DBL(gainDb), tmp_out; in _compressorIO_sigmoid_inverse()
391 const CUSTOM_DRC_CHAR_NODES* pCChar, const FIXP_SGL gainDb, /* e = 7 */ in _compressorIO_nodes_inverse() argument
407 if (gainDb <= nodeGain[nodeCount]) { in _compressorIO_nodes_inverse()
410 if (gainDb >= (FIXP_SGL)0) { in _compressorIO_nodes_inverse()
414 if ((gainDb <= nodeGain[n]) && (gainDb > 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()
434 if (gainDb <= (FIXP_SGL)0) { in _compressorIO_nodes_inverse()
438 if ((gainDb >= nodeGain[n]) && (gainDb < nodeGain[n + 1])) { in _compressorIO_nodes_inverse()
444 w = fDivNorm(nodeGain[n + 1] - gainDb, gainDelta); in _compressorIO_nodes_inverse()
501 const FIXP_SGL gainDb, /* in: gain value in dB, e = 7 */ in _toLinear() argument
522 if (((gainDb > (FIXP_SGL)0) && nodeMod->slopeIsNegative) || in _toLinear()
523 ((gainDb < (FIXP_SGL)0) && !nodeMod->slopeIsNegative)) { in _toLinear()
529 nodeMod->pCCharTarget[CS_LEFT], gainDb, &gainDbMapped); in _toLinear()
532 gainDbMapped, FX_SGL2FX_DBL(gainDb), in _toLinear()
546 nodeMod->pCCharTarget[CS_RIGHT], gainDb, &gainDbMapped); in _toLinear()
549 gainDbMapped, FX_SGL2FX_DBL(gainDb), in _toLinear()
554 if (gainDb < (FIXP_SGL)0) { in _toLinear()
562 if (gainDb < (FIXP_SGL)0) { in _toLinear()
577 fMultDiv2(gainDb, gainRatio_m); /* resulting e: 7 + gainRatio_e + 1*/ in _toLinear()
701 err = _toLinear(&nodeMod, b, hUniDrcGain->gainNode[seq][i].gainDb, in prepareDrcGain()