/external/aac/libAACdec/src/ |
H A D | rvlcconceal.h | 97 void BidirectionalEstimation_UseLowerScfOfCurrentFrame(CAacDecoderChannelInfo *pAacDecoderChannelInfo); 100 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 104 void StatisticalEstimation (CAacDecoderChannelInfo *pAacDecoderChannelInfo); 107 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
|
H A D | channel.cpp | 106 void MapMidSideMaskToPnsCorrelation (CAacDecoderChannelInfo *pAacDecoderChannelInfo[2]) argument 110 for (group = 0 ; group < pAacDecoderChannelInfo[L]->icsInfo.WindowGroups; group++) { 113 for (UCHAR band = 0 ; band < pAacDecoderChannelInfo[L]->icsInfo.MaxSfBands; band++) { 114 if (pAacDecoderChannelInfo[L]->pComData->jointStereoData.MsUsed[band] & groupMask) { /* channels are correlated */ 115 CPns_SetCorrelation(&pAacDecoderChannelInfo[L]->data.aac.PnsData, group, band, 0); 117 if (CPns_IsPnsUsed(&pAacDecoderChannelInfo[L]->data.aac.PnsData, group, band) && 118 CPns_IsPnsUsed(&pAacDecoderChannelInfo[R]->data.aac.PnsData, group, band)) 119 pAacDecoderChannelInfo[L]->pComData->jointStereoData.MsUsed[band] ^= groupMask; /* clear the groupMask-bit */ 132 void CChannelElement_Decode( CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], /*!< pointer to aac decoder channel info */ argument 143 if ( pAacDecoderChannelInfo[c 198 CChannel_CodebookTableInit(CAacDecoderChannelInfo *pAacDecoderChannelInfo) argument 228 CChannelElement_Read(HANDLE_FDK_BITSTREAM hBs, CAacDecoderChannelInfo *pAacDecoderChannelInfo[], CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo[], const AUDIO_OBJECT_TYPE aot, const SamplingRateInfo *pSamplingRateInfo, const UINT flags, const UINT frame_length, const UCHAR numberOfChannels, const SCHAR epConfig, HANDLE_TRANSPORTDEC pTpDec ) argument [all...] |
H A D | rvlcconceal.cpp | 111 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 122 if (GetWindowSequence(&pAacDecoderChannelInfo->icsInfo) == EightShortSequence) 135 *refNrgFwd = pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain - SF_OFFSET - 90 - 256; 136 *refScfFwd = pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain - SF_OFFSET; 142 switch (pAacDecoderChannelInfo->pDynData->aCodeBook[bnds]) { 148 *refIsFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; 154 *refNrgFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; 160 *refScfFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd[bnds]; 186 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 196 if (GetWindowSequence(&pAacDecoderChannelInfo 110 calcRefValFwd(CErRvlcInfo *pRvlc, CAacDecoderChannelInfo *pAacDecoderChannelInfo, int *refIsFwd, int *refNrgFwd, int *refScfFwd) argument 185 calcRefValBwd(CErRvlcInfo *pRvlc, CAacDecoderChannelInfo *pAacDecoderChannelInfo, int *refIsBwd, int *refNrgBwd, int *refScfBwd) argument 266 BidirectionalEstimation_UseLowerScfOfCurrentFrame(CAacDecoderChannelInfo *pAacDecoderChannelInfo) argument 399 BidirectionalEstimation_UseScfOfPrevFrameAsReference( CAacDecoderChannelInfo *pAacDecoderChannelInfo, CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo ) argument 532 StatisticalEstimation(CAacDecoderChannelInfo *pAacDecoderChannelInfo) argument 637 PredictiveInterpolation( CAacDecoderChannelInfo *pAacDecoderChannelInfo, CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo ) argument [all...] |
H A D | channel.h | 104 * \param pAacDecoderChannelInfo channel info structure containing a valid icsInfo struct. 106 void CChannel_CodebookTableInit(CAacDecoderChannelInfo *pAacDecoderChannelInfo); 110 * \param pAacDecoderChannelInfo pointer to channel data struct. Depending on el_channels either one or two. 116 void CChannelElement_Decode ( CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], 126 * \param pAacDecoderChannelInfo pointer array to store channel information. 137 CAacDecoderChannelInfo *pAacDecoderChannelInfo[],
|
H A D | rvlc.h | 111 void CRvlc_Read (CAacDecoderChannelInfo *pAacDecoderChannelInfo, 114 void CRvlc_Decode (CAacDecoderChannelInfo *pAacDecoderChannelInfo, 120 * \param pAacDecoderChannelInfo 125 CAacDecoderChannelInfo *pAacDecoderChannelInfo[],
|
H A D | block.cpp | 161 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 170 int factor = pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain; /* accu for scale factor delta coding */ 171 UCHAR *pCodeBook = pAacDecoderChannelInfo->pDynData->aCodeBook; 172 SHORT *pScaleFactor = pAacDecoderChannelInfo->pDynData->aScaleFactor; 175 int ScaleFactorBandsTransmitted = GetScaleFactorBandsTransmitted(&pAacDecoderChannelInfo->icsInfo); 176 for (group=0; group < GetWindowGroups(&pAacDecoderChannelInfo->icsInfo); group++) 205 CPns_Read( &pAacDecoderChannelInfo->data.aac.PnsData, bs, hcb, pAacDecoderChannelInfo->pDynData->aScaleFactor, pAacDecoderChannelInfo->pDynData->RawDataInfo.GlobalGain, band, group); 214 void CBlock_ScaleSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo, SamplingRateInf argument 160 CBlock_ReadScaleFactorData( CAacDecoderChannelInfo *pAacDecoderChannelInfo, HANDLE_FDK_BITSTREAM bs, UINT flags ) argument 272 CBlock_ReadSectionData(HANDLE_FDK_BITSTREAM bs, CAacDecoderChannelInfo *pAacDecoderChannelInfo, const SamplingRateInfo *pSamplingRateInfo, const UINT flags) argument 426 CBlock_InverseQuantizeSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo, SamplingRateInfo *pSamplingRateInfo) argument 502 CBlock_ReadSpectralData(HANDLE_FDK_BITSTREAM bs, CAacDecoderChannelInfo *pAacDecoderChannelInfo, const SamplingRateInfo *pSamplingRateInfo, const UINT flags) argument 635 ApplyTools( CAacDecoderChannelInfo *pAacDecoderChannelInfo[], const SamplingRateInfo *pSamplingRateInfo, const UINT flags, const int channel ) argument 676 CBlock_FrequencyToTime(CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, CAacDecoderChannelInfo *pAacDecoderChannelInfo, INT_PCM outSamples[], const SHORT frameLen, const int stride, const int frameOk, FIXP_DBL *pWorkBuffer1 ) argument 745 CBlock_FrequencyToTimeLowDelay( CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, CAacDecoderChannelInfo *pAacDecoderChannelInfo, INT_PCM outSamples[], const short frameLen, const char stride ) argument [all...] |
H A D | aacdec_hcr.h | 103 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 107 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 118 CAacDecoderChannelInfo *pAacDecoderChannelInfo);
|
H A D | stereo.cpp | 149 CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], 157 CJointStereoData *pJointStereoData = &pAacDecoderChannelInfo[L]->pComData->jointStereoData; 170 SHORT *leftScale = &pAacDecoderChannelInfo[L]->pDynData->aSfbScale[window*16]; 171 SHORT *rightScale = &pAacDecoderChannelInfo[R]->pDynData->aSfbScale[window*16]; 173 leftSpectrum = SPEC(pAacDecoderChannelInfo[L]->pSpectralCoefficient, window, pAacDecoderChannelInfo[L]->granuleLength); 174 rightSpectrum = SPEC(pAacDecoderChannelInfo[R]->pSpectralCoefficient, window, pAacDecoderChannelInfo[R]->granuleLength); 186 FDK_ASSERT(GetWindowSequence(&pAacDecoderChannelInfo[L]->icsInfo) == GetWindowSequence(&pAacDecoderChannelInfo[ 148 CJointStereo_ApplyMS( CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], const SHORT *pScaleFactorBandOffsets, const UCHAR *pWindowGroupLength, const int windowGroups, const int scaleFactorBandsTransmittedL, const int scaleFactorBandsTransmittedR ) argument 221 CJointStereo_ApplyIS( CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], const SHORT *pScaleFactorBandOffsets, const UCHAR *pWindowGroupLength, const int windowGroups, const int scaleFactorBandsTransmitted, const UINT CommonWindow ) argument [all...] |
H A D | rvlc.cpp | 115 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 119 SHORT *pScfEsc = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfEsc; 120 SHORT *pScfFwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfFwd; 121 SHORT *pScfBwd = pAacDecoderChannelInfo->pComData->overlay.aac.aRvlcScfBwd; 122 SHORT *pScaleFactor = pAacDecoderChannelInfo->pDynData->aScaleFactor; 125 pAacDecoderChannelInfo->pDynData->specificTo.aac.rvlcIntensityUsed = 0; 173 DebugOutputInit(pRvlc,pAacDecoderChannelInfo); 194 CAacDecoderChannelInfo *pAacDecoderChannelInfo) 203 if ( (pAacDecoderChannelInfo->pDynData->aCodeBook[bnds] == INTENSITY_HCB) || (pAacDecoderChannelInfo 114 rvlcInit(CErRvlcInfo *pRvlc, CAacDecoderChannelInfo *pAacDecoderChannelInfo, HANDLE_FDK_BITSTREAM bs) argument 193 rvlcCheckIntensityCb(CErRvlcInfo *pRvlc, CAacDecoderChannelInfo *pAacDecoderChannelInfo) argument 415 rvlcDecodeForward(CErRvlcInfo *pRvlc, CAacDecoderChannelInfo *pAacDecoderChannelInfo, HANDLE_FDK_BITSTREAM bs) argument 606 rvlcDecodeBackward(CErRvlcInfo *pRvlc, CAacDecoderChannelInfo *pAacDecoderChannelInfo, HANDLE_FDK_BITSTREAM bs) argument 798 rvlcFinalErrorDetection(CAacDecoderChannelInfo *pAacDecoderChannelInfo, CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo) argument 1052 CRvlc_Read( CAacDecoderChannelInfo *pAacDecoderChannelInfo, HANDLE_FDK_BITSTREAM bs) argument 1126 CRvlc_Decode( CAacDecoderChannelInfo *pAacDecoderChannelInfo, CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, HANDLE_FDK_BITSTREAM bs ) argument 1173 CRvlc_ElementCheck( CAacDecoderChannelInfo *pAacDecoderChannelInfo[], CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo[], const UINT flags, const INT elChannels ) argument [all...] |
H A D | block.h | 161 * \param pAacDecoderChannelInfo channel context info were decoded data is stored into. 165 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 172 * \param pAacDecoderChannelInfo channel context info. 177 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 183 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 190 * \param pAacDecoderChannelInfo channel context info. 193 void CBlock_ScaleSpectralData(CAacDecoderChannelInfo *pAacDecoderChannelInfo, SamplingRateInfo *pSamplingRateInfo); 198 void ApplyTools ( CAacDecoderChannelInfo *pAacDecoderChannelInfo[], 207 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 218 CAacDecoderChannelInfo *pAacDecoderChannelInfo, [all...] |
H A D | conceal.h | 129 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 133 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
|
H A D | conceal.cpp | 207 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 219 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 653 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 656 if ( !(pAacDecoderChannelInfo->renderMode == AACDEC_RENDER_LPD 659 FIXP_DBL *pSpectralCoefficient = SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient); 660 SHORT *pSpecScale = pAacDecoderChannelInfo->specScale; 661 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; 731 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 742 && (pAacDecoderChannelInfo->renderMode != (AACDEC_RENDER_MODE)hConcealmentInfo->lastRenderMode) ) { 744 pAacDecoderChannelInfo 651 CConcealment_Store( CConcealmentInfo *hConcealmentInfo, CAacDecoderChannelInfo *pAacDecoderChannelInfo, CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo ) argument 729 CConcealment_Apply( CConcealmentInfo *hConcealmentInfo, CAacDecoderChannelInfo *pAacDecoderChannelInfo, CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, const SamplingRateInfo *pSamplingRateInfo, const int samplesPerFrame, const UCHAR lastLpdMode, const int frameOk, const UINT flags) argument 827 CConcealment_ApplyNoise(CConcealmentInfo *pConcealmentInfo, CAacDecoderChannelInfo *pAacDecoderChannelInfo, CAacDecoderStaticChannelInfo *pAacDecoderStaticChannelInfo, const SamplingRateInfo *pSamplingRateInfo, const int samplesPerFrame, const UINT flags) argument 1006 CConcealment_ApplyInter( CConcealmentInfo *pConcealmentInfo, CAacDecoderChannelInfo *pAacDecoderChannelInfo, const SamplingRateInfo *pSamplingRateInfo, const int samplesPerFrame, const int improveTonal, const int frameOk ) argument [all...] |
H A D | aacdec_hcr.cpp | 157 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 208 CAacDecoderChannelInfo *pAacDecoderChannelInfo) 210 INT globalHcrType = getHcrType(&pAacDecoderChannelInfo->pComData->overlay.aac.erHcrInfo); 214 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = 0; 215 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfLongestCodeword = 0; 223 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = lengOfReorderedSpectralData; /* the decoded value is within range */ 227 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = CPE_TOP_LENGTH; /* use valid maximum */ 233 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = lengOfReorderedSpectralData; /* the decoded value is within range */ 237 pAacDecoderChannelInfo->pDynData->specificTo.aac.lenOfReorderedSpectralData = SCE_TOP_LENGTH; /* use valid maximum */ 245 pAacDecoderChannelInfo 207 CHcr_Read(HANDLE_FDK_BITSTREAM bs, CAacDecoderChannelInfo *pAacDecoderChannelInfo) argument 280 HcrInit(H_HCR_INFO pHcr, CAacDecoderChannelInfo *pAacDecoderChannelInfo, const SamplingRateInfo *pSamplingRateInfo, HANDLE_FDK_BITSTREAM bs) argument 451 HcrDecoder(H_HCR_INFO pHcr, const CAacDecoderChannelInfo *pAacDecoderChannelInfo, HANDLE_FDK_BITSTREAM bs) argument 472 HcrDecoder(H_HCR_INFO pHcr, CAacDecoderChannelInfo *pAacDecoderChannelInfo, const SamplingRateInfo *pSamplingRateInfo, HANDLE_FDK_BITSTREAM bs) argument 561 HcrReorderQuantizedSpectralCoefficients( H_HCR_INFO pHcr, CAacDecoderChannelInfo *pAacDecoderChannelInfo, const SamplingRateInfo *pSamplingRateInfo ) argument [all...] |
H A D | aacdec_drc.h | 150 * \param pAacDecoderChannelInfo AAC decoder channel instance to be processed 161 CAacDecoderChannelInfo *pAacDecoderChannelInfo,
|
H A D | aacdecoder.cpp | 808 if (self->pAacDecoderChannelInfo[ch] != NULL) { 809 FreeAacDecoderChannelInfo (&self->pAacDecoderChannelInfo[ch]); 1027 if (self->pAacDecoderChannelInfo[ch] == NULL) { 1028 self->pAacDecoderChannelInfo[ch] = GetAacDecoderChannelInfo(ch); 1031 if (self->pAacDecoderChannelInfo[ch] == NULL) { 1035 self->pAacDecoderChannelInfo[ch]->pDynData = aacDecoderDynamicData; 1036 self->pAacDecoderChannelInfo[ch]->pComData = &self->aacCommonData; 1049 self->pAacDecoderChannelInfo[ch]->pSpectralCoefficient = (SPECTRAL_PTR) &self->aacCommonData.workBufferCore2[ch*1024]; 1052 CPns_InitPns(&self->pAacDecoderChannelInfo[ch]->data.aac.PnsData, &self->aacCommonData.pnsInterChannelData, &self->aacCommonData.pnsCurrentSeed, self->aacCommonData.pnsRandomSeed); 1079 self->pAacDecoderChannelInfo[c 1687 CAacDecoderChannelInfo *pAacDecoderChannelInfo; local [all...] |
H A D | channelinfo.h | 327 \param pAacDecoderChannelInfo aac channel info. 336 void CJointStereo_ApplyMS(CAacDecoderChannelInfo *pAacDecoderChannelInfo[2], 348 \param pAacDecoderChannelInfo aac channel info. 356 void CJointStereo_ApplyIS(CAacDecoderChannelInfo *pAacDecoderChannelInfo[2],
|
H A D | aacdecoder.h | 195 CAacDecoderChannelInfo *pAacDecoderChannelInfo[(8)]; /*!< Temporal channel memory */ member in struct:AAC_DECODER_INSTANCE 198 CAacDecoderCommonData aacCommonData; /*!< Temporal shared data for all channels hooked into pAacDecoderChannelInfo */
|
H A D | aacdec_drc.cpp | 848 CAacDecoderChannelInfo *pAacDecoderChannelInfo, 870 FIXP_DBL *pSpectralCoefficient = SPEC_LONG(pAacDecoderChannelInfo->pSpectralCoefficient); 871 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; 872 SHORT *pSpecScale = pAacDecoderChannelInfo->specScale;
|