/external/libopus/celt/ |
modes.c | 92 opus_int16 *eBands; 99 eBands = opus_alloc(sizeof(opus_int16)*(*nbEBands+1)); 101 eBands[i] = eband5ms[i]; 102 return eBands; 117 eBands = opus_alloc(sizeof(opus_int16)*(*nbEBands+2)); 119 if (eBands==NULL) 124 eBands[i] = i; 126 offset = eBands[low-1]*res - bark_freq[lin-1]; 132 eBands[i+low] = (target+offset/2+res)/(2*res)*2; 133 offset = eBands[i+low]*res - target [all...] |
rate.c | 81 const opus_int16 *eBands = m->eBands; 96 int N = (eBands[j+1]-eBands[j])<<i>>1; 104 if (N == (eBands[n+1]-eBands[n])<<k>>1) 152 N0 = m->eBands[j+1]-m->eBands[j]; 235 max_bits = (4*max_bits/(C*((m->eBands[j+1]-m->eBands[j])<<i)))-64 [all...] |
bands.c | 98 const opus_int16 *eBands = m->eBands; 108 maxval = celt_maxabs32(&X[c*N+(eBands[i]<<LM)], (eBands[i+1]-eBands[i])<<LM); 112 j=eBands[i]<<LM; 118 } while (++j<eBands[i+1]<<LM); 123 } while (++j<eBands[i+1]<<LM); 140 const opus_int16 *eBands = m->eBands; [all...] |
quant_bands.h | 48 celt_ener *eBands, const opus_val16 *oldEBands, int C); 51 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget,
|
celt_encoder.c | 600 ALLOC(tmp, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm); 601 ALLOC(tmp_1, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm); 611 N = (m->eBands[i+1]-m->eBands[i])<<LM; 613 narrow = (m->eBands[i+1]-m->eBands[i])==1; 614 OPUS_COPY(tmp, &X[tf_chan*N0 + (m->eBands[i]<<LM)], N); 618 tmp[j] = ADD16(SHR16(tmp[j], 1),SHR16(X[N0+j+(m->eBands[i]<<LM)], 1));* [all...] |
modes.h | 59 const opus_int16 *eBands; /**< Definition for each "pseudo-critical band" */
|
quant_bands.c | 142 static opus_val32 loss_distortion(const opus_val16 *eBands, opus_val16 *oldEBands, int start, int end, int len, int C) 149 opus_val16 d = SUB16(SHR16(eBands[i+c*len], 3), SHR16(oldEBands[i+c*len], 3)); 157 const opus_val16 *eBands, opus_val16 *oldEBands, 191 x = eBands[i+c*m->nbEBands]; 262 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, 279 new_distortion = loss_distortion(eBands, oldEBands, start, effEnd, m->nbEBands, C); 304 badness1 = quant_coarse_energy_impl(m, start, end, eBands, oldEBands_intra, budget, 335 badness2 = quant_coarse_energy_impl(m, start, end, eBands, oldEBands, budget,
|
celt_decoder.c | 479 const opus_int16 *eBands; 485 eBands = mode->eBands; 538 boffs = N*c+(eBands[i]<<LM); 539 blen = (eBands[i+1]-eBands[i])<<LM; 833 const opus_int16 *eBands; 839 eBands = mode->eBands; 996 width = C*(eBands[i+1]-eBands[i])<<LM [all...] |
celt.c | 278 N=(m->eBands[i+1]-m->eBands[i])<<LM;
|
static_modes_fixed.h | 876 eband5ms, /* eBands */ [all...] |
static_modes_float.h | [all...] |
/external/libopus/doc/ |
opus_update.patch | 9 - if (resynth && M*eBands[i]-N >= M*eBands[start] && (update_lowband || lowband_offset==0)) 10 + if (resynth && (M*eBands[i]-N >= M*eBands[start] || i==start+1) && (update_lowband || lowband_offset==0)) 17 + n1 = M*(eBands[start+1]-eBands[start]); 18 + n2 = M*(eBands[start+2]-eBands[start+1]); 19 + offset = M*eBands[start]; 32 while(M*eBands[--fold_start] > effective_lowband) [all...] |
draft-ietf-codec-opus-update.xml | 298 eBands[i+c*m->nbEBands] = PSHR32(celt_exp2(lg),4); 325 - if (resynth && M*eBands[i]-N >= M*eBands[start] && \ 327 + if (resynth && (M*eBands[i]-N >= M*eBands[start] || \ 335 + n1 = M*(eBands[start+1]-eBands[start]); 336 + n2 = M*(eBands[start+2]-eBands[start+1]); 337 + offset = M*eBands[start] [all...] |
/external/libopus/celt/dump_modes/ |
dump_modes.c | 87 fprintf (file, "static const opus_int16 eBands%d_%d[%d] = {\n", mode->Fs, mdctSize, mode->nbEBands+2); 89 fprintf (file, "%d, ", mode->eBands[j]); 235 fprintf(file, "eband5ms, /* eBands */\n"); 237 fprintf(file, "eBands%d_%d, /* eBands */\n", mode->Fs, mdctSize);
|