Lines Matching defs:pnsConf

104 static void FDKaacEnc_FDKaacEnc_noiseDetection( PNS_CONFIG  *pnsConf,
123 description: fill pnsConf with pns parameters
132 AAC_ENCODER_ERROR FDKaacEnc_InitPnsConfiguration(PNS_CONFIG *pnsConf,
144 ErrorStatus = FDKaacEnc_GetPnsParam(&pnsConf->np,
155 pnsConf->minCorrelationEnergy = minCorrelationEnergy;
156 pnsConf->noiseCorrelationThresh = noiseCorrelationThresh;
158 pnsConf->usePns = usePns;
183 void FDKaacEnc_PnsDetect(PNS_CONFIG *pnsConf,
203 if (pnsConf->np.detectionAlgorithmFlags & IS_LOW_COMLEXITY) {
204 if ( (!pnsConf->usePns) || /* pns enabled? */
215 if(!pnsConf->usePns)
219 if (pnsConf->np.detectionAlgorithmFlags & JUST_LONG_WINDOW) {
231 FDKaacEnc_FDKaacEnc_noiseDetection( pnsConf,
243 startNoiseSfb = pnsConf->np.startSfb;
284 if((pnsData->noiseFuzzyMeasure[sfb]>pnsConf->np.gapFillThr) &&
292 if((pnsData->noiseFuzzyMeasure[maxSfbPerGroup-1]>pnsConf->np.gapFillThr) && (pnsData->pnsFlag[maxSfbPerGroup-2])) {
338 static void FDKaacEnc_FDKaacEnc_noiseDetection( PNS_CONFIG *pnsConf,
350 if ( !(pnsConf->np.detectionAlgorithmFlags & IS_LOW_COMLEXITY) ) {
357 if((pnsConf->np.detectionAlgorithmFlags & USE_TNS_GAIN_THR) &&
358 (tnsPredictionGain >= pnsConf->np.tnsGainThreshold) && condition &&
359 !((pnsConf->np.detectionAlgorithmFlags & USE_TNS_PNS) && (tnsPredictionGain >= pnsConf->np.tnsPNSGainThreshold) && (tnsActive)) )
375 &pnsConf->np,
426 PNS_CONFIG *pnsConf,
437 if(!pnsConf->usePns) {
495 PNS_CONFIG *RESTRICT pnsConf,
502 if(!pnsConf->usePns)
546 PNS_CONFIG *pnsConf,
554 if(!pnsConf->usePns)
566 if(pnsDataLeft->noiseEnergyCorrelation[sfb] <= pnsConf->noiseCorrelationThresh){
585 if(pnsDataLeft->noiseEnergyCorrelation[sfb] > pnsConf->noiseCorrelationThresh) {