HomeSort by relevance Sort by last modified time
    Searched refs:eBands (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/third_party/opus/src/celt/
modes.c 91 opus_int16 *eBands;
98 eBands = opus_alloc(sizeof(opus_int16)*(*nbEBands+1));
100 eBands[i] = eband5ms[i];
101 return eBands;
116 eBands = opus_alloc(sizeof(opus_int16)*(*nbEBands+2));
118 if (eBands==NULL)
123 eBands[i] = i;
125 offset = eBands[low-1]*res - bark_freq[lin-1];
131 eBands[i+low] = (target+offset/2+res)/(2*res)*2;
132 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...]
modes.h 67 const opus_int16 *eBands; /**< Definition for each "pseudo-critical band" */
bands.c 98 const opus_int16 *eBands = m->eBands;
107 j=M*eBands[i]; do {
110 } while (++j<M*eBands[i+1]);
115 j=M*eBands[i]; do {
118 } while (++j<M*eBands[i+1]);
134 const opus_int16 *eBands = m->eBands;
144 j=M*eBands[i]; do {
146 } while (++j<M*eBands[i+1])
    [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 559 ALLOC(tmp, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm);
560 ALLOC(tmp_1, (m->eBands[len]-m->eBands[len-1])<<LM, celt_norm);
571 N = (m->eBands[i+1]-m->eBands[i])<<LM;
573 narrow = (m->eBands[i+1]-m->eBands[i])==1;
575 tmp[j] = X[tf_chan*N0 + j+(m->eBands[i]<<LM)];
579 tmp[j] = ADD16(SHR16(tmp[j], 1),SHR16(X[N0+j+(m->eBands[i]<<LM)], 1));*
    [all...]
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,
331 badness2 = quant_coarse_energy_impl(m, start, end, eBands, oldEBands, budget,
celt_decoder.c 349 const opus_int16 *eBands;
356 eBands = mode->eBands;
412 boffs = N*c+(eBands[i]<<LM);
413 blen = (eBands[i+1]-eBands[i])<<LM;
427 int bound = eBands[effEnd]<<LM;
698 const opus_int16 *eBands;
704 eBands = mode->eBands;
    [all...]
celt.c 188 N=(m->eBands[i+1]-m->eBands[i])<<LM;
  /external/chromium_org/third_party/opus/src/celt/dump_modes/
dump_modes.c 81 fprintf (file, "static const opus_int16 eBands%d_%d[%d] = {\n", mode->Fs, mdctSize, mode->nbEBands+2);
83 fprintf (file, "%d, ", mode->eBands[j]);
217 fprintf(file, "eband5ms,\t/* eBands */\n");
219 fprintf(file, "eBands%d_%d,\t/* eBands */\n", mode->Fs, mdctSize);

Completed in 106 milliseconds