Lines Matching refs:hConcealmentInfo

547     CConcealmentInfo *hConcealmentInfo,  in CConcealment_Store()  argument
566 tWindowSequence = hConcealmentInfo->windowSequence; in CConcealment_Store()
567 tWindowShape = hConcealmentInfo->windowShape; in CConcealment_Store()
570 FDKmemcpy(tSpecScale, hConcealmentInfo->specScale, 8 * sizeof(SHORT)); in CConcealment_Store()
573 hConcealmentInfo->windowSequence = GetWindowSequence(pIcsInfo); in CConcealment_Store()
574 hConcealmentInfo->windowShape = GetWindowShape(pIcsInfo); in CConcealment_Store()
575 hConcealmentInfo->lastWinGrpLen = in CConcealment_Store()
579 FDKmemcpy(hConcealmentInfo->specScale, pSpecScale, 8 * sizeof(SHORT)); in CConcealment_Store()
581 if (hConcealmentInfo->pConcealParams->method < ConcealMethodInter) { in CConcealment_Store()
584 FDKmemcpy(hConcealmentInfo->spectralCoefficient, pSpectralCoefficient, in CConcealment_Store()
588 &hConcealmentInfo->spectralCoefficient[1024 - 1]; in CConcealment_Store()
600 FDKmemcpy(pSpectralCoefficient, hConcealmentInfo->spectralCoefficient, in CConcealment_Store()
602 FDKmemcpy(hConcealmentInfo->spectralCoefficient, pSpecTmp, in CConcealment_Store()
607 &hConcealmentInfo->spectralCoefficient[1024 - 1]; in CConcealment_Store()
629 FDKmemcpy(hConcealmentInfo->lsf4, pAacDecoderStaticChannelInfo->lpc4_lsf, in CConcealment_Store()
630 sizeof(hConcealmentInfo->lsf4)); in CConcealment_Store()
632 hConcealmentInfo->last_tcx_gain = in CConcealment_Store()
634 hConcealmentInfo->last_tcx_gain_e = in CConcealment_Store()
645 CConcealmentInfo *hConcealmentInfo, in CConcealment_Apply() argument
652 frameOk && (hConcealmentInfo->concealState >= ConcealState_Mute) && in CConcealment_Apply()
653 (hConcealmentInfo->cntValidFrames + 1 <= in CConcealment_Apply()
654 hConcealmentInfo->pConcealParams->numMuteReleaseFrames); in CConcealment_Apply()
656 if (hConcealmentInfo->windowShape == CONCEAL_NOT_DEFINED) { in CConcealment_Apply()
661 hConcealmentInfo->windowShape = pAacDecoderChannelInfo->icsInfo.WindowShape; in CConcealment_Apply()
666 hConcealmentInfo->lastRenderMode = in CConcealment_Apply()
670 CConcealment_Store(hConcealmentInfo, pAacDecoderChannelInfo, in CConcealment_Apply()
674 hConcealmentInfo->iRandomPhase = 0; in CConcealment_Apply()
676 if (hConcealmentInfo->lastRenderMode == AACDEC_RENDER_INVALID) { in CConcealment_Apply()
677 hConcealmentInfo->lastRenderMode = AACDEC_RENDER_IMDCT; in CConcealment_Apply()
680 (AACDEC_RENDER_MODE)hConcealmentInfo->lastRenderMode; in CConcealment_Apply()
684 CConcealment_UpdateState(hConcealmentInfo, frameOk, in CConcealment_Apply()
694 hConcealmentInfo->lastRenderMode == AACDEC_RENDER_IMDCT); in CConcealment_Apply()
695 FDKmemcpy(hConcealmentInfo->lsf4, pAacDecoderStaticChannelInfo->lpc4_lsf, in CConcealment_Apply()
705 FDKmemcpy(pAacDecoderStaticChannelInfo->lpc4_lsf, hConcealmentInfo->lsf4, in CConcealment_Apply()
709 hConcealmentInfo->last_tcx_gain; in CConcealment_Apply()
711 hConcealmentInfo->last_tcx_gain_e; in CConcealment_Apply()
716 switch (hConcealmentInfo->pConcealParams->method) { in CConcealment_Apply()
725 hConcealmentInfo->windowShape; in CConcealment_Apply()
733 hConcealmentInfo, pAacDecoderChannelInfo, in CConcealment_Apply()
741 hConcealmentInfo, pAacDecoderChannelInfo, pSamplingRateInfo, in CConcealment_Apply()
754 &hConcealmentInfo->spectralCoefficient[1024 - 1]; in CConcealment_Apply()
760 pIcsInfo->WindowSequence = hConcealmentInfo->windowSequence; in CConcealment_Apply()
761 pIcsInfo->WindowShape = hConcealmentInfo->windowShape; in CConcealment_Apply()
763 if (hConcealmentInfo->concealState != ConcealState_Mute) { in CConcealment_Apply()
765 FDKmemcpy(pSpecScale, hConcealmentInfo->specScale, 8 * sizeof(SHORT)); in CConcealment_Apply()
769 FDKmemcpy(pSpectralCoefficient, hConcealmentInfo->spectralCoefficient, in CConcealment_Apply()
786 hConcealmentInfo->prevFrameOk[0] = hConcealmentInfo->prevFrameOk[1]; in CConcealment_Apply()
787 hConcealmentInfo->prevFrameOk[1] = frameOk; in CConcealment_Apply()
1638 int CConcealment_GetLastFrameOk(CConcealmentInfo *hConcealmentInfo, in CConcealment_GetLastFrameOk() argument
1642 if (hConcealmentInfo != NULL) { in CConcealment_GetLastFrameOk()
1643 prevFrameOk = hConcealmentInfo->prevFrameOk[fBeforeApply & 0x1]; in CConcealment_GetLastFrameOk()