Lines Matching refs:eBands
98 const opus_int16 *eBands = m->eBands; in compute_band_energies() local
108 maxval = celt_maxabs32(&X[c*N+(eBands[i]<<LM)], (eBands[i+1]-eBands[i])<<LM); in compute_band_energies()
112 j=eBands[i]<<LM; in compute_band_energies()
118 } while (++j<eBands[i+1]<<LM); in compute_band_energies()
123 } while (++j<eBands[i+1]<<LM); in compute_band_energies()
140 const opus_int16 *eBands = m->eBands; in normalise_bands() local
150 j=M*eBands[i]; do { in normalise_bands()
152 } while (++j<M*eBands[i+1]); in normalise_bands()
162 const opus_int16 *eBands = m->eBands; in compute_band_energies() local
168 …sum = 1e-27f + celt_inner_prod(&X[c*N+(eBands[i]<<LM)], &X[c*N+(eBands[i]<<LM)], (eBands[i+1]-eBan… in compute_band_energies()
180 const opus_int16 *eBands = m->eBands; in normalise_bands() local
187 for (j=M*eBands[i];j<M*eBands[i+1];j++) in normalise_bands()
204 const opus_int16 *eBands = m->eBands; in denormalise_bands() local
206 bound = M*eBands[end]; in denormalise_bands()
215 x = X+M*eBands[start]; in denormalise_bands()
216 for (i=0;i<M*eBands[start];i++) in denormalise_bands()
226 j=M*eBands[i]; in denormalise_bands()
227 band_end = M*eBands[i+1]; in denormalise_bands()
283 N0 = m->eBands[i+1]-m->eBands[i]; in anti_collapse()
286 depth = celt_udiv(1+pulses[i], (m->eBands[i+1]-m->eBands[i]))>>LM; in anti_collapse()
342 X = X_+c*size+(m->eBands[i]<<LM); in anti_collapse()
485 const opus_int16 * OPUS_RESTRICT eBands = m->eBands; in spreading_decision() local
493 if (M*(eBands[end]-eBands[end-1]) <= 8) in spreading_decision()
500 const celt_norm * OPUS_RESTRICT x = X+M*eBands[i]+c*N0; in spreading_decision()
501 N = M*(eBands[i+1]-eBands[i]); in spreading_decision()
1387 const opus_int16 * OPUS_RESTRICT eBands = m->eBands; in special_hybrid_folding() local
1388 n1 = M*(eBands[start+1]-eBands[start]); in special_hybrid_folding()
1389 n2 = M*(eBands[start+2]-eBands[start+1]); in special_hybrid_folding()
1406 const opus_int16 * OPUS_RESTRICT eBands = m->eBands; in quant_all_bands() local
1434 norm_offset = M*eBands[start]; in quant_all_bands()
1437 ALLOC(_norm, C*(M*eBands[m->nbEBands-1]-norm_offset), celt_norm); in quant_all_bands()
1439 norm2 = norm + M*eBands[m->nbEBands-1]-norm_offset; in quant_all_bands()
1445 resynth_alloc = M*(eBands[m->nbEBands]-eBands[m->nbEBands-1]); in quant_all_bands()
1452 lowband_scratch = X_+M*eBands[m->nbEBands-1]; in quant_all_bands()
1489 X = X_+M*eBands[i]; in quant_all_bands()
1491 Y = Y_+M*eBands[i]; in quant_all_bands()
1494 N = M*eBands[i+1]-M*eBands[i]; in quant_all_bands()
1512 …if (resynth && (M*eBands[i]-N >= M*eBands[start] || i==start+1) && (update_lowband || lowband_offs… in quant_all_bands()
1517 if (resynth && M*eBands[i]-N >= M*eBands[start] && (update_lowband || lowband_offset==0)) in quant_all_bands()
1541 effective_lowband = IMAX(0, M*eBands[lowband_offset]-norm_offset-N); in quant_all_bands()
1543 while(M*eBands[--fold_start] > effective_lowband+norm_offset); in quant_all_bands()
1546 while(++fold_end < i && M*eBands[fold_end] < effective_lowband+norm_offset+N); in quant_all_bands()
1548 while(M*eBands[++fold_end] < effective_lowband+norm_offset+N); in quant_all_bands()
1568 for (j=0;j<M*eBands[i]-norm_offset;j++) in quant_all_bands()
1575 last?NULL:norm+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, x_cm); in quant_all_bands()
1578 last?NULL:norm2+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, y_cm); in quant_all_bands()
1603 last?NULL:norm+M*eBands[i]-norm_offset, lowband_scratch, cm); in quant_all_bands()
1613 OPUS_COPY(norm_save2, norm+M*eBands[i]-norm_offset, N); in quant_all_bands()
1633 last?NULL:norm+M*eBands[i]-norm_offset, lowband_scratch, cm); in quant_all_bands()
1642 OPUS_COPY(norm+M*eBands[i]-norm_offset, norm_save2, N); in quant_all_bands()
1649 last?NULL:norm+M*eBands[i]-norm_offset, lowband_scratch, x_cm|y_cm); in quant_all_bands()
1654 last?NULL:norm+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, x_cm|y_cm); in quant_all_bands()