/external/chromium_org/third_party/opus/src/celt/ |
fixed_c5x.h | 48 #undef MIN16 49 #define MIN16(a,b) _min(a,b)
|
fixed_c6x.h | 52 #undef MIN16 53 #define MIN16(a,b) _min(a,b)
|
celt_encoder.c | 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))); 768 sum = MIN16(QCONST16(1.f, 10), ABS16(sum)); 776 minXC = MIN16(minXC, ABS16(EXTRACT16(SHR32(partial, 18)))); 778 minXC = MIN16(QCONST16(1.f, 10), ABS16(minXC)); 799 *stereo_saving = MIN16(*stereo_saving + QCONST16(0.25f, 8), -HALF16(logXC2)); 819 trim -= MAX16(-QCONST16(2.f, 8), MIN16(QCONST16(2.f, 8), SHR16(diff+QCONST16(1.f, DB_SHIFT),DB_SHIFT-8)/6 )); 825 trim -= MAX16(-QCONST16(2.f, 8), MIN16(QCONST16(2.f, 8), QCONST16(2.f, 8)*(analysis->tonality_slope+.05f))); 921 follower[c*nbEBands+i] = MIN16(follower[c*nbEBands+i-1]+QCONST16(1.5f,DB_SHIFT), bandLogE2[c*nbEBands+i]); 924 follower[c*nbEBands+i] = MIN16(follower[c*nbEBands+i], MIN16(follower[c*nbEBands+i+1]+QCONST16(2.f,DB_SHIFT), bandLogE2[c*nbEBand (…) [all...] |
mathops.c | 147 return ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32(L3, MULT16_16_P15(L4, x2
|
arch.h | 73 #define MIN16(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum 16-bit value. */
|
mathops.h | 55 minval = MIN16(minval, x[i]);
|
bands.c | 291 Ediff = EXTEND32(logE[c*m->nbEBands+i])-EXTEND32(MIN16(prev1,prev2)); 298 r = 2*MIN16(16383,r32); 304 r = SHR16(MIN16(thresh, r),1); 312 r = MIN16(thresh, r); [all...] |
celt_decoder.c | 994 backgroundLogE[i] = MIN16(backgroundLogE[i] + M*QCONST16(0.001f,DB_SHIFT), oldBandE[i]); 997 oldLogE[i] = MIN16(oldLogE[i], oldBandE[i]); [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 | 359 stationarity = MIN16(0.99f,L1/sqrt(1e-15+NB_FRAMES*L2)); 519 p = MAX16(.05f,MIN16(.95f,frame_probs[0])); 520 q = MAX16(.05f,MIN16(.95f,tonal->music_prob)); 592 tonal->speech_confidence += adapt*MIN16(.2f,frame_probs[0]-tonal->speech_confidence); 600 psum = MAX16(tonal->speech_confidence, MIN16(tonal->music_confidence, psum));
|
opus_encoder.c | 576 return MIN16(1,(float)sqrt(MAX16(0,.05f*(metric-2)))); [all...] |
/external/speex/libspeex/ |
arch.h | 83 #define MIN16(a,b) ((a) < (b) ? (a) : (b)) /**< Maximum 16-bit value. */
|
math_approx.h | 213 return ADD16(1,MIN16(32766,ADD32(SUB16(L1,x2), MULT16_16_P15(x2, ADD32(L2, MULT16_16_P15(x2, ADD32(L3, MULT16_16_P15(L4, x2))))))));
|
preprocess.c | 801 st->post[i]=MIN16(st->post[i], QCONST16(100.f,SNR_SHIFT)); 808 st->prior[i]=MIN16(st->prior[i], QCONST16(100.f,SNR_SHIFT)); 864 tmp = MIN16(QCONST16(3.,SNR_SHIFT), tmp); /* Prevent overflows in the next line*/ [all...] |
nb_celp.c | [all...] |