• Home
  • Raw
  • Download

Lines Matching refs:pPnsData

111     CPnsData *pPnsData,  in CPns_ResetData()  argument
116 pPnsData->pPnsInterChannelData = pPnsInterChannelData; in CPns_ResetData()
117 pPnsData->PnsActive = 0; in CPns_ResetData()
118 pPnsData->CurrentEnergy = 0; in CPns_ResetData()
120 FDKmemclear(pPnsData->pnsUsed,(8*16)*sizeof(UCHAR)); in CPns_ResetData()
130 CPnsData *pPnsData, in CPns_InitPns() argument
135 pPnsData->pPnsInterChannelData = pPnsInterChannelData; in CPns_InitPns()
139 pPnsData->currentSeed = currentSeed; in CPns_InitPns()
140 pPnsData->randomSeed = randomSeed; in CPns_InitPns()
151 int CPns_IsPnsUsed (const CPnsData *pPnsData, in CPns_IsPnsUsed() argument
157 return pPnsData->pnsUsed[pns_band] & (UCHAR)1; in CPns_IsPnsUsed()
165 void CPns_SetCorrelation(CPnsData *pPnsData, in CPns_SetCorrelation() argument
170 CPnsInterChannelData *pInterChannelData = pPnsData->pPnsInterChannelData; in CPns_SetCorrelation()
185 int CPns_IsCorrelated(const CPnsData *pPnsData, in CPns_IsCorrelated() argument
189 CPnsInterChannelData *pInterChannelData = pPnsData->pPnsInterChannelData; in CPns_IsCorrelated()
204 int CPns_IsOutOfPhase(const CPnsData *pPnsData, in CPns_IsOutOfPhase() argument
208 CPnsInterChannelData *pInterChannelData = pPnsData->pPnsInterChannelData; in CPns_IsOutOfPhase()
219 void CPns_Read (CPnsData *pPnsData, in CPns_Read() argument
230 if (pPnsData->PnsActive) { in CPns_Read()
238 pPnsData->PnsActive = 1; in CPns_Read()
239 pPnsData->CurrentEnergy = global_gain - NOISE_OFFSET; in CPns_Read()
242 pPnsData->CurrentEnergy += delta ; in CPns_Read()
243 pScaleFactor[pns_band] = pPnsData->CurrentEnergy; in CPns_Read()
245 pPnsData->pnsUsed[pns_band] = 1; in CPns_Read()
332 void CPns_Apply (const CPnsData *pPnsData, in CPns_Apply() argument
341 if (pPnsData->PnsActive) { in CPns_Apply()
351 if (CPns_IsPnsUsed (pPnsData, group, band)) { in CPns_Apply()
359 if (channel > 0 && CPns_IsCorrelated(pPnsData, group, band)) in CPns_Apply()
362 &pPnsData->randomSeed [pns_band]) ; in CPns_Apply()
366 pPnsData->randomSeed [pns_band] = *pPnsData->currentSeed ; in CPns_Apply()
369 pPnsData->currentSeed) ; in CPns_Apply()
372 int outOfPhase = CPns_IsOutOfPhase (pPnsData, group, band); in CPns_Apply()