/external/aac/libAACdec/src/ |
D | channelinfo.cpp | 108 AAC_DECODER_ERROR IcsReadMaxSfb(HANDLE_FDK_BITSTREAM bs, CIcsInfo *pIcsInfo, in IcsReadMaxSfb() argument 113 if (IsLongBlock(pIcsInfo)) { in IcsReadMaxSfb() 115 pIcsInfo->TotalSfBands = pSamplingRateInfo->NumberOfScaleFactorBands_Long; in IcsReadMaxSfb() 118 pIcsInfo->TotalSfBands = pSamplingRateInfo->NumberOfScaleFactorBands_Short; in IcsReadMaxSfb() 120 pIcsInfo->MaxSfBands = (UCHAR)FDKreadBits(bs, nbits); in IcsReadMaxSfb() 122 if (pIcsInfo->MaxSfBands > pIcsInfo->TotalSfBands) { in IcsReadMaxSfb() 129 AAC_DECODER_ERROR IcsRead(HANDLE_FDK_BITSTREAM bs, CIcsInfo *pIcsInfo, in IcsRead() argument 134 pIcsInfo->Valid = 0; in IcsRead() 137 pIcsInfo->WindowSequence = BLOCK_LONG; in IcsRead() 138 pIcsInfo->WindowShape = 0; in IcsRead() [all …]
|
D | channelinfo.h | 437 AAC_DECODER_ERROR IcsReadMaxSfb(HANDLE_FDK_BITSTREAM hBs, CIcsInfo *pIcsInfo, 440 AAC_DECODER_ERROR IcsRead(HANDLE_FDK_BITSTREAM bs, CIcsInfo *pIcsInfo, 497 inline UCHAR IsValid(const CIcsInfo *pIcsInfo) { return pIcsInfo->Valid; } in IsValid() argument 499 inline UCHAR IsLongBlock(const CIcsInfo *pIcsInfo) { in IsLongBlock() argument 500 return (pIcsInfo->WindowSequence != BLOCK_SHORT); in IsLongBlock() 503 inline UCHAR GetWindowShape(const CIcsInfo *pIcsInfo) { in GetWindowShape() argument 504 return pIcsInfo->WindowShape; in GetWindowShape() 507 inline BLOCK_TYPE GetWindowSequence(const CIcsInfo *pIcsInfo) { in GetWindowSequence() argument 508 return pIcsInfo->WindowSequence; in GetWindowSequence() 512 const CIcsInfo *pIcsInfo, const SamplingRateInfo *samplingRateInfo) { in GetScaleFactorBandOffsets() argument [all …]
|
D | aacdec_tns.cpp | 144 const CIcsInfo *pIcsInfo, const UINT flags) { in CTns_Read() argument 159 wins_per_frame = GetWindowsPerFrame(pIcsInfo); in CTns_Read() 160 isLongFlag = IsLongBlock(pIcsInfo); in CTns_Read() 175 nextstopband = GetScaleFactorBandsTotal(pIcsInfo); in CTns_Read() 238 const CIcsInfo *pIcsInfo, const UINT flags, in CTns_ReadDataPresentUsac() argument 248 CTns_Read(hBs, pTnsData0, pIcsInfo, flags); in CTns_ReadDataPresentUsac() 275 const CIcsInfo *pIcsInfo, SPECTRAL_PTR pSpectralCoefficient, in CTns_Apply() argument 286 wins_per_frame = GetWindowsPerFrame(pIcsInfo); in CTns_Apply() 323 pIcsInfo, pSamplingRateInfo->samplingRateIndex); in CTns_Apply() 334 start = GetScaleFactorBandOffsets(pIcsInfo, pSamplingRateInfo)[start]; in CTns_Apply() [all …]
|
D | conceal.cpp | 561 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in CConcealment_Store() local 575 hConcealmentInfo->windowSequence = GetWindowSequence(pIcsInfo); in CConcealment_Store() 576 hConcealmentInfo->windowShape = GetWindowShape(pIcsInfo); in CConcealment_Store() 578 *(GetWindowGroupLengthTable(pIcsInfo) + GetWindowGroups(pIcsInfo) - 1); in CConcealment_Store() 621 pIcsInfo->WindowSequence = tWindowSequence; in CConcealment_Store() 622 pIcsInfo->WindowShape = tWindowShape; in CConcealment_Store() 753 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in CConcealment_Apply() local 762 pIcsInfo->WindowSequence = hConcealmentInfo->windowSequence; in CConcealment_Apply() 763 pIcsInfo->WindowShape = hConcealmentInfo->windowShape; in CConcealment_Apply() 808 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in CConcealment_ApplyNoise() local [all …]
|
D | aacdec_pns.cpp | 314 void CPns_Apply(const CPnsData *pPnsData, const CIcsInfo *pIcsInfo, in CPns_Apply() argument 321 GetScaleFactorBandOffsets(pIcsInfo, pSamplingRateInfo); in CPns_Apply() 323 int ScaleFactorBandsTransmitted = GetScaleFactorBandsTransmitted(pIcsInfo); in CPns_Apply() 325 for (int window = 0, group = 0; group < GetWindowGroups(pIcsInfo); in CPns_Apply() 327 for (int groupwin = 0; groupwin < GetWindowGroupLength(pIcsInfo, group); in CPns_Apply()
|
D | pulsedata.cpp | 108 const SHORT *sfb_startlines, const void *pIcsInfo, in CPulseData_Read() argument 112 GetScaleFactorBandsTransmitted((const CIcsInfo *)pIcsInfo); in CPulseData_Read() 118 if (!IsLongBlock((const CIcsInfo *)pIcsInfo)) { in CPulseData_Read()
|
D | block.h | 116 void CPns_Apply(const CPnsData *pPnsData, const CIcsInfo *pIcsInfo, 139 const CIcsInfo *pIcsInfo, const UINT flags, 143 const CIcsInfo *pIcsInfo, const UINT flags); 146 const CIcsInfo *pIcsInfo, SPECTRAL_PTR pSpectralCoefficient,
|
D | pulsedata.h | 132 const SHORT *sfb_startlines, const void *pIcsInfo,
|
D | aacdec_hcr.cpp | 268 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in HcrInit() local 317 GetScaleFactorBandOffsets(pIcsInfo, pSamplingRateInfo); /* aux */ in HcrInit() 318 numOfGroups = GetWindowGroups(pIcsInfo); in HcrInit()
|
D | aacdec_drc.cpp | 865 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in aacDecoder_drcApply() local 868 int winSeq = pIcsInfo->WindowSequence; in aacDecoder_drcApply()
|
D | aacdecoder.cpp | 3369 CIcsInfo *pIcsInfo = &pAacDecoderChannelInfo->icsInfo; in CAacDecoder_DecodeFrame() local 3377 const int icsIsInvalid = (GetScaleFactorBandsTransmitted(pIcsInfo) > in CAacDecoder_DecodeFrame() 3378 GetScaleFactorBandsTotal(pIcsInfo)); in CAacDecoder_DecodeFrame()
|