Home
last modified time | relevance | path

Searched refs:nSfb (Results 1 – 20 of 20) sorted by relevance

/external/aac/libSBRenc/src/
Dmh_det.cpp230 const UCHAR *pFreqBandTable, INT nSfb) { in calculateFlatnessMeasure() argument
237 for (i = 0; i < nSfb; i++) { in calculateFlatnessMeasure()
319 const UCHAR *freqBandTable, INT nSfb, INT noEstPerFrame, INT move) { in calculateDetectorInput() argument
327 nSfb, indexVector); in calculateDetectorInput()
331 freqBandTable, nSfb); in calculateDetectorInput()
349 INT start, INT stop, INT nSfb, in removeLowPassDetection() argument
356 INT maxDerivPos = pFreqBandTable[nSfb]; in removeLowPassDetection()
357 INT numBands = pFreqBandTable[nSfb]; in removeLowPassDetection()
431 for (i = 0; i < nSfb; i++) { in removeLowPassDetection()
527 static void transientCleanUp(FIXP_DBL **quotaBuffer, INT nSfb, in transientCleanUp() argument
[all …]
Dmh_det.h155 INT nSfb; member
186 const UCHAR *freqBandTable, INT nSfb, UCHAR *envelopeCompensation,
194 INT sampleFreq, INT frameSize, INT nSfb, INT qmfNoChannels, INT totNoEst,
202 INT nSfb);
Dcode_env.cpp470 no_of_bands = h_sbrCodeEnvelope->nSfb[FREQ_RES_HIGH]; in FDKsbrEnc_codeEnvelope()
472 no_of_bands = h_sbrCodeEnvelope->nSfb[FREQ_RES_LOW]; in FDKsbrEnc_codeEnvelope()
586 INT *nSfb, INT deltaTAcrossFrames, in FDKsbrEnc_InitSbrCodeEnvelope() argument
596 h_sbrCodeEnvelope->nSfb[FREQ_RES_LOW] = nSfb[FREQ_RES_LOW]; in FDKsbrEnc_InitSbrCodeEnvelope()
597 h_sbrCodeEnvelope->nSfb[FREQ_RES_HIGH] = nSfb[FREQ_RES_HIGH]; in FDKsbrEnc_InitSbrCodeEnvelope()
598 h_sbrCodeEnvelope->offset = 2 * h_sbrCodeEnvelope->nSfb[FREQ_RES_LOW] - in FDKsbrEnc_InitSbrCodeEnvelope()
599 h_sbrCodeEnvelope->nSfb[FREQ_RES_HIGH]; in FDKsbrEnc_InitSbrCodeEnvelope()
Dton_corr.cpp375 INT nSfb, /*!< Number of scalefactor bands for high-res. */ in FDKsbrEnc_TonCorrParamExtr() argument
433 missingHarmonicFlag, missingHarmonicsIndex, freqBandTable, nSfb, in FDKsbrEnc_TonCorrParamExtr()
437 FDKmemclear(missingHarmonicsIndex, nSfb * sizeof(UCHAR)); in FDKsbrEnc_TonCorrParamExtr()
712 INT *nSfb = sbrCfg->nSfb; in FDKsbrEnc_InitTonCorrParamExtr() local
800 nSfb[LO], noiseBands, noiseFloorOffset, timeSlots, useSpeechConfig)) in FDKsbrEnc_InitTonCorrParamExtr()
810 &hTonCorr->sbrMissingHarmonicsDetector, fs, frameSize, nSfb[HI], in FDKsbrEnc_InitTonCorrParamExtr()
838 INT *nSfb, /*!< Number of frequency bands (hig-res and low-res). */ in FDKsbrEnc_ResetTonCorrParamExtr() argument
851 freqBandTable[LO], nSfb[LO])) in FDKsbrEnc_ResetTonCorrParamExtr()
864 &hTonCorr->sbrMissingHarmonicsDetector, nSfb[HI])) in FDKsbrEnc_ResetTonCorrParamExtr()
Dnf_est.h165 INT nSfb, /*!< Number of frequency bands. */
178 INT nSfb); /*!< Number of bands in the frequency band table. */
Dcode_env.h118 INT nSfb[2]; member
152 INT *nSfb, INT deltaTAcrossFrames,
Dnf_est.cpp466 INT nSfb, /*!< Number of frequency bands. */ in FDKsbrEnc_InitSbrNoiseFloorEstimate() argument
511 freqBandTable, nSfb)) in FDKsbrEnc_InitSbrNoiseFloorEstimate()
551 INT nSfb /*!< Number of bands in the frequency band table. */ in FDKsbrEnc_resetSbrNoiseFloorEstimate() argument
558 k2 = freqBandTable[nSfb]; in FDKsbrEnc_resetSbrNoiseFloorEstimate()
589 nSfb)); in FDKsbrEnc_resetSbrNoiseFloorEstimate()
Dtran_det.cpp133 INT *scaleEnergies, FIXP_DBL EnergyTotal, INT nSfb, INT start, INT border, in spectralChange() argument
196 for (j = 0; j < nSfb; j++) { in spectralChange()
326 UCHAR *RESTRICT freqBandTable, INT nSfb, INT sbrSlots, INT timeStep) { in addHighbandEnergies() argument
341 for (j = 0; j < nSfb; j++) { in addHighbandEnergies()
368 for (j = 0; j < nSfb; j++) { in addHighbandEnergies()
375 for (j = 0; j < nSfb; j++) { in addHighbandEnergies()
396 UCHAR *tran_vector, int YBufferWriteOffset, int YBufferSzShift, int nSfb, in FDKsbrEnc_frameSplitter() argument
423 EnergiesM, freqBandTable, nSfb, sbrSlots, timeStep); in FDKsbrEnc_frameSplitter()
440 delta = spectralChange(EnergiesM, scaleEnergies, EnergyTotal, nSfb, 0, in FDKsbrEnc_frameSplitter()
Dton_corr.h213 INT nSfb, /*!< Number of scalefactor bands for high-res. */
255 INT* nSfb, /*!< Number of frequency bands (hig-res and low-res). */
Dsbr_encoder.cpp832 &sbrConfigData->nSfb[HI], sbrConfigData->v_k_master, in updateFreqBandTable()
838 sbrConfigData->freqBandTable[LO], &sbrConfigData->nSfb[LO], in updateFreqBandTable()
839 sbrConfigData->freqBandTable[HI], sbrConfigData->nSfb[HI]); in updateFreqBandTable()
871 sbrConfigData->freqBandTable, sbrConfigData->nSfb, in resetEnvChannel()
875 hEnv->sbrCodeNoiseFloor.nSfb[LO] = in resetEnvChannel()
877 hEnv->sbrCodeNoiseFloor.nSfb[HI] = in resetEnvChannel()
880 hEnv->sbrCodeEnvelope.nSfb[LO] = sbrConfigData->nSfb[LO]; in resetEnvChannel()
881 hEnv->sbrCodeEnvelope.nSfb[HI] = sbrConfigData->nSfb[HI]; in resetEnvChannel()
883 hEnv->encEnvData.noHarmonics = sbrConfigData->nSfb[HI]; in resetEnvChannel()
1443 if (FDKsbrEnc_InitSbrCodeEnvelope(&hEnv->sbrCodeEnvelope, sbrConfigData->nSfb, in initEnvChannel()
[all …]
Dtran_det.h189 UCHAR *tran_vector, int YBufferWriteOffset, int YBufferSzShift, int nSfb,
Denv_est.cpp787 no_of_bands = h_con->nSfb[freq_res]; in calculateSbrEnvelope()
1058 h_con->freqBandTable[HI][h_con->nSfb[HI]], hEnvChan->qmfScale); in FDKsbrEnc_extractSbrEnvelope1()
1108 sbrExtrEnv->YBufferSzShift, h_con->nSfb[1], sbrExtrEnv->time_step, in FDKsbrEnc_extractSbrEnvelope1()
1320 h_con->nSfb[HI], hEnvChan->encEnvData.sbr_xpos_mode, in FDKsbrEnc_extractSbrEnvelope2()
1354 ? h_con->nSfb[FREQ_RES_HIGH] in FDKsbrEnc_extractSbrEnvelope2()
1355 : h_con->nSfb[FREQ_RES_LOW]); in FDKsbrEnc_extractSbrEnvelope2()
/external/aac/libSBRdec/src/
Denv_dec.cpp410 h_sbr_data->nScaleFactors = hHeaderData->freqBandData.nSfb[1]; in leanSbrConcealment()
507 for (i = 0; i < hHeaderData->freqBandData.nSfb[1]; i++) { in decodeEnvelope()
579 for (i = 0; i < hHeaderData->freqBandData.nSfb[1]; i++) { in checkEnvelopeData()
633 UCHAR *nSfb = hHeaderData->freqBandData.nSfb; in timeCompensateFirstEnvelope() local
663 nScalefactors = (pFrameInfo->freqRes[0]) ? nSfb[1] : nSfb[0]; in timeCompensateFirstEnvelope()
778 2 * hHeaderData->freqBandData.nSfb[0] - hHeaderData->freqBandData.nSfb[1]; in deltaToLinearPcmEnvelopeDecoding()
786 no_of_bands = hHeaderData->freqBandData.nSfb[freqRes]; in deltaToLinearPcmEnvelopeDecoding()
Denv_extr.cpp484 int nSfb = hHeaderData->freqBandData.nSfb[1]; in sbrGetSyntheticCodedData() local
487 int readBits = fMin(32, nSfb); in sbrGetSyntheticCodedData()
488 nSfb -= readBits; in sbrGetSyntheticCodedData()
1064 hHeaderData->freqBandData.nSfb[h_frame_data->frameInfo.freqRes[i]]; in sbrGetEnvelope()
Denv_extr.h178 UCHAR nSfb[2]; /*!< Number of SBR-bands for low and high freq-resolution */ member
Denv_calc.cpp184 FIXP_DBL **analysBufferImag, int nSfb,
247 int nSfb, /*!< Number of bands in the table */ in mapSineFlags() argument
283 for (i = 0; i < nSfb; i++) { in mapSineFlags()
331 int nSfb, /*!< Number of bands in the table */ in mapSineFlagsPvc() argument
351 const int usb = freqBandTable[nSfb]; in mapSineFlagsPvc()
897 UCHAR *noSubFrameBands = hFreq->nSfb; in calculateSbrEnvelope()
1104 noSubFrameBands = hFreq->nSfb; in calculateSbrEnvelope()
2115 int nSfb, /*!< Number of scale factor bands */ in calcNrgPerSfb() argument
2139 for (j = 0; j < nSfb; j++) { in calcNrgPerSfb()
Dsbrdec_freq_sca.cpp777 hFreq->nSfb[0] = nBandsLo; in resetFreqBandTables()
778 hFreq->nSfb[1] = nBandsHi; in resetFreqBandTables()
Dsbr_dec.cpp547 hHeaderData->freqBandData.nSfb[0], in sbr_dec()
1256 hHeaderData->freqBandData.nSfb); in resetSbrDec()
1471 hHeaderData->freqBandData.nSfb[0], in resetSbrDec()
/external/aac/libSBRenc/include/
Dsbr_encoder.h248 INT nSfb[2]; /**< Number of SBR scalefactor bands for LO_RES and HI_RES (?) */ member
/external/aac/libAACenc/src/
Dadj_thr.cpp470 INT ch, sfb, sfbGrp, nSfb; in FDKaacEnc_adaptMinSnr() local
485 nSfb = 0; in FDKaacEnc_adaptMinSnr()
493 nSfb += maxSfbPerGroup; in FDKaacEnc_adaptMinSnr()
499 if ((accu == FL2FXCONST_DBL(0.0f)) || (nSfb == 0)) { in FDKaacEnc_adaptMinSnr()
502 nSfbLD64 = CalcLdInt(nSfb); in FDKaacEnc_adaptMinSnr()