Lines Matching refs:pCChar
166 const CUSTOM_DRC_CHAR* pCChar, int* pSlopeSign) { in _getSlopeSign() argument
168 *pSlopeSign = (pCChar->sigmoid.flipSign ? 1 : -1); in _getSlopeSign()
171 for (k = 0; k < pCChar->nodes.characteristicNodeCount; k++) { in _getSlopeSign()
172 if (pCChar->nodes.nodeLevel[k + 1] > pCChar->nodes.nodeLevel[k]) { in _getSlopeSign()
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()
190 const CUSTOM_DRC_CHAR* pCChar[2], in _isSlopeNegative()
195 err = _getSlopeSign(drcCharFormat[CS_LEFT], pCChar[CS_LEFT], in _isSlopeNegative()
199 err = _getSlopeSign(drcCharFormat[CS_RIGHT], pCChar[CS_RIGHT], in _isSlopeNegative()
295 static DRC_ERROR _compressorIO_sigmoid(const CUSTOM_DRC_CHAR_SIGMOID* pCChar, in _compressorIO_sigmoid() argument
300 FIXP_SGL exp = pCChar->exp; in _compressorIO_sigmoid()
304 pCChar->ioRatio); in _compressorIO_sigmoid()
309 err = _compressorIO_sigmoid_common(tmp, FX_SGL2FX_DBL(pCChar->gain), in _compressorIO_sigmoid()
316 if (pCChar->flipSign == 1) { in _compressorIO_sigmoid()
323 const CUSTOM_DRC_CHAR_SIGMOID* pCChar, const FIXP_SGL gainDb, in _compressorIO_sigmoid_inverse() argument
326 FIXP_SGL ioRatio = pCChar->ioRatio; in _compressorIO_sigmoid_inverse()
327 FIXP_SGL exp = pCChar->exp; in _compressorIO_sigmoid_inverse()
331 if (pCChar->flipSign == 1) { in _compressorIO_sigmoid_inverse()
337 err = _compressorIO_sigmoid_common(tmp, FX_SGL2FX_DBL(pCChar->gain), in _compressorIO_sigmoid_inverse()
352 static DRC_ERROR _compressorIO_nodes(const CUSTOM_DRC_CHAR_NODES* pCChar, in _compressorIO_nodes() argument
358 const FIXP_SGL* nodeLevel = pCChar->nodeLevel; in _compressorIO_nodes()
359 const FIXP_SGL* nodeGain = pCChar->nodeGain; in _compressorIO_nodes()
362 for (n = 0; n < pCChar->characteristicNodeCount; n++) { in _compressorIO_nodes()
374 for (n = 0; n < pCChar->characteristicNodeCount; n++) { in _compressorIO_nodes()
386 *outGainDb = FX_SGL2FX_DBL(nodeGain[pCChar->characteristicNodeCount]); in _compressorIO_nodes()
391 const CUSTOM_DRC_CHAR_NODES* pCChar, const FIXP_SGL gainDb, /* e = 7 */ in _compressorIO_nodes_inverse() argument
398 const FIXP_SGL* nodeLevel = pCChar->nodeLevel; in _compressorIO_nodes_inverse()
399 const FIXP_SGL* nodeGain = pCChar->nodeGain; in _compressorIO_nodes_inverse()
400 int nodeCount = pCChar->characteristicNodeCount; in _compressorIO_nodes_inverse()
402 if (pCChar->nodeGain[k + 1] < (FIXP_SGL)0) { in _compressorIO_nodes_inverse()