Home
last modified time | relevance | path

Searched refs:nTimeSlots (Results 1 – 21 of 21) sorted by relevance

/external/aac/libSACenc/src/
Dsacenc_onsetdetect.cpp262 HANDLE_ONSET_DETECT hOnset, const INT nTimeSlots, const INT nHybridBands, in fdk_sacenc_onsetDetect_Apply() argument
276 if ((nTimeSlots < 0) || (nTimeSlots > hOnset->maxTimeSlots) || in fdk_sacenc_onsetDetect_Apply()
299 currPos = FDKmax(nTimeSlots, in fdk_sacenc_onsetDetect_Apply()
300 prevPos - nTimeSlots + hOnset->minTransientDistance); in fdk_sacenc_onsetDetect_Apply()
302 currPos = nTimeSlots; in fdk_sacenc_onsetDetect_Apply()
308 for (ts = 0; ts < nTimeSlots; ts++) { in fdk_sacenc_onsetDetect_Apply()
318 for (i = 0; i < (nTimeSlots + M); i++) { in fdk_sacenc_onsetDetect_Apply()
323 for (i = 0; i < (nTimeSlots + M); i++) { in fdk_sacenc_onsetDetect_Apply()
328 for (i = 0; i < (nTimeSlots + M); i++) { in fdk_sacenc_onsetDetect_Apply()
334 for (i = 0; i < (nTimeSlots + M); i++) { in fdk_sacenc_onsetDetect_Apply()
[all …]
Dsacenc_paramextract.cpp555 HANDLE_TTO_BOX hTtoBox, const INT nTimeSlots, const INT startTimeSlot, in fdk_sacenc_applyTtoBox() argument
595 startTimeSlot, nTimeSlots, nParamBands); in fdk_sacenc_applyTtoBox()
598 startTimeSlot, nTimeSlots, nParamBands); in fdk_sacenc_applyTtoBox()
606 startTimeSlot, nTimeSlots, j, j + 1); in fdk_sacenc_applyTtoBox()
609 startTimeSlot, nTimeSlots, j, j + 1); in fdk_sacenc_applyTtoBox()
624 startTimeSlot, nTimeSlots, j, j + 1); in fdk_sacenc_applyTtoBox()
Dsacenc_vectorfunctions.h400 const INT nParameterBands, const INT nTimeSlots,
430 const INT nTimeSlots, const INT nParamBands);
Dsacenc_tree.cpp358 const INT nTimeSlots, const INT startTimeSlot, const INT nHybridBands, in fdk_sacenc_spaceTree_Apply() argument
413 nTimeSlots, startTimeSlot, pFrameWindowAna__FDK, in fdk_sacenc_spaceTree_Apply()
423 hST->ttoBox[pTTO->boxId], nTimeSlots, startTimeSlot, nHybridBands, in fdk_sacenc_spaceTree_Apply()
Dsacenc_vectorfunctions.cpp364 const INT nParameterBands, const INT nTimeSlots, in addWeightedCplxVec() argument
382 for (i = startTimeSlot; i < nTimeSlots; i++) { in addWeightedCplxVec()
397 const INT nTimeSlots, const INT nParamBands) { in FDKcalcPbScaleFactor() argument
404 for (i = startTimeSlot; i < nTimeSlots; i++) { in FDKcalcPbScaleFactor()
Dsacenc_onsetdetect.h150 HANDLE_ONSET_DETECT hOnset, const INT nTimeSlots, const INT nHybridBands,
Dsacenc_framewindowing.h176 const INT nTimeSlots, const INT startTimeSlot,
Dsacenc_tree.h153 const INT nTimeSlots, const INT startTimeSlot, const INT nHybridBands,
Dsacenc_framewindowing.cpp521 const INT nTimeSlots, const INT startTimeSlot, in fdk_sacenc_analysisWindowing() argument
535 for (ts = startTimeSlot; ts < nTimeSlots; ts++) { in fdk_sacenc_analysisWindowing()
550 for (ts = startTimeSlot; ts < nTimeSlots; ts++) { in fdk_sacenc_analysisWindowing()
Dsacenc_paramextract.h181 HANDLE_TTO_BOX hTtoBox, const INT nTimeSlots, const INT startTimeSlot,
Dsacenc_lib.cpp829 INT nTimeSlots) { in getAnalysisLengthTimeSlots() argument
831 for (i = nTimeSlots - 1; i >= 0; i--) { in getAnalysisLengthTimeSlots()
836 nTimeSlots = i + 1; in getAnalysisLengthTimeSlots()
837 return nTimeSlots; in getAnalysisLengthTimeSlots()
840 static INT getAnalysisStartTimeSlot(FIXP_WIN *pFrameWindowAna, INT nTimeSlots) { in getAnalysisStartTimeSlot() argument
843 for (i = 0; i < nTimeSlots; i++) { in getAnalysisStartTimeSlot()
/external/aac/libSBRenc/src/
Dtran_det.cpp800 h_sbrFastTransientDetector->nTimeSlots = time_slots_per_frame; in FDKsbrEnc_InitSbrFastTransientDetector()
802 buff_size = h_sbrFastTransientDetector->nTimeSlots + in FDKsbrEnc_InitSbrFastTransientDetector()
919 const int nTimeSlots = h_sbrFastTransientDetector->nTimeSlots; in FDKsbrEnc_fastTransientDetect() local
940 FDKmemclear(transientCandidates + lookahead, nTimeSlots * sizeof(int)); in FDKsbrEnc_fastTransientDetect()
942 for (timeSlot = lookahead; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1026 for (timeSlot = lookahead; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1052 for (timeSlot = 0; timeSlot < nTimeSlots; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1074 for (timeSlot = nTimeSlots; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1082 transientCandidates[timeSlot] = transientCandidates[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
1085 energy_timeSlots[timeSlot] = energy_timeSlots[nTimeSlots + timeSlot]; in FDKsbrEnc_fastTransientDetect()
[all …]
Dtran_det.h145 INT nTimeSlots; member
Dfram_gen.cpp1696 INT nTimeSlots) { in createDefFrameInfo() argument
1699 switch (nTimeSlots) { in createDefFrameInfo()
1720 switch (nTimeSlots) { in createDefFrameInfo()
1741 switch (nTimeSlots) { in createDefFrameInfo()
/external/aac/libSACdec/src/
Dsac_bitdec.cpp363 pSpatialSpecificConfig->nTimeSlots = (coreSbrFrameLengthIndex == 4) ? 64 : 32; in SpatialDecParseMps212Config()
479 pSpatialSpecificConfig->nTimeSlots = FDKreadBits(bitstream, 5) + 1; in SpatialDecParseSpecificConfig()
480 if ((pSpatialSpecificConfig->nTimeSlots < 1) || in SpatialDecParseSpecificConfig()
481 (pSpatialSpecificConfig->nTimeSlots > MAX_TIME_SLOTS)) { in SpatialDecParseSpecificConfig()
615 AUDIO_OBJECT_TYPE coreCodec, int samplingFreq, int nTimeSlots, in SpatialDecDefaultSpecificConfig() argument
623 FDK_ASSERT(nTimeSlots > 0); in SpatialDecDefaultSpecificConfig()
628 pSpatialSpecificConfig->nTimeSlots = nTimeSlots; in SpatialDecDefaultSpecificConfig()
1015 bitsParamSlot = nBitsParamSlot(pSpatialSpecificConfig->nTimeSlots); in SpatialDecParseFrameData()
1021 (frame->paramSlot[i] >= pSpatialSpecificConfig->nTimeSlots)) { in SpatialDecParseFrameData()
1030 frame->paramSlot[i] = ((pSpatialSpecificConfig->nTimeSlots * (i + 1)) / in SpatialDecParseFrameData()
[all …]
Dsac_dec_lib.cpp338 (pSsc1->nTimeSlots != pSsc2->nTimeSlots)) { in mpegSurroundDecoder_CalcInitFlags()
1027 if (checkTimeSlots(frameLength, qmfBands, pSsc->nTimeSlots) != MPS_OK) { in sscCheckInBand()
1134 if (!((qmfBands == 32) && (pSsc->nTimeSlots == 15))) { in sscCheckOutOfBand()
1139 if (!((qmfBands == 64) && (pSsc->nTimeSlots == 15))) { in sscCheckOutOfBand()
1144 if (!(((qmfBands == 32) && (pSsc->nTimeSlots == 16)) || in sscCheckOutOfBand()
1145 ((qmfBands == 64) && (pSsc->nTimeSlots == 8)))) { in sscCheckOutOfBand()
1150 if (!((qmfBands == 64) && (pSsc->nTimeSlots == 16))) { in sscCheckOutOfBand()
Dsac_bitdec.h143 AUDIO_OBJECT_TYPE coreCodec, int samplingFreq, int nTimeSlots,
Dsac_dec_interface.h265 int nTimeSlots, int decoderLevel, int isBlind);
Dsac_dec_ssc_struct.h234 int nTimeSlots; member
Dsac_dec.cpp144 int nTimeSlots, int decoderLevel, int isBlind) { in FDK_SpatialDecInitDefaultSpatialSpecificConfig() argument
146 samplingFreq, nTimeSlots, decoderLevel, in FDK_SpatialDecInitDefaultSpatialSpecificConfig()
/external/aac/libAACenc/src/
Dmps_main.cpp224 UINT nTimeSlots = 0, nQmfBandsLd = 0; in FDK_MpegsEnc_Init() local
255 nTimeSlots = framelength >> nQmfBandsLd; in FDK_MpegsEnc_Init()
258 if (framelength != (nTimeSlots << nQmfBandsLd)) { in FDK_MpegsEnc_Init()
285 nTimeSlots)) || in FDK_MpegsEnc_Init()