/external/chromium_org/third_party/opus/src/celt/ |
fixed_c5x.h | 45 #undef MAX16 46 #define MAX16(a,b) _max(a,b)
|
fixed_c6x.h | 49 #undef MAX16 50 #define MAX16(a,b) _max(a,b)
|
celt_encoder.c | 315 maxE = MAX16(maxE, mem0); 358 tf_max = MAX16(0,celt_sqrt(27*mask_metric)-42); 359 /* *tf_estimate = 1 + MIN16(1, sqrt(MAX16(0, tf_max-30))/20); */ 360 *tf_estimate = celt_sqrt(MAX16(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONST32(0.139,28))); 384 spread_old[i] = MAX16(spread_old[i-1]-QCONST16(1.0f, DB_SHIFT), oldE[i]); 386 spread_old[0] = MAX16(oldE[0],oldE[nbEBands]); 388 spread_old[i] = MAX16(spread_old[i-1]-QCONST16(1.0f, DB_SHIFT), 389 MAX16(oldE[i],oldE[i+nbEBands])); 392 spread_old[i] = MAX16(spread_old[i], spread_old[i+1]-QCONST16(1.0f, DB_SHIFT)); 398 x1 = MAX16(0, newE[i]) [all...] |
pitch.c | 489 thresh = MAX16(QCONST16(.3f,15), MULT16_16_Q15(QCONST16(.7f,15),g0)-cont); 493 thresh = MAX16(QCONST16(.4f,15), MULT16_16_Q15(QCONST16(.85f,15),g0)-cont); 495 thresh = MAX16(QCONST16(.5f,15), MULT16_16_Q15(QCONST16(.9f,15),g0)-cont);
|
quant_bands.c | 192 oldE = MAX16(-QCONST16(9.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]); 203 decay_bound = MAX16(-QCONST16(28.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]) - max_decay; 477 oldEBands[i+c*m->nbEBands] = MAX16(-QCONST16(9.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]);
|
arch.h | 74 #define MAX16(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 16-bit value. */
|
mathops.h | 54 maxval = MAX16(maxval, x[i]);
|
bands.c | 288 prev1 = MAX16(prev1,prev1logE[m->nbEBands+i]); 289 prev2 = MAX16(prev2,prev2logE[m->nbEBands+i]); [all...] |
celt_decoder.c | 776 oldBandE[i]=MAX16(oldBandE[i],oldBandE[nbEBands+i]); [all...] |
/external/speex/libspeex/ |
fixed_bfin.h | 91 #undef MAX16 92 static inline spx_word16_t MAX16(spx_word16_t a, spx_word16_t b)
|
arch.h | 84 #define MAX16(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 16-bit value. */
|
preprocess.c | 316 x = MAX16(x, 1); 644 max_val = MAX16(max_val, ABS16(st->frame[i])); 744 beta = MAX16(QCONST16(.03,15),DIV32_16(Q15_ONE,st->nb_adapt)); 807 st->prior[i] = EXTRACT16(PSHR32(ADD32(MULT16_16(gamma,MAX16(0,st->post[i])), MULT16_16(Q15_ONE-gamma,DIV32_16_Q8(st->old_ps[i],tot_noise))), 15)); 929 st->gain[i] = MAX16(st->gain[i], st->gain_floor[i]); [all...] |
nb_celp.c | [all...] |
/external/chromium_org/third_party/opus/src/src/ |
opus.c | 47 _x[i] = MAX16(-2.f, MIN16(2.f, _x[i])); 122 x[i*C] = MAX16(-1.f, MIN16(1.f, x[i*C]));
|
analysis.c | 364 band_tonality[b] = MAX16(tE/(1e-15+E), stationarity*tonal->prev_band_tonality[b]); 376 max_frame_tonality = MAX16(max_frame_tonality, (1.f+.03f*(b-NB_TBANDS))*frame_tonality); 444 frame_tonality = MAX16(frame_tonality, tonal->prev_tonality*.8f); 519 p = MAX16(.05f,MIN16(.95f,frame_probs[0])); 520 q = MAX16(.05f,MIN16(.95f,tonal->music_prob)); 585 tonal->music_confidence += adapt*MAX16(-.2f,frame_probs[0]-tonal->music_confidence); 600 psum = MAX16(tonal->speech_confidence, MIN16(tonal->music_confidence, psum));
|
opus_multistream_encoder.c | 274 bandLogE[21*c+i] = MAX16(bandLogE[21*c+i], bandLogE[21*c+i-1]-QCONST16(1.f, DB_SHIFT)); 276 bandLogE[21*c+i] = MAX16(bandLogE[21*c+i], bandLogE[21*c+i+1]-QCONST16(2.f, DB_SHIFT));
|
opus_encoder.c | 575 /*return MAX16(0,1-exp(-.25*(metric-2.)));*/ 576 return MIN16(1,(float)sqrt(MAX16(0,.05f*(metric-2)))); 947 mem->max_follower = MAX16(mem->max_follower-QCONST16(.02f,15)/frame_rate, mem->smoothed_width); [all...] |