Lines Matching refs:pnsData

105                             PNS_DATA    *pnsData,
184 PNS_DATA *pnsData, in FDKaacEnc_PnsDetect() argument
207 FDKmemclear(pnsData->pnsFlag, MAX_GROUPED_SFB*sizeof(INT)); /* clear all pnsFlags */ in FDKaacEnc_PnsDetect()
222 pnsData->pnsFlag[sfb] = 0; /* clear all pnsFlags */ in FDKaacEnc_PnsDetect()
232 pnsData, in FDKaacEnc_PnsDetect()
250 pnsData->pnsFlag[sfb] = 0; in FDKaacEnc_PnsDetect()
261 if((pnsData->noiseFuzzyMeasure[sfb] > FL2FXCONST_SGL(0.5)) && in FDKaacEnc_PnsDetect()
269 pnsData->pnsFlag[sfb] = 1; /* PNS_ON */ in FDKaacEnc_PnsDetect()
272 pnsData->pnsFlag[sfb] = 0; /* PNS_OFF */ in FDKaacEnc_PnsDetect()
279 if((pnsData->noiseFuzzyMeasure[0]>FL2FXCONST_SGL(0.5f)) && (pnsData->pnsFlag[1])) { in FDKaacEnc_PnsDetect()
280 pnsData->pnsFlag[0] = 1; in FDKaacEnc_PnsDetect()
284 if((pnsData->noiseFuzzyMeasure[sfb]>pnsConf->np.gapFillThr) && in FDKaacEnc_PnsDetect()
285 (pnsData->pnsFlag[sfb-1]) && (pnsData->pnsFlag[sfb+1])) { in FDKaacEnc_PnsDetect()
286 pnsData->pnsFlag[sfb] = 1; in FDKaacEnc_PnsDetect()
292 …if((pnsData->noiseFuzzyMeasure[maxSfbPerGroup-1]>pnsConf->np.gapFillThr) && (pnsData->pnsFlag[maxS… in FDKaacEnc_PnsDetect()
293 pnsData->pnsFlag[maxSfbPerGroup-1] = 1; in FDKaacEnc_PnsDetect()
296 if(pnsData->pnsFlag[maxSfbPerGroup-2]==0) { in FDKaacEnc_PnsDetect()
297 pnsData->pnsFlag[maxSfbPerGroup-1] = 0; in FDKaacEnc_PnsDetect()
302 if(pnsData->pnsFlag[1]==0) { in FDKaacEnc_PnsDetect()
303 pnsData->pnsFlag[0] = 0; in FDKaacEnc_PnsDetect()
307 if((pnsData->pnsFlag[sfb-1]==0)&&(pnsData->pnsFlag[sfb+1]==0)) { in FDKaacEnc_PnsDetect()
308 pnsData->pnsFlag[sfb] = 0; in FDKaacEnc_PnsDetect()
317 pnsData->pnsFlag, in FDKaacEnc_PnsDetect()
339 PNS_DATA *pnsData, in FDKaacEnc_FDKaacEnc_noiseDetection() argument
362 FDKmemclear(pnsData->noiseFuzzyMeasure, sfbActive*sizeof(FIXP_SGL)); in FDKaacEnc_FDKaacEnc_noiseDetection()
374 pnsData->noiseFuzzyMeasure, in FDKaacEnc_FDKaacEnc_noiseDetection()