Searched refs:ptr_nrg (Results 1 – 2 of 2) sorted by relevance
/external/aac/libSBRenc/src/ |
D | code_env.cpp | 409 SCHAR *ptr_nrg; in FDKsbrEnc_codeEnvelope() local 474 ptr_nrg = sfb_nrg; in FDKsbrEnc_codeEnvelope() 475 curr_nrg = *ptr_nrg; in FDKsbrEnc_codeEnvelope() 499 if (ptr_nrg[band] - ptr_nrg[band - 1] > codeBookScfLavBalanceFreq) { in FDKsbrEnc_codeEnvelope() 500 ptr_nrg[band - 1] = ptr_nrg[band] - codeBookScfLavBalanceFreq; in FDKsbrEnc_codeEnvelope() 504 if (ptr_nrg[band - 1] - ptr_nrg[band] > codeBookScfLavBalanceFreq) { in FDKsbrEnc_codeEnvelope() 505 ptr_nrg[band] = ptr_nrg[band - 1] - codeBookScfLavBalanceFreq; in FDKsbrEnc_codeEnvelope() 510 if (ptr_nrg[band] - ptr_nrg[band - 1] > codeBookScfLavLevelFreq) { in FDKsbrEnc_codeEnvelope() 511 ptr_nrg[band - 1] = ptr_nrg[band] - codeBookScfLavLevelFreq; in FDKsbrEnc_codeEnvelope() 515 if (ptr_nrg[band - 1] - ptr_nrg[band] > codeBookScfLavLevelFreq) { in FDKsbrEnc_codeEnvelope() [all …]
|
/external/aac/libSBRdec/src/ |
D | env_dec.cpp | 775 FIXP_SGL *ptr_nrg = h_sbr_data->iEnvelope; in deltaToLinearPcmEnvelopeDecoding() local 791 mapLowResEnergyVal(*ptr_nrg, sfb_nrg_prev, offset, 0, freqRes); in deltaToLinearPcmEnvelopeDecoding() 792 ptr_nrg++; in deltaToLinearPcmEnvelopeDecoding() 794 *ptr_nrg = *ptr_nrg + *(ptr_nrg - 1); in deltaToLinearPcmEnvelopeDecoding() 795 mapLowResEnergyVal(*ptr_nrg, sfb_nrg_prev, offset, band, freqRes); in deltaToLinearPcmEnvelopeDecoding() 796 ptr_nrg++; in deltaToLinearPcmEnvelopeDecoding() 800 *ptr_nrg = in deltaToLinearPcmEnvelopeDecoding() 801 *ptr_nrg + sfb_nrg_prev[indexLow2High(offset, band, freqRes)]; in deltaToLinearPcmEnvelopeDecoding() 802 mapLowResEnergyVal(*ptr_nrg, sfb_nrg_prev, offset, band, freqRes); in deltaToLinearPcmEnvelopeDecoding() 803 ptr_nrg++; in deltaToLinearPcmEnvelopeDecoding()
|