/external/aac/libAACdec/src/ |
D | channel.cpp | 106 void MapMidSideMaskToPnsCorrelation (CAacDecoderChannelInfo *pAacDecoderChannelInfo[2]) in MapMidSideMaskToPnsCorrelation() 110 for (group = 0 ; group < pAacDecoderChannelInfo[L]->icsInfo.WindowGroups; group++) { in MapMidSideMaskToPnsCorrelation() 113 for (UCHAR band = 0 ; band < pAacDecoderChannelInfo[L]->icsInfo.MaxSfBands; band++) { in MapMidSideMaskToPnsCorrelation() 114 …if (pAacDecoderChannelInfo[L]->pComData->jointStereoData.MsUsed[band] & groupMask) { /* channels a… in MapMidSideMaskToPnsCorrelation() 115 CPns_SetCorrelation(&pAacDecoderChannelInfo[L]->data.aac.PnsData, group, band, 0); in MapMidSideMaskToPnsCorrelation() 117 if (CPns_IsPnsUsed(&pAacDecoderChannelInfo[L]->data.aac.PnsData, group, band) && in MapMidSideMaskToPnsCorrelation() 118 CPns_IsPnsUsed(&pAacDecoderChannelInfo[R]->data.aac.PnsData, group, band)) in MapMidSideMaskToPnsCorrelation() 119 …pAacDecoderChannelInfo[L]->pComData->jointStereoData.MsUsed[band] ^= groupMask; /* clear the group… in MapMidSideMaskToPnsCorrelation() 132 void CChannelElement_Decode( CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], /*!< pointer to aac… in CChannelElement_Decode() 143 if ( pAacDecoderChannelInfo[ch]->renderMode == AACDEC_RENDER_IMDCT in CChannelElement_Decode() [all …]
|
D | rvlcconceal.cpp | 111 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in calcRefValFwd() argument 122 if (GetWindowSequence(&pAacDecoderChannelInfo->icsInfo) == EightShortSequence) in calcRefValFwd() 135 *refNrgFwd = pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain - SF_OFFSET - 90 - 256; in calcRefValFwd() 136 *refScfFwd = pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain - SF_OFFSET; in calcRefValFwd() 142 switch (pAacDecoderChannelInfo->pDynData->aCodeBook[bnds]) { in calcRefValFwd() 148 *refIsFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; in calcRefValFwd() 154 *refNrgFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; in calcRefValFwd() 160 *refScfFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; in calcRefValFwd() 186 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in calcRefValBwd() argument 196 if (GetWindowSequence(&pAacDecoderChannelInfo->icsInfo) == EightShortSequence) in calcRefValBwd() [all …]
|
D | block.cpp | 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() [all …]
|
D | stereo.cpp | 149 CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], in CJointStereo_ApplyMS() 157 CJointStereoData *pJointStereoData = &pAacDecoderChannelInfo[L]->pComData->jointStereoData; in CJointStereo_ApplyMS() 170 SHORT *leftScale = &pAacDecoderChannelInfo[L]->pDynData->aSfbScale[window*16]; in CJointStereo_ApplyMS() 171 SHORT *rightScale = &pAacDecoderChannelInfo[R]->pDynData->aSfbScale[window*16]; in CJointStereo_ApplyMS() 173 …leftSpectrum = SPEC(pAacDecoderChannelInfo[L]->pSpectralCoefficient, window, pAacDecoderChannelInf… in CJointStereo_ApplyMS() 174 …rightSpectrum = SPEC(pAacDecoderChannelInfo[R]->pSpectralCoefficient, window, pAacDecoderChannelIn… in CJointStereo_ApplyMS() 186 …FDK_ASSERT(GetWindowSequence(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowSequence(&pAacDecode… in CJointStereo_ApplyMS() 187 …FDK_ASSERT(GetWindowShape(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowShape(&pAacDecoderChann… in CJointStereo_ApplyMS() 222 CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], in CJointStereo_ApplyIS() 230 CJointStereoData *pJointStereoData = &pAacDecoderChannelInfo[L]->pComData->jointStereoData; in CJointStereo_ApplyIS() [all …]
|
D | rvlc.cpp | 115 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in rvlcInit() argument 119 SHORT *pScfEsc = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfEsc; in rvlcInit() 120 SHORT *pScfFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd; in rvlcInit() 121 SHORT *pScfBwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfBwd; in rvlcInit() 122 SHORT *pScaleFactor = pAacDecoderChannelInfo->pDynData->aScaleFactor; in rvlcInit() 125 pAacDecoderChannelInfo->pDynData->specificTo.aac.rvlcIntensityUsed = 0; in rvlcInit() 173 DebugOutputInit(pRvlc,pAacDecoderChannelInfo); in rvlcInit() 194 CAacDecoderChannelInfo *pAacDecoderChannelInfo) in rvlcCheckIntensityCb() argument 203 …if ( (pAacDecoderChannelInfo->pDynData->aCodeBook[bnds] == INTENSITY_HCB) || (pAacDecoderChannelIn… in rvlcCheckIntensityCb() 416 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in rvlcDecodeForward() argument [all …]
|
D | conceal.cpp | 207 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 219 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 653 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CConcealment_Store() argument 656 if ( !(pAacDecoderChannelInfo->renderMode == AACDEC_RENDER_LPD in CConcealment_Store() 659 FIXP_DBL *pSpectralCoefficient = SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient); in CConcealment_Store() 660 SHORT *pSpecScale = pAacDecoderChannelInfo->specScale; in CConcealment_Store() 661 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in CConcealment_Store() 731 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CConcealment_Apply() argument 742 …&& (pAacDecoderChannelInfo->renderMode != (AACDEC_RENDER_MODE)hConcealmentInfo->lastRenderMode) ) { in CConcealment_Apply() 744 pAacDecoderChannelInfo->renderMode = (AACDEC_RENDER_MODE)hConcealmentInfo->lastRenderMode; in CConcealment_Apply() [all …]
|
D | aacdec_hcr.cpp | 157 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 208 CAacDecoderChannelInfo *pAacDecoderChannelInfo) in CHcr_Read() argument 210 INT globalHcrType = getHcrType(&pAacDecoderChannelInfo->pComData->overlay.aac.erHcrInfo); in CHcr_Read() 214 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = 0; in CHcr_Read() 215 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfLongestCodeword = 0; in CHcr_Read() 223 …pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = lengOfReorderedSpect… in CHcr_Read() 227 …pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = CPE_TOP_LENGTH; … in CHcr_Read() 233 …pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = lengOfReorderedSpect… in CHcr_Read() 237 …pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = SCE_TOP_LENGTH; … in CHcr_Read() 245 …pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfLongestCodeword = lengOfLongestCodeword; … in CHcr_Read() [all …]
|
D | block.h | 165 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 177 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 183 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 193 void CBlock_ScaleSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo, SamplingRateInfo *pSa… 198 void ApplyTools ( CAacDecoderChannelInfo *pAacDecoderChannelInfo[], 207 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 218 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 223 AAC_DECODER_ERROR CBlock_InverseQuantizeSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo…
|
D | rvlcconceal.h | 97 … BidirectionalEstimation_UseLowerScfOfCurrentFrame(CAacDecoderChannelInfo *pAacDecoderChannelInfo); 100 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 104 void StatisticalEstimation (CAacDecoderChannelInfo *pAacDecoderChannelInfo); 107 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
|
D | aacdecoder.cpp | 795 if (self->pAacDecoderChannelInfo[ch] != NULL) { in CAacDecoder_Close() 796 FreeAacDecoderChannelInfo (&self->pAacDecoderChannelInfo[ch]); in CAacDecoder_Close() 1029 if (self->pAacDecoderChannelInfo[ch] == NULL) { in CAacDecoder_Init() 1030 self->pAacDecoderChannelInfo[ch] = GetAacDecoderChannelInfo(ch); in CAacDecoder_Init() 1033 if (self->pAacDecoderChannelInfo[ch] == NULL) { in CAacDecoder_Init() 1037 self->pAacDecoderChannelInfo[ch]->pDynData = aacDecoderDynamicData; in CAacDecoder_Init() 1038 self->pAacDecoderChannelInfo[ch]->pComData = &self->aacCommonData; in CAacDecoder_Init() 1051 …self->pAacDecoderChannelInfo[ch]->pSpectralCoefficient = (SPECTRAL_PTR) &self->aacCommonData.workB… in CAacDecoder_Init() 1054 …CPns_InitPns(&self->pAacDecoderChannelInfo[ch]->data.aac.PnsData, &self->aacCommonData.pnsInterCha… in CAacDecoder_Init() 1081 self->pAacDecoderChannelInfo[ch]->granuleLength = self->streamInfo.aacSamplesPerFrame; in CAacDecoder_Init() [all …]
|
D | rvlc.h | 111 void CRvlc_Read (CAacDecoderChannelInfo *pAacDecoderChannelInfo, 114 void CRvlc_Decode (CAacDecoderChannelInfo *pAacDecoderChannelInfo, 125 CAacDecoderChannelInfo *pAacDecoderChannelInfo[],
|
D | channel.h | 106 void CChannel_CodebookTableInit(CAacDecoderChannelInfo *pAacDecoderChannelInfo); 116 void CChannelElement_Decode ( CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], 137 CAacDecoderChannelInfo *pAacDecoderChannelInfo[],
|
D | aacdec_hcr.h | 103 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 107 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 118 CAacDecoderChannelInfo *pAacDecoderChannelInfo);
|
D | conceal.h | 129 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 133 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
|
D | channelinfo.h | 336 void CJointStereo_ApplyMS(CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], 356 void CJointStereo_ApplyIS(CAacDecoderChannelInfo *pAacDecoderChannelInfo[2],
|
D | aacdec_drc.h | 161 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
|
D | aacdec_drc.cpp | 848 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in aacDecoder_drcApply() argument 870 FIXP_DBL *pSpectralCoefficient = SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient); in aacDecoder_drcApply() 871 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in aacDecoder_drcApply() 872 SHORT *pSpecScale = pAacDecoderChannelInfo->specScale; in aacDecoder_drcApply()
|
D | aacdecoder.h | 195 CAacDecoderChannelInfo *pAacDecoderChannelInfo[(8)]; /*!< Temporal channel memory */ member
|