Home
last modified time | relevance | path

Searched refs:pAacDecoderChannelInfo (Results 1 – 22 of 22) sorted by relevance

/external/aac/libAACdec/src/
Dchannel.cpp119 CAacDecoderChannelInfo *pAacDecoderChannelInfo[2]) { in MapMidSideMaskToPnsCorrelation()
122 for (group = 0; group < pAacDecoderChannelInfo[L]->icsInfo.WindowGroups; in MapMidSideMaskToPnsCorrelation()
126 for (UCHAR band = 0; band < pAacDecoderChannelInfo[L]->icsInfo.MaxSfBands; in MapMidSideMaskToPnsCorrelation()
128 if (pAacDecoderChannelInfo[L]->pComData->jointStereoData.MsUsed[band] & in MapMidSideMaskToPnsCorrelation()
130 CPns_SetCorrelation(&pAacDecoderChannelInfo[L]->data.aac.PnsData, group, in MapMidSideMaskToPnsCorrelation()
133 if (CPns_IsPnsUsed(&pAacDecoderChannelInfo[L]->data.aac.PnsData, group, in MapMidSideMaskToPnsCorrelation()
135 CPns_IsPnsUsed(&pAacDecoderChannelInfo[R]->data.aac.PnsData, group, in MapMidSideMaskToPnsCorrelation()
137 pAacDecoderChannelInfo[L]->pComData->jointStereoData.MsUsed[band] ^= in MapMidSideMaskToPnsCorrelation()
164 *pAacDecoderChannelInfo[2], /*!< pointer to aac decoder channel info */ in CChannelElement_Decode()
174 if (pAacDecoderChannelInfo[L]->data.usac.core_mode || in CChannelElement_Decode()
[all …]
Drvlcconceal.cpp130 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in calcRefValFwd() argument
137 if (GetWindowSequence(&pAacDecoderChannelInfo->icsInfo) == BLOCK_SHORT) in calcRefValFwd()
150 *refNrgFwd = pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain - in calcRefValFwd()
153 pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain - SF_OFFSET; in calcRefValFwd()
159 switch (pAacDecoderChannelInfo->pDynData->aCodeBook[bnds]) { in calcRefValFwd()
166 pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; in calcRefValFwd()
173 pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; in calcRefValFwd()
180 pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; in calcRefValFwd()
206 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in calcRefValBwd() argument
213 if (GetWindowSequence(&pAacDecoderChannelInfo->icsInfo) == BLOCK_SHORT) in calcRefValBwd()
[all …]
Dblock.cpp159 CAacDecoderChannelInfo *pAacDecoderChannelInfo, HANDLE_FDK_BITSTREAM bs, in CBlock_ReadScaleFactorData() argument
165 int factor = pAacDecoderChannelInfo->pDynData->RawDataInfo in CBlock_ReadScaleFactorData()
167 UCHAR *pCodeBook = pAacDecoderChannelInfo->pDynData->aCodeBook; in CBlock_ReadScaleFactorData()
168 SHORT *pScaleFactor = pAacDecoderChannelInfo->pDynData->aScaleFactor; in CBlock_ReadScaleFactorData()
174 GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo->icsInfo); in CBlock_ReadScaleFactorData()
175 for (group = 0; group < GetWindowGroups(&pAacDecoderChannelInfo->icsInfo); in CBlock_ReadScaleFactorData()
203 CPns_Read(&pAacDecoderChannelInfo->data.aac.PnsData, bs, hcb, in CBlock_ReadScaleFactorData()
204 pAacDecoderChannelInfo->pDynData->aScaleFactor, in CBlock_ReadScaleFactorData()
205 pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain, in CBlock_ReadScaleFactorData()
217 void CBlock_ScaleSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CBlock_ScaleSpectralData() argument
[all …]
Dusacdec_lpd.cpp780 static void calcTCXGain(CAacDecoderChannelInfo *pAacDecoderChannelInfo, in calcTCXGain() argument
788 pAacDecoderChannelInfo->pDynData->specificTo.usac in calcTCXGain()
827 pAacDecoderChannelInfo->data.usac.tcx_gain[frame] = tcx_gain_m; in calcTCXGain()
828 pAacDecoderChannelInfo->data.usac.tcx_gain_e[frame] = tcx_gain_e; in calcTCXGain()
830 pAacDecoderChannelInfo->specScale[frame] += tcx_gain_e; in calcTCXGain()
857 void CLpd_FdnsDecode(CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CLpd_FdnsDecode() argument
873 calcTCXGain(pAacDecoderChannelInfo, r, rms_m, rms_e, frame, lg); in CLpd_FdnsDecode()
935 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CLpd_TcxDecode() argument
940 int lg = (pAacDecoderChannelInfo->granuleLength == 128) in CLpd_TcxDecode()
950 SPEC_TCX(pAacDecoderChannelInfo->pSpectralCoefficient, frame, in CLpd_TcxDecode()
[all …]
Drvlc.cpp133 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in rvlcInit() argument
136 SHORT *pScfEsc = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfEsc; in rvlcInit()
137 SHORT *pScfFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd; in rvlcInit()
138 SHORT *pScfBwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfBwd; in rvlcInit()
139 SHORT *pScaleFactor = pAacDecoderChannelInfo->pDynData->aScaleFactor; in rvlcInit()
142 pAacDecoderChannelInfo->pDynData->specificTo.aac.rvlcIntensityUsed = 0; in rvlcInit()
215 CErRvlcInfo *pRvlc, CAacDecoderChannelInfo *pAacDecoderChannelInfo) { in rvlcCheckIntensityCb() argument
223 if ((pAacDecoderChannelInfo->pDynData->aCodeBook[bnds] == in rvlcCheckIntensityCb()
225 (pAacDecoderChannelInfo->pDynData->aCodeBook[bnds] == in rvlcCheckIntensityCb()
437 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in rvlcDecodeForward() argument
[all …]
Dconceal.cpp208 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
214 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
222 const int samplesPerFrame, CAacDecoderChannelInfo *pAacDecoderChannelInfo);
241 const int samplesPerFrame, CAacDecoderChannelInfo *pAacDecoderChannelInfo);
548 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CConcealment_Store() argument
552 if (!(pAacDecoderChannelInfo->renderMode == AACDEC_RENDER_LPD && in CConcealment_Store()
553 pAacDecoderChannelInfo->data.usac.mod[nbDiv - 1] == 0)) in CConcealment_Store()
557 SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient); in CConcealment_Store()
558 SHORT *pSpecScale = pAacDecoderChannelInfo->specScale; in CConcealment_Store()
559 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in CConcealment_Store()
[all …]
Dblock.h122 void CBlock_ApplyNoise(CAacDecoderChannelInfo *pAacDecoderChannelInfo,
165 CAacDecoderChannelInfo *pAacDecoderChannelInfo, HANDLE_FDK_BITSTREAM bs,
175 HANDLE_FDK_BITSTREAM bs, CAacDecoderChannelInfo *pAacDecoderChannelInfo,
188 HANDLE_FDK_BITSTREAM hBs, CAacDecoderChannelInfo *pAacDecoderChannelInfo,
194 HANDLE_FDK_BITSTREAM bs, CAacDecoderChannelInfo *pAacDecoderChannelInfo,
205 void CBlock_ScaleSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo,
212 void ApplyTools(CAacDecoderChannelInfo *pAacDecoderChannelInfo[],
221 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM outSamples[],
230 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM outSamples[],
234 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
Daacdec_hcr.cpp158 H_HCR_INFO pHcr, CAacDecoderChannelInfo *pAacDecoderChannelInfo,
202 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CHcr_Read() argument
207 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = in CHcr_Read()
209 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfLongestCodeword = 0; in CHcr_Read()
216 pAacDecoderChannelInfo->pDynData->specificTo.aac in CHcr_Read()
221 pAacDecoderChannelInfo->pDynData->specificTo.aac in CHcr_Read()
230 pAacDecoderChannelInfo->pDynData->specificTo.aac in CHcr_Read()
235 pAacDecoderChannelInfo->pDynData->specificTo.aac in CHcr_Read()
246 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfLongestCodeword = in CHcr_Read()
250 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfLongestCodeword = in CHcr_Read()
[all …]
Daacdecoder.cpp1316 if (self->pAacDecoderChannelInfo[ch] != NULL) { in CAacDecoder_DeInit()
1317 if (self->pAacDecoderChannelInfo[ch]->pComStaticData != NULL) { in CAacDecoder_DeInit()
1318 if (self->pAacDecoderChannelInfo[ch] in CAacDecoder_DeInit()
1321 FreeWorkBufferCore1(&self->pAacDecoderChannelInfo[ch] in CAacDecoder_DeInit()
1325 if (self->pAacDecoderChannelInfo[ch] in CAacDecoder_DeInit()
1327 FreeCplxPredictionData(&self->pAacDecoderChannelInfo[ch] in CAacDecoder_DeInit()
1333 if ((self->pAacDecoderChannelInfo[ch + 1] != NULL) && in CAacDecoder_DeInit()
1334 (self->pAacDecoderChannelInfo[ch + 1]->pComStaticData == in CAacDecoder_DeInit()
1335 self->pAacDecoderChannelInfo[ch]->pComStaticData)) { in CAacDecoder_DeInit()
1336 self->pAacDecoderChannelInfo[ch + 1]->pComStaticData = NULL; in CAacDecoder_DeInit()
[all …]
Dstereo.cpp544 CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], in CJointStereo_ApplyMS()
556 &pAacDecoderChannelInfo[L]->pComData->jointStereoData; in CJointStereo_ApplyMS()
558 pAacDecoderChannelInfo[L]->pComStaticData->cplxPredictionData; in CJointStereo_ApplyMS()
601 int currentShape = (int)pAacDecoderChannelInfo[L]->icsInfo.WindowShape; in CJointStereo_ApplyMS()
614 pAacDecoderChannelInfo[L]->granuleLength; /* framelength 768 => 96, in CJointStereo_ApplyMS()
618 if (pAacDecoderChannelInfo[L]->icsInfo.WindowSequence != BLOCK_SHORT) { in CJointStereo_ApplyMS()
630 switch (pAacDecoderChannelInfo[L] in CJointStereo_ApplyMS()
676 switch (pAacDecoderChannelInfo[L] in CJointStereo_ApplyMS()
770 if ((pAacDecoderChannelInfo[L]->icsInfo.WindowSequence != in CJointStereo_ApplyMS()
776 if (pAacDecoderChannelInfo[L]->icsInfo.WindowSequence == in CJointStereo_ApplyMS()
[all …]
Drvlcconceal.h115 CAacDecoderChannelInfo *pAacDecoderChannelInfo);
118 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
121 void StatisticalEstimation(CAacDecoderChannelInfo *pAacDecoderChannelInfo);
124 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
Drvlc.h134 void CRvlc_Read(CAacDecoderChannelInfo *pAacDecoderChannelInfo,
137 void CRvlc_Decode(CAacDecoderChannelInfo *pAacDecoderChannelInfo,
149 CAacDecoderChannelInfo *pAacDecoderChannelInfo[],
Dchannel.h120 void CChannel_CodebookTableInit(CAacDecoderChannelInfo *pAacDecoderChannelInfo);
131 CAacDecoderChannelInfo *pAacDecoderChannelInfo[2],
153 HANDLE_FDK_BITSTREAM hBs, CAacDecoderChannelInfo *pAacDecoderChannelInfo[],
Daacdec_hcr.h111 UINT HcrInit(H_HCR_INFO pHcr, CAacDecoderChannelInfo *pAacDecoderChannelInfo,
114 UINT HcrDecoder(H_HCR_INFO hHcr, CAacDecoderChannelInfo *pAacDecoderChannelInfo,
121 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
Dusacdec_lpd.h119 HANDLE_FDK_BITSTREAM hBs, CAacDecoderChannelInfo *pAacDecoderChannelInfo,
133 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
147 CAacDecoderChannelInfo *pAacDecoderChannelInfo, FIXP_PCM *pTimeData,
Dconceal.h135 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
140 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
Dusacdec_fac.cpp115 FIXP_DBL *CLpd_FAC_GetMemory(CAacDecoderChannelInfo *pAacDecoderChannelInfo, in CLpd_FAC_GetMemory() argument
135 ptr = pAacDecoderChannelInfo->data.usac.fac_data0; in CLpd_FAC_GetMemory()
138 ptr = SPEC_FAC(pAacDecoderChannelInfo->pSpectralCoefficient, i, in CLpd_FAC_GetMemory()
139 pAacDecoderChannelInfo->granuleLength << k); in CLpd_FAC_GetMemory()
Dchannelinfo.h461 CAacDecoderChannelInfo *pAacDecoderChannelInfo[2],
483 void CJointStereo_ApplyIS(CAacDecoderChannelInfo *pAacDecoderChannelInfo[2],
Daacdec_drc.h171 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
Dusacdec_fac.h118 FIXP_DBL *CLpd_FAC_GetMemory(CAacDecoderChannelInfo *pAacDecoderChannelInfo,
Daacdec_drc.cpp836 CAacDecoderChannelInfo *pAacDecoderChannelInfo, in aacDecoder_drcApply() argument
856 SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient); in aacDecoder_drcApply()
857 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in aacDecoder_drcApply()
858 SHORT *pSpecScale = pAacDecoderChannelInfo->specScale; in aacDecoder_drcApply()
Daacdecoder.h234 *pAacDecoderChannelInfo[(8)]; /*!< Temporal channel memory */ member