Searched refs:pCChar (Results 1 – 2 of 2) sorted by relevance
166 const CUSTOM_DRC_CHAR* pCChar, int* pSlopeSign) { in _getSlopeSign() argument168 *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()[all …]
763 CUSTOM_DRC_CHAR* pCChar, in _readCustomDrcCharacteristic() argument772 pCChar->sigmoid.gain = (FIXP_SGL)(bsGain << (FRACT_BITS - 1 - 6)); in _readCustomDrcCharacteristic()774 pCChar->sigmoid.gain = (FIXP_SGL)(-bsGain << (FRACT_BITS - 1 - 6)); in _readCustomDrcCharacteristic()778 pCChar->sigmoid.ioRatio = in _readCustomDrcCharacteristic()783 pCChar->sigmoid.exp = (FIXP_SGL)((1 + 2 * bsExp) << (FRACT_BITS - 1 - 5)); in _readCustomDrcCharacteristic()785 pCChar->sigmoid.exp = (FIXP_SGL)MAXVAL_SGL; /* represents infinity */ in _readCustomDrcCharacteristic()787 pCChar->sigmoid.flipSign = FDKreadBits(hBs, 1); in _readCustomDrcCharacteristic()792 pCChar->nodes.characteristicNodeCount = bsCharacteristicNodeCount + 1; in _readCustomDrcCharacteristic()793 if (pCChar->nodes.characteristicNodeCount > 4) return DE_MEMORY_ERROR; in _readCustomDrcCharacteristic()794 pCChar->nodes.nodeLevel[0] = DRC_INPUT_LOUDNESS_TARGET_SGL; in _readCustomDrcCharacteristic()[all …]