Lines Matching refs:pAacDecoderChannelInfo
161 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CBlock_ReadScaleFactorData() argument
170 …int factor = pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain; /* accu for scale factor de… in CBlock_ReadScaleFactorData()
171 UCHAR *pCodeBook = pAacDecoderChannelInfo->pDynData->aCodeBook; in CBlock_ReadScaleFactorData()
172 SHORT *pScaleFactor = pAacDecoderChannelInfo->pDynData->aScaleFactor; in CBlock_ReadScaleFactorData()
175 …int ScaleFactorBandsTransmitted = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo->icsInfo); in CBlock_ReadScaleFactorData()
176 for (group=0; group < GetWindowGroups(&pAacDecoderChannelInfo->icsInfo); group++) in CBlock_ReadScaleFactorData()
205 …CPns_Read( &pAacDecoderChannelInfo->data.aac.PnsData, bs, hcb, pAacDecoderChannelInfo->pDynData->a… in CBlock_ReadScaleFactorData()
214 void CBlock_ScaleSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo, SamplingRateInfo *pSa… in CBlock_ScaleSpectralData() argument
218 const SHORT * RESTRICT pSfbScale = pAacDecoderChannelInfo->pDynData->aSfbScale; in CBlock_ScaleSpectralData()
219 SHORT * RESTRICT pSpecScale = pAacDecoderChannelInfo->specScale; in CBlock_ScaleSpectralData()
221 …const SHORT * RESTRICT BandOffsets = GetScaleFactorBandOffsets(&pAacDecoderChannelInfo->icsInfo, p… in CBlock_ScaleSpectralData()
222 SPECTRAL_PTR RESTRICT pSpectralCoefficient = pAacDecoderChannelInfo->pSpectralCoefficient; in CBlock_ScaleSpectralData()
227 int max_band = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo->icsInfo); in CBlock_ScaleSpectralData()
228 for (window=0, group=0; group < GetWindowGroups(&pAacDecoderChannelInfo->icsInfo); group++) in CBlock_ScaleSpectralData()
230 …for (groupwin=0; groupwin < GetWindowGroupLength(&pAacDecoderChannelInfo->icsInfo,group); groupwin… in CBlock_ScaleSpectralData()
233 … FIXP_DBL *pSpectrum = SPEC(pSpectralCoefficient, window, pAacDecoderChannelInfo->granuleLength); in CBlock_ScaleSpectralData()
241 if (pAacDecoderChannelInfo->pDynData->TnsData.Active) { in CBlock_ScaleSpectralData()
273 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CBlock_ReadSectionData() argument
281 UCHAR *pCodeBook = pAacDecoderChannelInfo->pDynData->aCodeBook; in CBlock_ReadSectionData()
283 SHORT *pNumLinesInSec = pAacDecoderChannelInfo->pDynData->specificTo.aac.aNumLineInSec4Hcr; in CBlock_ReadSectionData()
285 UCHAR *pHcrCodeBook = pAacDecoderChannelInfo->pDynData->specificTo.aac.aCodeBooks4Hcr; in CBlock_ReadSectionData()
286 …const SHORT *BandOffsets = GetScaleFactorBandOffsets(&pAacDecoderChannelInfo->icsInfo, pSamplingRa… in CBlock_ReadSectionData()
287 pAacDecoderChannelInfo->pDynData->specificTo.aac.numberSection = 0; in CBlock_ReadSectionData()
292 const int nbits = (IsLongBlock(&pAacDecoderChannelInfo->icsInfo) == 1) ? 5 : 3; in CBlock_ReadSectionData()
296 …UCHAR ScaleFactorBandsTransmitted = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo->icsInf… in CBlock_ReadSectionData()
297 for (group=0; group<GetWindowGroups(&pAacDecoderChannelInfo->icsInfo); group++) in CBlock_ReadSectionData()
339 pAacDecoderChannelInfo->pDynData->specificTo.aac.numberSection++; in CBlock_ReadSectionData()
343 if (IsLongBlock( &(pAacDecoderChannelInfo->icsInfo) )) in CBlock_ReadSectionData()
356 …|| ( (sect_cb == INTENSITY_HCB || sect_cb == INTENSITY_HCB2) && pAacDecoderChannelInfo->pDynData->… in CBlock_ReadSectionData()
426 AAC_DECODER_ERROR CBlock_InverseQuantizeSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo… in CBlock_InverseQuantizeSpectralData() argument
429 …int ScaleFactorBandsTransmitted = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo->icsInfo); in CBlock_InverseQuantizeSpectralData()
430 UCHAR *RESTRICT pCodeBook = pAacDecoderChannelInfo->pDynData->aCodeBook; in CBlock_InverseQuantizeSpectralData()
431 SHORT *RESTRICT pSfbScale = pAacDecoderChannelInfo->pDynData->aSfbScale; in CBlock_InverseQuantizeSpectralData()
432 SHORT *RESTRICT pScaleFactor = pAacDecoderChannelInfo->pDynData->aScaleFactor; in CBlock_InverseQuantizeSpectralData()
433 …const SHORT *RESTRICT BandOffsets = GetScaleFactorBandOffsets(&pAacDecoderChannelInfo->icsInfo, pS… in CBlock_InverseQuantizeSpectralData()
435 FDKmemclear(pAacDecoderChannelInfo->pDynData->aSfbScale, (8*16)*sizeof(SHORT)); in CBlock_InverseQuantizeSpectralData()
437 for (window=0, group=0; group < GetWindowGroups(&pAacDecoderChannelInfo->icsInfo); group++) in CBlock_InverseQuantizeSpectralData()
439 …for (groupwin=0; groupwin < GetWindowGroupLength(&pAacDecoderChannelInfo->icsInfo,group); groupwin… in CBlock_InverseQuantizeSpectralData()
444 …FIXP_DBL *pSpectralCoefficient = SPEC(pAacDecoderChannelInfo->pSpectralCoefficient, window, pAacDe… in CBlock_InverseQuantizeSpectralData()
503 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CBlock_ReadSpectralData() argument
509 UCHAR *RESTRICT pCodeBook = pAacDecoderChannelInfo->pDynData->aCodeBook; in CBlock_ReadSpectralData()
510 …const SHORT *RESTRICT BandOffsets = GetScaleFactorBandOffsets(&pAacDecoderChannelInfo->icsInfo, pS… in CBlock_ReadSpectralData()
512 SPECTRAL_PTR pSpectralCoefficient = pAacDecoderChannelInfo->pSpectralCoefficient; in CBlock_ReadSpectralData()
515 …int ScaleFactorBandsTransmitted = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo->icsInfo); in CBlock_ReadSpectralData()
526 for (group=0; group < GetWindowGroups(&pAacDecoderChannelInfo->icsInfo); group++) in CBlock_ReadSpectralData()
548 …for (groupwin=0; groupwin < GetWindowGroupLength(&pAacDecoderChannelInfo->icsInfo,group); groupwin… in CBlock_ReadSpectralData()
552 …FIXP_DBL *mdctSpectrum = SPEC(pSpectralCoefficient, window, pAacDecoderChannelInfo->granuleLength); in CBlock_ReadSpectralData()
583 groupoffset += GetWindowGroupLength(&pAacDecoderChannelInfo->icsInfo,group); in CBlock_ReadSpectralData()
590 H_HCR_INFO hHcr = &pAacDecoderChannelInfo->pComData->overlay.aac.erHcrInfo; in CBlock_ReadSpectralData()
594 if ( pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData != 0 ) { in CBlock_ReadSpectralData()
597 hcrStatus = HcrInit(hHcr, pAacDecoderChannelInfo, pSamplingRateInfo, bs); in CBlock_ReadSpectralData()
604 hcrStatus = HcrDecoder(hHcr, pAacDecoderChannelInfo, pSamplingRateInfo, bs); in CBlock_ReadSpectralData()
614 FDKpushFor (bs, pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData); in CBlock_ReadSpectralData()
621 if ( IsLongBlock(&pAacDecoderChannelInfo->icsInfo) && !(flags & (AC_ELD|AC_SCALABLE)) ) in CBlock_ReadSpectralData()
624 CPulseData_Apply(&pAacDecoderChannelInfo->pDynData->specificTo.aac.PulseData, in CBlock_ReadSpectralData()
625 … GetScaleFactorBandOffsets(&pAacDecoderChannelInfo->icsInfo, pSamplingRateInfo), in CBlock_ReadSpectralData()
635 void ApplyTools ( CAacDecoderChannelInfo *pAacDecoderChannelInfo[], in ApplyTools() argument
643 &pAacDecoderChannelInfo[channel]->data.aac.PnsData, in ApplyTools()
644 &pAacDecoderChannelInfo[channel]->icsInfo, in ApplyTools()
645 pAacDecoderChannelInfo[channel]->pSpectralCoefficient, in ApplyTools()
646 pAacDecoderChannelInfo[channel]->specScale, in ApplyTools()
647 pAacDecoderChannelInfo[channel]->pDynData->aScaleFactor, in ApplyTools()
649 pAacDecoderChannelInfo[channel]->granuleLength, in ApplyTools()
655 &pAacDecoderChannelInfo[channel]->pDynData->TnsData, in ApplyTools()
656 &pAacDecoderChannelInfo[channel]->icsInfo, in ApplyTools()
657 pAacDecoderChannelInfo[channel]->pSpectralCoefficient, in ApplyTools()
659 pAacDecoderChannelInfo[channel]->granuleLength in ApplyTools()
677 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CBlock_FrequencyToTime() argument
693 switch( pAacDecoderChannelInfo->icsInfo.WindowSequence ) { in CBlock_FrequencyToTime()
697 fr = frameLen - getWindow2Nr(frameLen, GetWindowShape(&pAacDecoderChannelInfo->icsInfo)); in CBlock_FrequencyToTime()
718 FIXP_DBL *tmp = pAacDecoderChannelInfo->pComData->workBufferCore1->mdctOutTemp; in CBlock_FrequencyToTime()
723 SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient), in CBlock_FrequencyToTime()
724 pAacDecoderChannelInfo->specScale, in CBlock_FrequencyToTime()
728 FDKgetWindowSlope(fl, GetWindowShape(&pAacDecoderChannelInfo->icsInfo)), in CBlock_FrequencyToTime()
730 FDKgetWindowSlope(fr, GetWindowShape(&pAacDecoderChannelInfo->icsInfo)), in CBlock_FrequencyToTime()
746 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CBlock_FrequencyToTimeLowDelay() argument
752 SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient), in CBlock_FrequencyToTimeLowDelay()
753 pAacDecoderChannelInfo->specScale[0], in CBlock_FrequencyToTimeLowDelay()