Lines Matching refs:pRvlc
129 static void calcRefValFwd(CErRvlcInfo *pRvlc, in calcRefValFwd() argument
142 conceal_min = pRvlc->conceal_min % MaximumScaleFactorBands; in calcRefValFwd()
143 conceal_group_min = pRvlc->conceal_min / MaximumScaleFactorBands; in calcRefValFwd()
186 startBand = pRvlc->maxSfbTransmitted - 1; in calcRefValFwd()
205 static void calcRefValBwd(CErRvlcInfo *pRvlc, in calcRefValBwd() argument
218 conceal_max = pRvlc->conceal_max % MaximumScaleFactorBands; in calcRefValBwd()
219 conceal_group_max = pRvlc->conceal_max / MaximumScaleFactorBands; in calcRefValBwd()
225 *refIsBwd = pRvlc->dpcm_is_last_position - SF_OFFSET; in calcRefValBwd()
226 *refNrgBwd = pRvlc->rev_global_gain + pRvlc->dpcm_noise_last_position - in calcRefValBwd()
227 SF_OFFSET - 90 - 256 + pRvlc->dpcm_noise_nrg; in calcRefValBwd()
228 *refScfBwd = pRvlc->rev_global_gain - SF_OFFSET; in calcRefValBwd()
233 for (group = conceal_group_max; group < pRvlc->numWindowGroups; group++) { in calcRefValBwd()
234 for (band = startBand; band < pRvlc->maxSfbTransmitted; band++) { in calcRefValBwd()
288 CErRvlcInfo *pRvlc = in BidirectionalEstimation_UseLowerScfOfCurrentFrame() local
306 if (pRvlc->conceal_min == CONCEAL_MIN_INIT) pRvlc->conceal_min = 0; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
308 if (pRvlc->conceal_max == CONCEAL_MAX_INIT) in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
309 pRvlc->conceal_max = in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
310 (pRvlc->numWindowGroups - 1) * 16 + pRvlc->maxSfbTransmitted - 1; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
312 conceal_min = pRvlc->conceal_min % MaximumScaleFactorBands; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
313 conceal_group_min = pRvlc->conceal_min / MaximumScaleFactorBands; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
314 conceal_max = pRvlc->conceal_max % MaximumScaleFactorBands; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
315 conceal_group_max = pRvlc->conceal_max / MaximumScaleFactorBands; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
317 if (pRvlc->conceal_min == pRvlc->conceal_max) { in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
321 bnds = pRvlc->conceal_min; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
322 calcRefValFwd(pRvlc, pAacDecoderChannelInfo, &refIsFwd, &refNrgFwd, in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
324 calcRefValBwd(pRvlc, pAacDecoderChannelInfo, &refIsBwd, &refNrgBwd, in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
352 .aRvlcScfFwd[pRvlc->conceal_max] = in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
354 .aRvlcScfBwd[pRvlc->conceal_max]; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
356 .aRvlcScfBwd[pRvlc->conceal_min] = in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
358 .aRvlcScfFwd[pRvlc->conceal_min]; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
366 endBand = pRvlc->maxSfbTransmitted - 1; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
388 endBand = pRvlc->maxSfbTransmitted; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
399 for (group = conceal_group_max; group < pRvlc->numWindowGroups; group++) { in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
400 for (band = startBand; band < pRvlc->maxSfbTransmitted; band++) { in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
435 CErRvlcInfo *pRvlc = in BidirectionalEstimation_UseScfOfPrevFrameAsReference() local
454 if (pRvlc->conceal_min == CONCEAL_MIN_INIT) pRvlc->conceal_min = 0; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
456 if (pRvlc->conceal_max == CONCEAL_MAX_INIT) in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
457 pRvlc->conceal_max = in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
458 (pRvlc->numWindowGroups - 1) * 16 + pRvlc->maxSfbTransmitted - 1; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
460 conceal_min = pRvlc->conceal_min % MaximumScaleFactorBands; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
461 conceal_group_min = pRvlc->conceal_min / MaximumScaleFactorBands; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
462 conceal_max = pRvlc->conceal_max % MaximumScaleFactorBands; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
463 conceal_group_max = pRvlc->conceal_max / MaximumScaleFactorBands; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
466 .aRvlcScfFwd[pRvlc->conceal_max] = in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
468 .aRvlcScfBwd[pRvlc->conceal_max]; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
470 .aRvlcScfBwd[pRvlc->conceal_min] = in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
472 .aRvlcScfFwd[pRvlc->conceal_min]; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
480 endBand = pRvlc->maxSfbTransmitted - 1; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
562 endBand = pRvlc->maxSfbTransmitted; in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
573 for (group = conceal_group_max; group < pRvlc->numWindowGroups; group++) { in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
574 for (band = startBand; band < pRvlc->maxSfbTransmitted; band++) { in BidirectionalEstimation_UseScfOfPrevFrameAsReference()
605 CErRvlcInfo *pRvlc = in StatisticalEstimation() local
619 for (group = 0; group < pRvlc->numWindowGroups; group++) { in StatisticalEstimation()
620 for (band = 0; band < pRvlc->maxSfbTransmitted; band++) { in StatisticalEstimation()
659 for (group = 0; group < pRvlc->numWindowGroups; group++) { in StatisticalEstimation()
660 for (band = 0; band < pRvlc->maxSfbTransmitted; band++) { in StatisticalEstimation()
718 CErRvlcInfo *pRvlc = in PredictiveInterpolation() local
723 for (group = 0; group < pRvlc->numWindowGroups; group++) { in PredictiveInterpolation()
724 for (band = 0; band < pRvlc->maxSfbTransmitted; band++) { in PredictiveInterpolation()