• Home
  • Raw
  • Download

Lines Matching refs:nodeMod

500     const NODE_MODIFICATION* nodeMod, const int drcBand,  in _toLinear()  argument
508 DUCKING_MODIFICATION* pDMod = nodeMod->pDMod; in _toLinear()
512 if (nodeMod->pGMod != NULL) { in _toLinear()
513 pGMod = &(nodeMod->pGMod[drcBand]); in _toLinear()
515 if (((nodeMod->drcSetEffect & (EB_DUCK_OTHER | EB_DUCK_SELF)) == 0) && in _toLinear()
516 (nodeMod->drcSetEffect != EB_FADE) && in _toLinear()
517 (nodeMod->drcSetEffect != EB_CLIPPING)) { in _toLinear()
521 if ((pGMod != NULL) && (nodeMod->drcCharacteristicPresent)) { in _toLinear()
522 if (((gainDb > (FIXP_SGL)0) && nodeMod->slopeIsNegative) || in _toLinear()
523 ((gainDb < (FIXP_SGL)0) && !nodeMod->slopeIsNegative)) { in _toLinear()
526 err = _mapGain(nodeMod->characteristicFormatSource[CS_LEFT], in _toLinear()
527 nodeMod->pCCharSource[CS_LEFT], in _toLinear()
528 nodeMod->characteristicFormatTarget[CS_LEFT], in _toLinear()
529 nodeMod->pCCharTarget[CS_LEFT], gainDb, &gainDbMapped); in _toLinear()
543 _mapGain(nodeMod->characteristicFormatSource[CS_RIGHT], in _toLinear()
544 nodeMod->pCCharSource[CS_RIGHT], in _toLinear()
545 nodeMod->characteristicFormatTarget[CS_RIGHT], in _toLinear()
546 nodeMod->pCCharTarget[CS_RIGHT], gainDb, &gainDbMapped); in _toLinear()
555 gainRatio_m = fMultDiv2(gainRatio_m, nodeMod->compress); in _toLinear()
557 gainRatio_m = fMultDiv2(gainRatio_m, nodeMod->boost); in _toLinear()
570 (nodeMod->drcSetEffect & (EB_DUCK_OTHER | EB_DUCK_SELF)) && in _toLinear()
584 if ((nodeMod->limiterPeakTargetPresent == 1) && in _toLinear()
585 (nodeMod->drcSetEffect == in _toLinear()
593 (FX_SGL2FX_DBL(-nodeMod->limiterPeakTarget) >> 3) - in _toLinear()
594 (nodeMod->loudnessNormalizationGainDb >> 1)); /* resulting e: 8 */ in _toLinear()
625 if ((nodeMod->limiterPeakTargetPresent == 1) && in _toLinear()
626 (nodeMod->drcSetEffect == EB_CLIPPING)) { in _toLinear()
644 NODE_MODIFICATION nodeMod; in prepareDrcGain() local
645 FDKmemclear(&nodeMod, sizeof(NODE_MODIFICATION)); in prepareDrcGain()
650 nodeMod.drcSetEffect = pInst->drcSetEffect; in prepareDrcGain()
652 nodeMod.compress = compress; in prepareDrcGain()
653 nodeMod.boost = boost; in prepareDrcGain()
654 nodeMod.loudnessNormalizationGainDb = loudnessNormalizationGainDb; in prepareDrcGain()
655 nodeMod.limiterPeakTargetPresent = pInst->limiterPeakTargetPresent; in prepareDrcGain()
656 nodeMod.limiterPeakTarget = pInst->limiterPeakTarget; in prepareDrcGain()
668 if (nodeMod.drcSetEffect & (EB_DUCK_OTHER | EB_DUCK_SELF)) { in prepareDrcGain()
669 nodeMod.pDMod = &(pActiveDrc->duckingModificationForChannelGroup[g]); in prepareDrcGain()
670 nodeMod.pGMod = NULL; in prepareDrcGain()
672 nodeMod.pGMod = pInst->gainModificationForChannelGroup[g]; in prepareDrcGain()
673 nodeMod.pDMod = NULL; in prepareDrcGain()
694 err = _prepareDrcCharacteristic(pDChar, pCoef, b, &nodeMod); in prepareDrcGain()
701 err = _toLinear(&nodeMod, b, hUniDrcGain->gainNode[seq][i].gainDb, in prepareDrcGain()