Lines Matching refs:pConcealCommonData
263 void CConcealment_InitCommonData(CConcealParams *pConcealCommonData) { in CConcealment_InitCommonData() argument
264 if (pConcealCommonData != NULL) { in CConcealment_InitCommonData()
268 pConcealCommonData->method = ConcealMethodInter; in CConcealment_InitCommonData()
270 pConcealCommonData->numFadeOutFrames = CONCEAL_DFLT_FADEOUT_FRAMES; in CConcealment_InitCommonData()
271 pConcealCommonData->numFadeInFrames = CONCEAL_DFLT_FADEIN_FRAMES; in CConcealment_InitCommonData()
272 pConcealCommonData->numMuteReleaseFrames = CONCEAL_DFLT_MUTE_RELEASE_FRAMES; in CConcealment_InitCommonData()
274 pConcealCommonData->comfortNoiseLevel = in CConcealment_InitCommonData()
278 pConcealCommonData->fadeOutFactor[0] = in CConcealment_InitCommonData()
280 pConcealCommonData->fadeInFactor[0] = pConcealCommonData->fadeOutFactor[0]; in CConcealment_InitCommonData()
283 pConcealCommonData->fadeOutFactor[i] = in CConcealment_InitCommonData()
284 FX_DBL2FX_SGL(fMult(pConcealCommonData->fadeOutFactor[i - 1], in CConcealment_InitCommonData()
286 pConcealCommonData->fadeInFactor[i] = in CConcealment_InitCommonData()
287 pConcealCommonData->fadeOutFactor[i]; in CConcealment_InitCommonData()
298 CConcealmentMethod CConcealment_GetMethod(CConcealParams *pConcealCommonData) { in CConcealment_GetMethod() argument
301 if (pConcealCommonData != NULL) { in CConcealment_GetMethod()
302 method = pConcealCommonData->method; in CConcealment_GetMethod()
318 CConcealParams *pConcealCommonData, in CConcealment_InitChannelData() argument
329 pConcealChannelInfo->pConcealParams = pConcealCommonData; in CConcealment_InitChannelData()
876 CConcealParams *pConcealCommonData = pConcealmentInfo->pConcealParams; in CConcealment_ApplyInter() local
1066 pConcealCommonData->numFadeOutFrames); in CConcealment_ApplyInter()
1079 pConcealCommonData->numFadeInFrames); in CConcealment_ApplyInter()
1265 static INT findEquiFadeFrame(CConcealParams *pConcealCommonData, in findEquiFadeFrame() argument
1280 referenceVal = pConcealCommonData->fadeOutFactor[actFadeIndex] >> 1; in findEquiFadeFrame()
1282 pFactor = pConcealCommonData->fadeInFactor; in findEquiFadeFrame()
1287 referenceVal = pConcealCommonData->fadeInFactor[actFadeIndex] >> 1; in findEquiFadeFrame()
1289 pFactor = pConcealCommonData->fadeOutFactor; in findEquiFadeFrame()
1303 if (nextFadeIndex > pConcealCommonData->numFadeInFrames) { in findEquiFadeFrame()
1304 nextFadeIndex = fMax(pConcealCommonData->numFadeInFrames - 1, 0); in findEquiFadeFrame()
1330 CConcealParams *pConcealCommonData = pConcealmentInfo->pConcealParams; in CConcealment_UpdateState() local
1332 switch (pConcealCommonData->method) { in CConcealment_UpdateState()
1353 if (pConcealCommonData->numFadeOutFrames > 0) { in CConcealment_UpdateState()
1375 pConcealCommonData->numFadeOutFrames) { in CConcealment_UpdateState()
1391 pConcealCommonData->numMuteReleaseFrames) { in CConcealment_UpdateState()
1392 if (pConcealCommonData->numFadeInFrames > 0) { in CConcealment_UpdateState()
1396 pConcealCommonData, pConcealmentInfo->cntFadeFrames, in CConcealment_UpdateState()
1412 pConcealCommonData->numFadeOutFrames) { in CConcealment_UpdateState()
1427 pConcealCommonData->numMuteReleaseFrames) { in CConcealment_UpdateState()
1428 if (pConcealCommonData->numFadeInFrames > 0) { in CConcealment_UpdateState()
1432 pConcealCommonData->numFadeInFrames - 1; in CConcealment_UpdateState()
1457 if (pConcealCommonData->numFadeOutFrames > 0) { in CConcealment_UpdateState()
1461 pConcealCommonData, pConcealmentInfo->cntFadeFrames + 1, in CConcealment_UpdateState()
1510 if (pConcealCommonData->numFadeOutFrames > 0) { in CConcealment_UpdateState()
1531 pConcealCommonData->numMuteReleaseFrames) { in CConcealment_UpdateState()
1532 if (pConcealCommonData->numFadeInFrames > 0) { in CConcealment_UpdateState()
1536 pConcealCommonData, pConcealmentInfo->cntFadeFrames - 1, in CConcealment_UpdateState()
1544 pConcealCommonData->numFadeOutFrames) { in CConcealment_UpdateState()
1553 pConcealCommonData->numMuteReleaseFrames) { in CConcealment_UpdateState()
1554 if (pConcealCommonData->numFadeInFrames > 0) { in CConcealment_UpdateState()
1558 pConcealCommonData->numFadeInFrames - 1; in CConcealment_UpdateState()
1576 if (pConcealCommonData->numFadeOutFrames > 0) { in CConcealment_UpdateState()
1580 pConcealCommonData, pConcealmentInfo->cntFadeFrames + 1, in CConcealment_UpdateState()
1654 UINT CConcealment_GetDelay(CConcealParams *pConcealCommonData) { in CConcealment_GetDelay() argument
1657 if (pConcealCommonData != NULL) { in CConcealment_GetDelay()
1658 switch (pConcealCommonData->method) { in CConcealment_GetDelay()