Home
last modified time | relevance | path

Searched refs:startBand (Results 1 – 19 of 19) sorted by relevance

/external/aac/libSACenc/src/
Dsacenc_bitstream.cpp216 const INT startBand, const INT numBands) { in fine2coarse() argument
219 for (i = startBand; i < startBand + numBands; i++) { in fine2coarse()
223 for (i = startBand; i < startBand + numBands; i++) { in fine2coarse()
230 const INT startBand, const INT numBands) { in coarse2fine() argument
233 for (i = startBand; i < startBand + numBands; i++) { in coarse2fine()
238 for (i = startBand; i < startBand + numBands; i++) { in coarse2fine()
269 const INT independencyFlag, const INT startBand, in ecData() argument
282 for (i = startBand; i < stopBand; i++) { in ecData()
298 for (i = startBand; i < stopBand; i++) { in ecData()
349 for (i = startBand; i < stopBand; i++) { in ecData()
[all …]
Dsacenc_nlc_enc.cpp948 const INT startBand, const INT dataBands, in fdk_sacenc_ecDataPairEnc() argument
1019 split_lsb(aaInData[setIdx] + startBand, quant_offset, dataBands, in fdk_sacenc_ecDataPairEnc()
1022 split_lsb(aaInData[setIdx + 1] + startBand, quant_offset, dataBands, in fdk_sacenc_ecDataPairEnc()
1031 quant_data_msb[0][pb] = aaInData[setIdx][startBand + pb] + quant_offset; in fdk_sacenc_ecDataPairEnc()
1033 aaInData[setIdx + 1][startBand + pb] + quant_offset; in fdk_sacenc_ecDataPairEnc()
1041 p_quant_data_msb[0] = aaInData[setIdx] + startBand; in fdk_sacenc_ecDataPairEnc()
1042 p_quant_data_msb[1] = aaInData[setIdx + 1] + startBand; in fdk_sacenc_ecDataPairEnc()
1049 split_lsb(aHistory + startBand, quant_offset, dataBands, in fdk_sacenc_ecDataPairEnc()
1055 quant_data_hist_msb[pb] = aHistory[startBand + pb] + quant_offset; in fdk_sacenc_ecDataPairEnc()
1059 p_quant_data_hist_msb = aHistory + startBand; in fdk_sacenc_ecDataPairEnc()
[all …]
Dsacenc_nlc_enc.h129 const INT startBand, const INT dataBands,
137 const INT startBand, const INT dataBands,
Dsacenc_vectorfunctions.h464 INT FDKcalcScaleFactorDPK(const FIXP_DPK *RESTRICT x, const INT startBand,
Dsacenc_vectorfunctions.cpp437 INT FDKcalcScaleFactorDPK(const FIXP_DPK *RESTRICT x, const INT startBand, in FDKcalcScaleFactorDPK() argument
442 for (qs = startBand; qs < bands; qs++) { in FDKcalcScaleFactorDPK()
/external/aac/libAACdec/src/
Drvlcconceal.cpp132 int band, bnds, group, startBand; in calcRefValFwd() local
155 startBand = conceal_min - 1; in calcRefValFwd()
157 for (band = startBand; band >= 0; band--) { in calcRefValFwd()
186 startBand = pRvlc->maxSfbTransmitted - 1; in calcRefValFwd()
208 int band, bnds, group, startBand; in calcRefValBwd() local
230 startBand = conceal_max + 1; in calcRefValBwd()
234 for (band = startBand; band < pRvlc->maxSfbTransmitted; band++) { in calcRefValBwd()
263 startBand = 0; in calcRefValBwd()
290 int band, bnds, startBand, endBand, group; in BidirectionalEstimation_UseLowerScfOfCurrentFrame() local
362 startBand = conceal_min; in BidirectionalEstimation_UseLowerScfOfCurrentFrame()
[all …]
/external/aac/libSBRdec/src/
Dsbr_dec.cpp165 int startBand = xOverQmf[MAX_STRETCH_HBE - 1] - 1; in copyHarmonicSpectrum() local
175 startBand--; in copyHarmonicSpectrum()
184 ppqmfReal[col][target + band - 1] = ppqmfReal[col][startBand - i]; in copyHarmonicSpectrum()
185 ppqmfImag[col][target + band - 1] = ppqmfImag[col][startBand - i]; in copyHarmonicSpectrum()
196 ppqmfReal[col][target + band - 1] = ppqmfReal[col][startBand - i]; in copyHarmonicSpectrum()
197 ppqmfImag[col][target + band - 1] = ppqmfImag[col][startBand - i]; in copyHarmonicSpectrum()
1039 int l, startBand, stopBand, startSlot, size; in resetSbrDec() local
1088 startBand = old_lsb; in resetSbrDec()
1092 size = fMax(0, stopBand - startBand); in resetSbrDec()
1101 FDKmemclear(&OverlapBufferReal[l][startBand], size * sizeof(FIXP_DBL)); in resetSbrDec()
[all …]
Dhbe.cpp1058 hQmfTransposer->startBand = FreqBandTable[0][0]; in QmfTransposerReInit()
1059 FDK_ASSERT((!hQmfTransposer->bSbr41 && hQmfTransposer->startBand <= 32) || in QmfTransposerReInit()
1061 hQmfTransposer->startBand <= in QmfTransposerReInit()
1066 4 * ((hQmfTransposer->startBand + 4) / 8 + 1); /* 8, 12, 16, 20 */ in QmfTransposerReInit()
1067 hQmfTransposer->kstart = startSubband2kL[hQmfTransposer->startBand]; in QmfTransposerReInit()
1145 FreqBandTable[0][sfb] <= patch * hQmfTransposer->startBand) in QmfTransposerReInit()
1150 if ((patch * hQmfTransposer->startBand - FreqBandTable[0][sfb - 1]) <= in QmfTransposerReInit()
1156 FreqBandTable[1][sfb_tmp] <= patch * hQmfTransposer->startBand) in QmfTransposerReInit()
1411 fMax(0, hQmfTransposer->stopBand - hQmfTransposer->startBand); in QmfTransposerApply()
1414 scaleValuesSaturate(&ppQmfBufferOutReal_F[i][hQmfTransposer->startBand], in QmfTransposerApply()
[all …]
Dhbe.h146 int startBand; member
Dlpp_tran.cpp951 start = hQmfTransposer->startBand; in lppTransposerHBE()
/external/aac/libSACdec/src/
Dsac_bitdec.cpp687 static void coarse2fine(SCHAR *data, DATA_TYPE dataType, int startBand, in coarse2fine() argument
691 for (i = startBand; i < startBand + numBands; i++) { in coarse2fine()
696 for (i = startBand; i < startBand + numBands; i++) { in coarse2fine()
719 static void fine2coarse(SCHAR *data, DATA_TYPE dataType, int startBand, in fine2coarse() argument
723 for (i = startBand; i < startBand + numBands; i++) { in fine2coarse()
746 static int getStrideMap(int freqResStride, int startBand, int stopBand, in getStrideMap() argument
751 dataBands = (stopBand - startBand - 1) / pbStride + 1; in getStrideMap()
753 aStrides[0] = startBand; in getStrideMap()
788 int datatype, int boxIdx, int startBand, int stopBand, SCHAR defaultValue) { in ecDataDec() argument
822 for (pb = startBand; pb < stopBand; pb++) { in ecDataDec()
[all …]
Dsac_dec_conceal.cpp137 SCHAR *bsXXXDataMode, const int startBand, const int stopBand, in SpatialDecConcealment_Apply() argument
166 for (band = startBand; band < stopBand; band += 1) { in SpatialDecConcealment_Apply()
176 for (band = startBand; band < stopBand; band += 1) { in SpatialDecConcealment_Apply()
187 for (band = startBand; band < stopBand; band += 1) { in SpatialDecConcealment_Apply()
207 for (band = startBand; band < stopBand; band += 1) { in SpatialDecConcealment_Apply()
Dsac_dec_conceal.h176 SCHAR *bsXXXDataMode, const int startBand,
/external/aac/libSBRenc/src/
Dtran_det.cpp815 h_sbrFastTransientDetector->startBand = in FDKsbrEnc_InitSbrFastTransientDetector()
819 FDK_ASSERT(h_sbrFastTransientDetector->startBand < no_qmf_channels); in FDKsbrEnc_InitSbrFastTransientDetector()
820 FDK_ASSERT(h_sbrFastTransientDetector->startBand < in FDKsbrEnc_InitSbrFastTransientDetector()
822 FDK_ASSERT(h_sbrFastTransientDetector->startBand > 1); in FDKsbrEnc_InitSbrFastTransientDetector()
828 h_sbrFastTransientDetector->startBand <= in FDKsbrEnc_InitSbrFastTransientDetector()
921 const int startBand = h_sbrFastTransientDetector->startBand; in FDKsbrEnc_fastTransientDetect() local
952 for (band = startBand; band < stopBand; band++) { in FDKsbrEnc_fastTransientDetect()
959 for (i = 0, band = startBand; band < stopBand; band++, i++) { in FDKsbrEnc_fastTransientDetect()
Denv_est.cpp148 const UCHAR startBand, const INT stopBand, in FDKsbrEnc_GetTonality() argument
170 for (b = startBand; b < stopBand; b++) { in FDKsbrEnc_GetTonality()
174 for (b = startBand; b < stopBand; b++) { in FDKsbrEnc_GetTonality()
180 for (b = startBand; b < stopBand; b++) { in FDKsbrEnc_GetTonality()
186 maxNEnergyValues = fMin(SBR_MAX_ENERGY_VALUES, stopBand - startBand); in FDKsbrEnc_GetTonality()
189 energyMaxMin = energyMax[0] = energyBand[startBand]; in FDKsbrEnc_GetTonality()
190 no_enMaxBand[0] = startBand; in FDKsbrEnc_GetTonality()
193 energyMax[k] = energyBand[startBand + k]; in FDKsbrEnc_GetTonality()
194 no_enMaxBand[k] = startBand + k; in FDKsbrEnc_GetTonality()
201 for (b = startBand + maxNEnergyValues; b < stopBand; b++) { in FDKsbrEnc_GetTonality()
Dtran_det.h147 INT startBand; member
Dsbr_encoder.cpp368 INT startBand, stopBand; in FDKsbrEnc_GetDownsampledStopFreq() local
381 32 << (downSampleFactor - 1), startFreq, stopFreq, &startBand, &stopBand); in FDKsbrEnc_GetDownsampledStopFreq()
/external/aac/libFDK/include/
Dnlc_dec.h174 DATA_TYPE data_type, int startBand, int dataBands,
/external/aac/libFDK/src/
Dnlc_dec.cpp821 DATA_TYPE data_type, int startBand, int dataBands, in EcDataPairDec() argument
996 aHistoryMsb[i] = aHistory[i + startBand] + quant_offset; in EcDataPairDec()
1036 FDKmemcpy(aaOutData1 + startBand, aaDataPair[0], sizeof(SCHAR) * dataBands); in EcDataPairDec()
1038 FDKmemcpy(aaOutData2 + startBand, aaDataPair[1], sizeof(SCHAR) * dataBands); in EcDataPairDec()