Lines Matching refs:pConcealCommonData
265 void CConcealment_InitCommonData(CConcealParams *pConcealCommonData) { in CConcealment_InitCommonData() argument
266 if (pConcealCommonData != NULL) { in CConcealment_InitCommonData()
270 pConcealCommonData->method = ConcealMethodInter; in CConcealment_InitCommonData()
272 pConcealCommonData->numFadeOutFrames = CONCEAL_DFLT_FADEOUT_FRAMES; in CConcealment_InitCommonData()
273 pConcealCommonData->numFadeInFrames = CONCEAL_DFLT_FADEIN_FRAMES; in CConcealment_InitCommonData()
274 pConcealCommonData->numMuteReleaseFrames = CONCEAL_DFLT_MUTE_RELEASE_FRAMES; in CConcealment_InitCommonData()
276 pConcealCommonData->comfortNoiseLevel = in CConcealment_InitCommonData()
280 pConcealCommonData->fadeOutFactor[0] = in CConcealment_InitCommonData()
282 pConcealCommonData->fadeInFactor[0] = pConcealCommonData->fadeOutFactor[0]; in CConcealment_InitCommonData()
285 pConcealCommonData->fadeOutFactor[i] = in CConcealment_InitCommonData()
286 FX_DBL2FX_SGL(fMult(pConcealCommonData->fadeOutFactor[i - 1], in CConcealment_InitCommonData()
288 pConcealCommonData->fadeInFactor[i] = in CConcealment_InitCommonData()
289 pConcealCommonData->fadeOutFactor[i]; in CConcealment_InitCommonData()
300 CConcealmentMethod CConcealment_GetMethod(CConcealParams *pConcealCommonData) { in CConcealment_GetMethod() argument
303 if (pConcealCommonData != NULL) { in CConcealment_GetMethod()
304 method = pConcealCommonData->method; in CConcealment_GetMethod()
320 CConcealParams *pConcealCommonData, in CConcealment_InitChannelData() argument
331 pConcealChannelInfo->pConcealParams = pConcealCommonData; in CConcealment_InitChannelData()
878 CConcealParams *pConcealCommonData = pConcealmentInfo->pConcealParams; in CConcealment_ApplyInter() local
1068 pConcealCommonData->numFadeOutFrames); in CConcealment_ApplyInter()
1081 pConcealCommonData->numFadeInFrames); in CConcealment_ApplyInter()
1262 static INT findEquiFadeFrame(CConcealParams *pConcealCommonData, in findEquiFadeFrame() argument
1277 referenceVal = pConcealCommonData->fadeOutFactor[actFadeIndex] >> 1; in findEquiFadeFrame()
1279 pFactor = pConcealCommonData->fadeInFactor; in findEquiFadeFrame()
1284 referenceVal = pConcealCommonData->fadeInFactor[actFadeIndex] >> 1; in findEquiFadeFrame()
1286 pFactor = pConcealCommonData->fadeOutFactor; in findEquiFadeFrame()
1300 if (nextFadeIndex > pConcealCommonData->numFadeInFrames) { in findEquiFadeFrame()
1301 nextFadeIndex = fMax(pConcealCommonData->numFadeInFrames - 1, 0); in findEquiFadeFrame()
1327 CConcealParams *pConcealCommonData = pConcealmentInfo->pConcealParams; in CConcealment_UpdateState() local
1329 switch (pConcealCommonData->method) { in CConcealment_UpdateState()
1350 if (pConcealCommonData->numFadeOutFrames > 0) { in CConcealment_UpdateState()
1372 pConcealCommonData->numFadeOutFrames) { in CConcealment_UpdateState()
1388 pConcealCommonData->numMuteReleaseFrames) { in CConcealment_UpdateState()
1389 if (pConcealCommonData->numFadeInFrames > 0) { in CConcealment_UpdateState()
1393 pConcealCommonData, pConcealmentInfo->cntFadeFrames, in CConcealment_UpdateState()
1409 pConcealCommonData->numFadeOutFrames) { in CConcealment_UpdateState()
1424 pConcealCommonData->numMuteReleaseFrames) { in CConcealment_UpdateState()
1425 if (pConcealCommonData->numFadeInFrames > 0) { in CConcealment_UpdateState()
1429 pConcealCommonData->numFadeInFrames - 1; in CConcealment_UpdateState()
1454 if (pConcealCommonData->numFadeOutFrames > 0) { in CConcealment_UpdateState()
1458 pConcealCommonData, pConcealmentInfo->cntFadeFrames + 1, in CConcealment_UpdateState()
1507 if (pConcealCommonData->numFadeOutFrames > 0) { in CConcealment_UpdateState()
1528 pConcealCommonData->numMuteReleaseFrames) { in CConcealment_UpdateState()
1529 if (pConcealCommonData->numFadeInFrames > 0) { in CConcealment_UpdateState()
1533 pConcealCommonData, pConcealmentInfo->cntFadeFrames - 1, in CConcealment_UpdateState()
1541 pConcealCommonData->numFadeOutFrames) { in CConcealment_UpdateState()
1550 pConcealCommonData->numMuteReleaseFrames) { in CConcealment_UpdateState()
1551 if (pConcealCommonData->numFadeInFrames > 0) { in CConcealment_UpdateState()
1555 pConcealCommonData->numFadeInFrames - 1; in CConcealment_UpdateState()
1573 if (pConcealCommonData->numFadeOutFrames > 0) { in CConcealment_UpdateState()
1577 pConcealCommonData, pConcealmentInfo->cntFadeFrames + 1, in CConcealment_UpdateState()
1651 UINT CConcealment_GetDelay(CConcealParams *pConcealCommonData) { in CConcealment_GetDelay() argument
1654 if (pConcealCommonData != NULL) { in CConcealment_GetDelay()
1655 switch (pConcealCommonData->method) { in CConcealment_GetDelay()