Home
last modified time | relevance | path

Searched refs:frameInfo (Results 1 – 7 of 7) sorted by relevance

/external/aac/libSBRdec/src/
Denv_dec.cpp323 for (i = 0; i < hHeaderData->freqBandData.nNfb * h_data_left->frameInfo.nNoiseEnvelopes; i++) { in sbr_envelope_unmapping()
384 h_sbr_data->frameInfo.nEnvelopes = 1; in leanSbrConcealment()
385 h_sbr_data->frameInfo.borders[0] = currentStartPos; in leanSbrConcealment()
386 h_sbr_data->frameInfo.borders[1] = currentStopPos; in leanSbrConcealment()
387 h_sbr_data->frameInfo.freqRes[0] = 1; in leanSbrConcealment()
388 h_sbr_data->frameInfo.tranEnv = -1; /* no transient */ in leanSbrConcealment()
389 h_sbr_data->frameInfo.nNoiseEnvelopes = 1; in leanSbrConcealment()
390 h_sbr_data->frameInfo.bordersNoise[0] = currentStartPos; in leanSbrConcealment()
391 h_sbr_data->frameInfo.bordersNoise[1] = currentStopPos; in leanSbrConcealment()
456 … if ( h_sbr_data->frameInfo.borders[0] != h_prev_data->stopPos - hHeaderData->numberTimeSlots ) { in decodeEnvelope()
[all …]
Denv_extr.cpp510 …if ( !checkFrameInfo (&hFrameData->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderData->… in sbrGetSingleChannelElement()
591 …if ( !checkFrameInfo (&hFrameDataLeft->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderDa… in sbrGetChannelPairElement()
595 FDKmemcpy (&hFrameDataRight->frameInfo, &hFrameDataLeft->frameInfo, sizeof(FRAME_INFO)); in sbrGetChannelPairElement()
602 …if ( !checkFrameInfo (&hFrameDataRight->frameInfo, hHeaderData->numberTimeSlots, overlap, hHeaderD… in sbrGetChannelPairElement()
679 for (i = 0; i < h_frame_data->frameInfo.nEnvelopes; i++) { in sbrGetDirectionControlData()
683 for (i = 0; i < h_frame_data->frameInfo.nNoiseEnvelopes; i++) { in sbrGetDirectionControlData()
727 for (i=0; i<h_frame_data->frameInfo.nNoiseEnvelopes; i++) { in sbrGetNoiseFloorData()
770 int nEnvelopes = h_frame_data->frameInfo.nEnvelopes; in sbrGetEnvelope()
777 if ( (h_frame_data->frameInfo.frameClass == 0) && (nEnvelopes == 1) ) { in sbrGetEnvelope()
803 no_band[i] = hHeaderData->freqBandData.nSfb[h_frame_data->frameInfo.freqRes[i]]; in sbrGetEnvelope()
[all …]
Denv_calc.cpp516 UCHAR* borders = hFrameData->frameInfo.borders; in calculateSbrEnvelope()
549 hFrameData->frameInfo.tranEnv, in calculateSbrEnvelope()
568 for (i = 0; i < hFrameData->frameInfo.nEnvelopes; i++) { in calculateSbrEnvelope()
572 for (j=hFreq->nSfb[hFrameData->frameInfo.freqRes[i]]; j!=0; j--) { in calculateSbrEnvelope()
603 for (i = 0; i < hFrameData->frameInfo.nEnvelopes; i++) { in calculateSbrEnvelope()
614 …UCHAR freq_res = hFrameData->frameInfo.freqRes[i]; /* Frequency resolution for current envelop… in calculateSbrEnvelope()
624 if (borders[i] == hFrameData->frameInfo.bordersNoise[envNoise+1]){ in calculateSbrEnvelope()
629 if(i==hFrameData->frameInfo.tranEnv || i==h_sbr_cal_env->prevTranEnv) /* attack */ in calculateSbrEnvelope()
1091 if(hFrameData->frameInfo.tranEnv == hFrameData->frameInfo.nEnvelopes) in calculateSbrEnvelope()
Denv_extr.h263 FRAME_INFO frameInfo; /*!< time grid for current frame */ member
Dsbr_dec.cpp423 UCHAR * borders = hFrameData->frameInfo.borders; in sbr_dec()
424 lastSlotOffs = borders[hFrameData->frameInfo.nEnvelopes] - hHeaderData->numberTimeSlots; in sbr_dec()
478 hPrevFrameData->stopPos = borders[hFrameData->frameInfo.nEnvelopes]; in sbr_dec()
/external/aac/libSBRenc/src/
Dton_corr.cpp334 …const SBR_FRAME_INFO *frameInfo, /*!< Frame info struct, contains the time and frequency grid of t… in FDKsbrEnc_TonCorrParamExtr() argument
361 if(transientPos + hTonCorr->transientPosOffset >= frameInfo->borders[frameInfo->nEnvelopes]){ in FDKsbrEnc_TonCorrParamExtr()
368 if(transientPos + hTonCorr->transientPosOffset < frameInfo->borders[frameInfo->nEnvelopes]){ in FDKsbrEnc_TonCorrParamExtr()
401 frameInfo, in FDKsbrEnc_TonCorrParamExtr()
424 frameInfo, in FDKsbrEnc_TonCorrParamExtr()
Dton_corr.h164 …const SBR_FRAME_INFO *frameInfo, /*!< Frame info struct, contains the time and frequency grid o…