Home
last modified time | relevance | path

Searched refs:sfb (Results 1 – 25 of 40) sorted by relevance

12

/external/aac/libAACenc/src/
Dsf_estim.cpp135 INT j, sfb, sfbGrp; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel() local
142 for (sfb = 0; sfb < tmp1; sfb++) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
145 for (j = psyOutChan->sfbOffsets[sfbGrp + sfb]; in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
146 j < psyOutChan->sfbOffsets[sfbGrp + sfb + 1]; j++) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
150 sfbFormFactorLdData[sfbGrp + sfb] = CalcLdData(formFactor); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
153 for (; sfb < psyOutChan->sfbPerGroup; sfb++) { in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
154 sfbFormFactorLdData[sfbGrp + sfb] = FL2FXCONST_DBL(-1.0f); in FDKaacEnc_FDKaacEnc_CalcFormFactorChannel()
189 INT sfbOffs, sfb; in FDKaacEnc_calcSfbRelevantLines() local
202 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_calcSfbRelevantLines()
204 if ((FIXP_DBL)sfbEnergyLdData[sfbOffs + sfb] > in FDKaacEnc_calcSfbRelevantLines()
[all …]
Dms_stereo.cpp147 INT sfb, sfboffs, j; /* loop counters */ in FDKaacEnc_MsStereoProcessing() local
157 for (sfb = 0; sfb < sfbCnt; sfb += sfbPerGroup) { in FDKaacEnc_MsStereoProcessing()
159 if ((isBook == NULL) ? 1 : (isBook[sfb + sfboffs] == 0)) { in FDKaacEnc_MsStereoProcessing()
176 minThresholdLdData = fixMin(sfbThresholdLeftLdData[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
177 sfbThresholdRightLdData[sfb + sfboffs]); in FDKaacEnc_MsStereoProcessing()
185 tmp = fixMax(sfbEnergyLeftLdData[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
186 sfbThresholdLeftLdData[sfb + sfboffs]); in FDKaacEnc_MsStereoProcessing()
187 pnlrLdData = (sfbThresholdLeftLdData[sfb + sfboffs] >> 1) - (tmp >> 1); in FDKaacEnc_MsStereoProcessing()
188 pnlrLdData = pnlrLdData + (sfbThresholdRightLdData[sfb + sfboffs] >> 1); in FDKaacEnc_MsStereoProcessing()
189 tmp = fixMax(sfbEnergyRightLdData[sfb + sfboffs], in FDKaacEnc_MsStereoProcessing()
[all …]
Daacenc_pns.cpp182 int sfb; in FDKaacEnc_PnsDetect() local
187 for (sfb = 0; sfb < MAX_GROUPED_SFB; sfb++) { in FDKaacEnc_PnsDetect()
188 noiseNrg[sfb] = NO_NOISE_PNS; in FDKaacEnc_PnsDetect()
219 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_PnsDetect()
221 if (sfb < startNoiseSfb) { in FDKaacEnc_PnsDetect()
222 pnsData->pnsFlag[sfb] = 0; in FDKaacEnc_PnsDetect()
233 if ((pnsData->noiseFuzzyMeasure[sfb] > FL2FXCONST_SGL(0.5)) && in FDKaacEnc_PnsDetect()
234 ((sfbThresholdLdData[sfb] + in FDKaacEnc_PnsDetect()
237 < sfbEnergyLdData[sfb])) { in FDKaacEnc_PnsDetect()
242 pnsData->pnsFlag[sfb] = 1; /* PNS_ON */ in FDKaacEnc_PnsDetect()
[all …]
Dintensity.cpp265 INT j, sfb, sfboffs; in FDKaacEnc_prepareIntensityDecision() local
287 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_prepareIntensityDecision()
289 FIXP_DBL isValue = sfbEnergyLdDataLeft[sfb + sfboffs] - in FDKaacEnc_prepareIntensityDecision()
290 sfbEnergyLdDataRight[sfb + sfboffs]; in FDKaacEnc_prepareIntensityDecision()
293 realScale[sfb + sfboffs] = fixMin( in FDKaacEnc_prepareIntensityDecision()
298 sL = fixMax(0, (CntLeadingZeros(sfbEnergyLeft[sfb + sfboffs]) - 1)); in FDKaacEnc_prepareIntensityDecision()
299 sR = fixMax(0, (CntLeadingZeros(sfbEnergyRight[sfb + sfboffs]) - 1)); in FDKaacEnc_prepareIntensityDecision()
301 normSfbLoudness[sfb + sfboffs] = in FDKaacEnc_prepareIntensityDecision()
302 sqrtFixp(sqrtFixp(((sfbEnergyLeft[sfb + sfboffs] << s) >> 1) + in FDKaacEnc_prepareIntensityDecision()
303 ((sfbEnergyRight[sfb + sfboffs] << s) >> 1))) >> in FDKaacEnc_prepareIntensityDecision()
[all …]
Dgrp_data.cpp132 INT sfb; /* counts through scalefactor bands */ in FDKaacEnc_groupShortData() local
147 for (sfb = sfbActive - 1; sfb >= highestSfb; sfb--) { in FDKaacEnc_groupShortData()
148 for (line = sfbOffset[sfb + 1] - 1; line >= sfbOffset[sfb]; line--) { in FDKaacEnc_groupShortData()
153 if (line >= sfbOffset[sfb]) break; /* this band was not completely zero */ in FDKaacEnc_groupShortData()
155 highestSfb = fixMax(highestSfb, sfb); in FDKaacEnc_groupShortData()
164 for (sfb = 0; sfb < sfbActive + 1; sfb++) { in FDKaacEnc_groupShortData()
165 groupedSfbOffset[i++] = offset + sfbOffset[sfb] * groupLen[grp]; in FDKaacEnc_groupShortData()
167 i += sfbCnt - sfb; in FDKaacEnc_groupShortData()
175 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_groupShortData()
176 groupedSfbMinSnrLdData[i++] = sfbMinSnrLdData[sfb]; in FDKaacEnc_groupShortData()
[all …]
Dadj_thr.cpp447 INT ch, sfb, sfbGrp; in FDKaacEnc_calcThreshExp() local
453 for (sfb = 0; sfb < psyOutChannel[ch]->maxSfbPerGroup; sfb++) { in FDKaacEnc_calcThreshExp()
454 thrExpLdData = psyOutChannel[ch]->sfbThresholdLdData[sfbGrp + sfb] >> 2; in FDKaacEnc_calcThreshExp()
455 thrExp[ch][sfbGrp + sfb] = CalcInvLdData(thrExpLdData); in FDKaacEnc_calcThreshExp()
470 INT ch, sfb, sfbGrp, nSfb; in FDKaacEnc_adaptMinSnr() local
494 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_adaptMinSnr()
495 accu += psyOutChannel[ch]->sfbEnergy[sfbGrp + sfb] >> 6; in FDKaacEnc_adaptMinSnr()
518 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_adaptMinSnr()
544 INT ch, sfb, sfbGrp; in FDKaacEnc_initAvoidHoleFlag() local
557 for (sfb = 0; sfb < psyOutChannel[ch]->maxSfbPerGroup; sfb++) in FDKaacEnc_initAvoidHoleFlag()
[all …]
Dline_pe.cpp123 INT sfbGrp, sfb; in FDKaacEnc_prepareSfbPe() local
130 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_prepareSfbPe()
131 if ((FIXP_DBL)sfbEnergyLdData[sfbGrp + sfb] > in FDKaacEnc_prepareSfbPe()
132 (FIXP_DBL)sfbThresholdLdData[sfbGrp + sfb]) { in FDKaacEnc_prepareSfbPe()
133 sfbWidth = sfbOffset[sfbGrp + sfb + 1] - sfbOffset[sfbGrp + sfb]; in FDKaacEnc_prepareSfbPe()
135 avgFormFactorLdData = ((-sfbEnergyLdData[sfbGrp + sfb] >> 1) + in FDKaacEnc_prepareSfbPe()
138 peChanData->sfbNLines[sfbGrp + sfb] = (INT)CalcInvLdData( in FDKaacEnc_prepareSfbPe()
139 (sfbFormFactorLdData[sfbGrp + sfb] + formFacScaling) + in FDKaacEnc_prepareSfbPe()
143 peChanData->sfbNLines[sfbGrp + sfb] = in FDKaacEnc_prepareSfbPe()
144 fMin(sfbWidth, peChanData->sfbNLines[sfbGrp + sfb]); in FDKaacEnc_prepareSfbPe()
[all …]
Dnoisedet.cpp157 int i, k, sfb, sfbWidth; in FDKaacEnc_noiseDetect() local
163 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_noiseDetect()
165 sfbWidth = sfbOffset[sfb + 1] - sfbOffset[sfb]; in FDKaacEnc_noiseDetect()
168 if (sfb < np->startSfb || sfbWidth < np->minSfbWidth) { in FDKaacEnc_noiseDetect()
169 noiseFuzzyMeasure[sfb] = FL2FXCONST_SGL(0.0f); in FDKaacEnc_noiseDetect()
177 0, (sfbMaxScaleSpec[sfb] - in FDKaacEnc_noiseDetect()
184 for (i = sfbOffset[sfb]; i < sfbOffset[sfb] + k; i++) { in FDKaacEnc_noiseDetect()
207 testVal = fMultDiv2(testVal, np->powDistPSDcurve[sfb]); in FDKaacEnc_noiseDetect()
222 testVal = FX_SGL2FX_DBL(sfbtonality[sfb]) >> 1; /* 1/2 * sfbTonality */ in FDKaacEnc_noiseDetect()
233 noiseFuzzyMeasure[sfb] = fuzzyTotal; in FDKaacEnc_noiseDetect()
Dpsy_main.cpp418 INT sfb; /* counts through scalefactor bands */ in FDKaacEnc_psyMain() local
648 for (sfb = 0; sfb < psyData[ch]->sfbActive; sfb++) in FDKaacEnc_psyMain()
650 (pSfbMaxScaleSpec[ch] + w * maxSfb[ch])[sfb]); in FDKaacEnc_psyMain()
695 for (sfb = 0; sfb < psyData[ch]->sfbActive; sfb++) { in FDKaacEnc_psyMain()
696 INT scale = fixMax(0, (pSfbMaxScaleSpec[ch] + w_maxSfb_ch)[sfb] - 4); in FDKaacEnc_psyMain()
699 (pSfbEnergy[ch] + w_maxSfb_ch)[sfb] >>= (scale); in FDKaacEnc_psyMain()
701 (pSfbEnergy[ch] + w_maxSfb_ch)[sfb] <<= (-scale); in FDKaacEnc_psyMain()
702 (pSfbThreshold[ch] + w_maxSfb_ch)[sfb] = in FDKaacEnc_psyMain()
703 fMult((pSfbEnergy[ch] + w_maxSfb_ch)[sfb], C_RATIO); in FDKaacEnc_psyMain()
704 (pSfbEnergyLdData[ch] + w_maxSfb_ch)[sfb] += ldShift; in FDKaacEnc_psyMain()
[all …]
Dpsy_configuration.cpp425 INT sfb; in FDKaacEnc_initMinSnr() local
481 for (sfb = 0; sfb < sfbActive; sfb++) { in FDKaacEnc_initMinSnr()
483 FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfb + 1], samplerate) - in FDKaacEnc_initMinSnr()
484 FDKaacEnc_BarcLineValue(numLines, sfbOffset[sfb], samplerate); in FDKaacEnc_initMinSnr()
491 sfbWidth = (sfbOffset[sfb + 1] - sfbOffset[sfb]); in FDKaacEnc_initMinSnr()
530 sfbMinSnrLdData[sfb] = CalcLdData(snr); in FDKaacEnc_initMinSnr()
541 INT sfb; in FDKaacEnc_InitPsyConfiguration() local
610 for (sfb = 0; sfb < psyConf->sfbCnt; sfb++) { in FDKaacEnc_InitPsyConfiguration()
611 if (psyConf->sfbOffset[sfb] >= psyConf->lowpassLine) break; in FDKaacEnc_InitPsyConfiguration()
613 psyConf->sfbActive = fMax(sfb, 1); in FDKaacEnc_InitPsyConfiguration()
[all …]
Dquantize.cpp284 INT sfbOffs, sfb; in FDKaacEnc_QuantizeSpectrum() local
292 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_QuantizeSpectrum()
293 INT scalefactor = scalefactors[sfbOffs + sfb]; in FDKaacEnc_QuantizeSpectrum()
297 sfbOffset[sfbOffs + sfb + 1] - sfbOffset[sfbOffs + sfb], in FDKaacEnc_QuantizeSpectrum()
298 mdctSpectrum + sfbOffset[sfbOffs + sfb], in FDKaacEnc_QuantizeSpectrum()
299 quantizedSpectrum + sfbOffset[sfbOffs + sfb], dZoneQuantEnable); in FDKaacEnc_QuantizeSpectrum()
Dqc_main.cpp1239 INT sfbOffs, sfb; in FDKaacEnc_calcMaxValueInSfb() local
1243 for (sfb = 0; sfb < maxSfbPerGroup; sfb++) { in FDKaacEnc_calcMaxValueInSfb()
1246 for (line = sfbOffset[sfbOffs + sfb]; line < sfbOffset[sfbOffs + sfb + 1]; in FDKaacEnc_calcMaxValueInSfb()
1252 maxValue[sfbOffs + sfb] = maxThisSfb; in FDKaacEnc_calcMaxValueInSfb()
1418 INT sfb, sfbGrp; in FDKaacEnc_crashRecovery() local
1434 for (sfb = qcChannel[ch]->sectionData.huffsection[sect].sfbStart; in FDKaacEnc_crashRecovery()
1435 sfb < qcChannel[ch]->sectionData.huffsection[sect].sfbStart + in FDKaacEnc_crashRecovery()
1437 sfb++) { in FDKaacEnc_crashRecovery()
1438 bitsPerScf[ch][sfb] = 0; in FDKaacEnc_crashRecovery()
1441 INT sfbStartLine = sfbOffset[sfb]; in FDKaacEnc_crashRecovery()
[all …]
Dbitenc.cpp131 INT i, sfb; in FDKaacEnc_encodeSpectralData() local
139 for (sfb = sectionData->huffsection[i].sfbStart; sfb < tmp; sfb++) { in FDKaacEnc_encodeSpectralData()
140 FDKaacEnc_codeValues(quantSpectrum + sfbOffset[sfb], in FDKaacEnc_encodeSpectralData()
141 sfbOffset[sfb + 1] - sfbOffset[sfb], in FDKaacEnc_encodeSpectralData()
383 INT sfb, sfbOff, msBits = 0; in FDKaacEnc_encodeMSInfo() local
401 for (sfb = 0; sfb < maxSfb; sfb++) { in FDKaacEnc_encodeMSInfo()
402 if (jsFlags[sfbOff + sfb] & MS_ON) { in FDKaacEnc_encodeMSInfo()
416 for (sfb = 0; sfb < maxSfb; sfb++) { in FDKaacEnc_encodeMSInfo()
/external/libxaac/decoder/
Dixheaacd_ext_ch_ele.c160 WORD32 g, sfb; in ixheaacd_cplx_pred_data() local
174 for (sfb = 0; sfb < max_sfb_ste; sfb += SFB_PER_PRED_BAND) { in ixheaacd_cplx_pred_data()
175 cplx_pred_used[g][sfb] = ixheaacd_read_bits_buf(it_bit_buff, 1); in ixheaacd_cplx_pred_data()
177 if (sfb + 1 < max_sfb_ste) in ixheaacd_cplx_pred_data()
178 cplx_pred_used[g][sfb + 1] = cplx_pred_used[g][sfb]; in ixheaacd_cplx_pred_data()
180 for (sfb = max_sfb_ste; sfb < SFB_NUM_MAX; sfb++) in ixheaacd_cplx_pred_data()
181 cplx_pred_used[g][sfb] = 0; in ixheaacd_cplx_pred_data()
185 for (sfb = 0; sfb < max_sfb_ste; sfb++) cplx_pred_used[g][sfb] = 1; in ixheaacd_cplx_pred_data()
187 for (sfb = max_sfb_ste; sfb < SFB_NUM_MAX; sfb++) in ixheaacd_cplx_pred_data()
188 cplx_pred_used[g][sfb] = 0; in ixheaacd_cplx_pred_data()
[all …]
Dixheaacd_stereo.c74 WORD32 sfb; in ixheaacd_ms_stereo_process() local
77 for (sfb = 0; sfb < ptr_aac_dec_channel_info[LEFT]->str_ics_info.max_sfb; in ixheaacd_ms_stereo_process()
78 sfb++) { in ixheaacd_ms_stereo_process()
79 ixheaacd_drc_offset += ptr_sfb_width[sfb]; in ixheaacd_ms_stereo_process()
82 for (k = 0; k < ptr_sfb_width[sfb]; k = k + 2) { in ixheaacd_ms_stereo_process()
94 l_spec += ptr_sfb_width[sfb]; in ixheaacd_ms_stereo_process()
95 r_spec += ptr_sfb_width[sfb]; in ixheaacd_ms_stereo_process()
144 WORD32 sfb; in ixheaacd_intensity_stereo_process() local
147 for (sfb = 0; sfb < ptr_aac_dec_channel_info[RIGHT]->str_ics_info.max_sfb; in ixheaacd_intensity_stereo_process()
148 sfb++) { in ixheaacd_intensity_stereo_process()
[all …]
Dixheaacd_longblock.c66 WORD sfb; in ixheaacd_read_section_data() local
95 sfb = 0; in ixheaacd_read_section_data()
97 while (sfb < max_sfb) { in ixheaacd_read_section_data()
116 top = (sfb + sect_len); in ixheaacd_read_section_data()
123 band_offsets[top] - band_offsets[sfb]; in ixheaacd_read_section_data()
133 sfb = (sfb + sect_len); in ixheaacd_read_section_data()
134 if (sfb > max_sfb) { in ixheaacd_read_section_data()
158 WORD sfb; in ixheaacd_read_scale_factor_data() local
205 for (sfb = ptr_aac_dec_channel_info->str_ics_info.max_sfb - 1; sfb >= 0; in ixheaacd_read_scale_factor_data()
206 sfb--) { in ixheaacd_read_scale_factor_data()
[all …]
Dixheaacd_pns_js_thumb.c79 WORD32 sfb; in ixheaacd_gen_rand_vec() local
81 for (sfb = 0; sfb <= sfb_width; sfb++) { in ixheaacd_gen_rand_vec()
104 for (sfb = 0; sfb <= sfb_width; sfb++) { in ixheaacd_gen_rand_vec()
126 WORD num_win_group, grp_len, sfb; in ixheaacd_pns_process() local
136 for (sfb = 0; sfb < ptr_ics_info->max_sfb; sfb++) { in ixheaacd_pns_process()
137 WORD16 pns_band = ((num_win_group << 4) + sfb); in ixheaacd_pns_process()
143 WORD32 sfb_width = swb_offset[sfb + 1] - swb_offset[sfb] - 1; in ixheaacd_pns_process()
144 WORD32 *ptr_spec = &spec[swb_offset[sfb]]; in ixheaacd_pns_process()
Dixheaacd_channel.c537 WORD32 num_win_group, sfb; in ixheaacd_read_ms_data() local
554 for (sfb = 0; sfb < max_sfb; sfb++) { in ixheaacd_read_ms_data()
555 ptr_aac_dec_ch_info->pstr_stereo_info->ms_used[num_win_group][sfb] = in ixheaacd_read_ms_data()
666 WORD32 num_win_group, sfb; in ixheaacd_map_ms_mask_pns() local
672 for (sfb = 0; sfb < ptr_aac_dec_channel_info[LEFT]->str_ics_info.max_sfb; in ixheaacd_map_ms_mask_pns()
673 sfb++) { in ixheaacd_map_ms_mask_pns()
675 ->pstr_stereo_info->ms_used[num_win_group][sfb]) { in ixheaacd_map_ms_mask_pns()
676 WORD16 pns_band = (num_win_group << 4) + sfb; in ixheaacd_map_ms_mask_pns()
682 ->pstr_stereo_info->ms_used[num_win_group][sfb] ^= 1; in ixheaacd_map_ms_mask_pns()
717 WORD sfb, max_sfb; in ixheaacd_read_spectral_data() local
[all …]
Dixheaacd_arith_dec.c1983 WORD32 grp = 0, win_tot = 0, sfb = 0; in ixheaacd_apply_scfs_and_nf() local
2002 for (sfb = 0; sfb < (WORD32)max_sfb; sfb++) { in ixheaacd_apply_scfs_and_nf()
2007 fac = (WORD32)(factors[sfb_offset + sfb] - SF_OFFSET); in ixheaacd_apply_scfs_and_nf()
2013 WORD32 start = (sfb == 0) ? 0 : pstr_sfb_info->ptr_sfb_tbl[sfb - 1]; in ixheaacd_apply_scfs_and_nf()
2015 for (idx = start; idx < pstr_sfb_info->ptr_sfb_tbl[sfb]; idx++) { in ixheaacd_apply_scfs_and_nf()
2045 WORD32 start = (sfb == 0) ? 0 : pstr_sfb_info->ptr_sfb_tbl[sfb - 1]; in ixheaacd_apply_scfs_and_nf()
2053 length = pstr_sfb_info->ptr_sfb_tbl[sfb] - start; in ixheaacd_apply_scfs_and_nf()
Dixheaacd_spectrum_dec.c65 WORD32 sfb, len; in ixheaacd_calc_grp_offset() local
79 for (sfb = 0; sfb < ptr_sfb_info->sfb_per_sbk; sfb++) { in ixheaacd_calc_grp_offset()
80 ixheaacd_drc_offset += ptr_sfb_info->sfb_width[sfb] * len; in ixheaacd_calc_grp_offset()
/external/aac/libAACdec/src/
Dconceal.cpp1125 int line, sfb, scaleFactorBandsTotal = 0; in CConcealment_CalcBandEnergy() local
1143 for (sfb = 0; sfb < scaleFactorBandsTotal; sfb++) { in CConcealment_CalcBandEnergy()
1147 CntLeadingZeros(pSfbOffset[sfb + 1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1149 for (; line < pSfbOffset[sfb + 1]; line++) { in CConcealment_CalcBandEnergy()
1152 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1160 for (sfb = 0; sfb < scaleFactorBandsTotal; sfb++) { in CConcealment_CalcBandEnergy()
1164 CntLeadingZeros(pSfbOffset[sfb + 1] - pSfbOffset[sfb]) - 1; in CConcealment_CalcBandEnergy()
1166 for (; line < pSfbOffset[sfb + 1] << 3; line++) { in CConcealment_CalcBandEnergy()
1170 *(sfbEnergy + sfb) = CntLeadingZeros(enAccu) - 1; in CConcealment_CalcBandEnergy()
1183 for (sfb = 0; sfb < scaleFactorBandsTotal; sfb++) { in CConcealment_CalcBandEnergy()
[all …]
Dblock.cpp786 int g, win, gwin, sfb, noiseFillingStartOffset, nfStartOffset_sfb; in CBlock_ApplyNoise() local
815 for (sfb = 0; swb_offset[sfb] < noiseFillingStartOffset; sfb++) in CBlock_ApplyNoise()
817 nfStartOffset_sfb = sfb; in CBlock_ApplyNoise()
825 for (sfb = nfStartOffset_sfb; sfb < max_sfb; sfb++) { in CBlock_ApplyNoise()
826 int bin_start = swb_offset[sfb]; in CBlock_ApplyNoise()
827 int bin_stop = swb_offset[sfb + 1]; in CBlock_ApplyNoise()
829 int flagN = band_is_noise[g * 16 + sfb]; in CBlock_ApplyNoise()
835 pAacDecoderChannelInfo->pDynData->aScaleFactor[g * 16 + sfb] += in CBlock_ApplyNoise()
840 ->aSfbScale[(win + gwin) * 16 + sfb] += (noise_offset >> 2); in CBlock_ApplyNoise()
847 (pAacDecoderChannelInfo->pDynData->aScaleFactor[g * 16 + sfb] >> in CBlock_ApplyNoise()
[all …]
Dchannel.cpp148 for (int sfb = low_limit; sfb < high_limit; sfb++) { in Clean_Complex_Prediction_coefficients() local
149 pJointStereoPersistentData->alpha_q_re_prev[group][sfb] = 0; in Clean_Complex_Prediction_coefficients()
150 pJointStereoPersistentData->alpha_q_im_prev[group][sfb] = 0; in Clean_Complex_Prediction_coefficients()
814 int g, sfb; in CChannelElement_Read() local
818 for (sfb = 0; sfb < GetScaleFactorBandsTransmitted( in CChannelElement_Read()
820 sfb++) { in CChannelElement_Read()
821 if (pCodeBook[sfb] != ZERO_HCB) { in CChannelElement_Read()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dloop-strength-reduce7.ll29 %sfb.314.i = add i32 %indvar32.i, 0 ; <i32> [#uses=3]
30 %1 = getelementptr [4 x [21 x double]]* null, i32 0, i32 %0, i32 %sfb.314.i ; <double*> [#uses=1]
35 …%3 = getelementptr %struct.III_scalefac_t* null, i32 0, i32 1, i32 %sfb.314.i, i32 %i.1.reg2mem.0.…
40 %4 = add i32 %sfb.314.i, 1 ; <i32> [#uses=1]
/external/llvm/test/CodeGen/X86/
Dloop-strength-reduce7.ll29 %sfb.314.i = add i32 %indvar32.i, 0 ; <i32> [#uses=3]
30 …%1 = getelementptr [4 x [21 x double]], [4 x [21 x double]]* null, i32 0, i32 %0, i32 %sfb.314.i …
35 …%3 = getelementptr %struct.III_scalefac_t, %struct.III_scalefac_t* null, i32 0, i32 1, i32 %sfb.31…
40 %4 = add i32 %sfb.314.i, 1 ; <i32> [#uses=1]

12