Lines Matching refs:pAacDecoderChannelInfo

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()
119pAacDecoderChannelInfo[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()
144 || pAacDecoderChannelInfo[ch]->renderMode == AACDEC_RENDER_ELDFB ) in CChannelElement_Decode()
146 CBlock_InverseQuantizeSpectralData(pAacDecoderChannelInfo[ch], pSamplingRateInfo); in CChannelElement_Decode()
154 if (pAacDecoderChannelInfo[L]->pDynData->RawDataInfo.CommonWindow) { in CChannelElement_Decode()
155 int maxSfBandsL = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo[L]->icsInfo); in CChannelElement_Decode()
156 int maxSfBandsR = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo[R]->icsInfo); in CChannelElement_Decode()
157 …if (pAacDecoderChannelInfo[L]->data.aac.PnsData.PnsActive || pAacDecoderChannelInfo[R]->data.aac.P… in CChannelElement_Decode()
158 MapMidSideMaskToPnsCorrelation(pAacDecoderChannelInfo); in CChannelElement_Decode()
161 CJointStereo_ApplyMS(pAacDecoderChannelInfo, in CChannelElement_Decode()
162 … GetScaleFactorBandOffsets(&pAacDecoderChannelInfo[L]->icsInfo, pSamplingRateInfo), in CChannelElement_Decode()
163 GetWindowGroupLengthTable(&pAacDecoderChannelInfo[L]->icsInfo), in CChannelElement_Decode()
164 GetWindowGroups(&pAacDecoderChannelInfo[L]->icsInfo), in CChannelElement_Decode()
170 CJointStereo_ApplyIS(pAacDecoderChannelInfo, in CChannelElement_Decode()
171 … GetScaleFactorBandOffsets(&pAacDecoderChannelInfo[L]->icsInfo, pSamplingRateInfo), in CChannelElement_Decode()
172 GetWindowGroupLengthTable(&pAacDecoderChannelInfo[L]->icsInfo), in CChannelElement_Decode()
173 GetWindowGroups(&pAacDecoderChannelInfo[L]->icsInfo), in CChannelElement_Decode()
174 GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo[L]->icsInfo), in CChannelElement_Decode()
175 pAacDecoderChannelInfo[L]->pDynData->RawDataInfo.CommonWindow ? 1 : 0); in CChannelElement_Decode()
183 CBlock_ScaleSpectralData(pAacDecoderChannelInfo[ch], pSamplingRateInfo); in CChannelElement_Decode()
185 ApplyTools (pAacDecoderChannelInfo, pSamplingRateInfo, flags, ch); in CChannelElement_Decode()
191 pAacDecoderChannelInfo, in CChannelElement_Decode()
198 void CChannel_CodebookTableInit(CAacDecoderChannelInfo *pAacDecoderChannelInfo) in CChannel_CodebookTableInit() argument
201 int maxSfb = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo->icsInfo); in CChannel_CodebookTableInit()
202 UCHAR *pCodeBook = pAacDecoderChannelInfo->pDynData->aCodeBook; in CChannel_CodebookTableInit()
204 if ( IsLongBlock(&pAacDecoderChannelInfo->icsInfo) ) { in CChannel_CodebookTableInit()
229 CAacDecoderChannelInfo *pAacDecoderChannelInfo[], in CChannelElement_Read() argument
254 CTns_Reset(&pAacDecoderChannelInfo[0]->pDynData->TnsData); in CChannelElement_Read()
256 CTns_Reset(&pAacDecoderChannelInfo[1]->pDynData->TnsData); in CChannelElement_Read()
260 pAacDecoderChannelInfo[0]->pDynData->RawDataInfo.CommonWindow = 1; in CChannelElement_Read()
262pAacDecoderChannelInfo[1]->pDynData->RawDataInfo.CommonWindow = pAacDecoderChannelInfo[0]->pDynDat… in CChannelElement_Read()
265pAacDecoderChannelInfo[1]->pDynData->RawDataInfo.CommonWindow = pAacDecoderChannelInfo[0]->pDynDat… in CChannelElement_Read()
276 pAacDecoderChannelInfo[0]->ElementInstanceTag = FDKreadBits(hBs, 4); in CChannelElement_Read()
278pAacDecoderChannelInfo[1]->ElementInstanceTag = pAacDecoderChannelInfo[0]->ElementInstanceTag; in CChannelElement_Read()
282 …decision_bit = pAacDecoderChannelInfo[ch]->pDynData->RawDataInfo.CommonWindow = FDKreadBits(hBs, 1… in CChannelElement_Read()
284pAacDecoderChannelInfo[1]->pDynData->RawDataInfo.CommonWindow = pAacDecoderChannelInfo[0]->pDynDat… in CChannelElement_Read()
290 &pAacDecoderChannelInfo[ch]->icsInfo, in CChannelElement_Read()
294 if (numberOfChannels == 2 && pAacDecoderChannelInfo[0]->pDynData->RawDataInfo.CommonWindow) { in CChannelElement_Read()
295 pAacDecoderChannelInfo[1]->icsInfo = pAacDecoderChannelInfo[0]->icsInfo; in CChannelElement_Read()
309 &pAacDecoderChannelInfo[0]->pComData->jointStereoData, in CChannelElement_Read()
310 GetWindowGroups(&pAacDecoderChannelInfo[0]->icsInfo), in CChannelElement_Read()
311 GetScaleMaxFactorBandsTransmitted(&pAacDecoderChannelInfo[0]->icsInfo, in CChannelElement_Read()
312 &pAacDecoderChannelInfo[1]->icsInfo), in CChannelElement_Read()
320 pAacDecoderChannelInfo[ch]->pDynData->RawDataInfo.GlobalGain = (UCHAR) FDKreadBits(hBs,8); in CChannelElement_Read()
325 pAacDecoderChannelInfo[ch], in CChannelElement_Read()
334 CRvlc_Read(pAacDecoderChannelInfo[ch], hBs); in CChannelElement_Read()
338 error = CBlock_ReadScaleFactorData(pAacDecoderChannelInfo[ch], hBs, flags); in CChannelElement_Read()
344 &pAacDecoderChannelInfo[ch]->pDynData->specificTo.aac.PulseData, in CChannelElement_Read()
346 (void*)&pAacDecoderChannelInfo[ch]->icsInfo, in CChannelElement_Read()
354 CTns_ReadDataPresentFlag(hBs, &pAacDecoderChannelInfo[ch]->pDynData->TnsData); in CChannelElement_Read()
358 …error = CTns_Read(hBs, &pAacDecoderChannelInfo[ch]->pDynData->TnsData, &pAacDecoderChannelInfo[ch]… in CChannelElement_Read()
373 pAacDecoderChannelInfo[ch], in CChannelElement_Read()
382 CHcr_Read(hBs, pAacDecoderChannelInfo[ch] ); in CChannelElement_Read()
388 pAacDecoderChannelInfo[ch], in CChannelElement_Read()
392 pAacDecoderChannelInfo[ch]->renderMode = AACDEC_RENDER_ELDFB; in CChannelElement_Read()
394 pAacDecoderChannelInfo[ch]->renderMode = AACDEC_RENDER_IMDCT; in CChannelElement_Read()