Searched refs:MIN32 (Results 1 - 14 of 14) sorted by relevance

/external/libopus/celt/
H A Dfloat_cast.h135 x = MIN32(x, 32767);
H A Dquant_bands.c153 return MIN32(200,SHR32(dist,2*DB_SHIFT-6));
289 max_decay = MIN32(max_decay, SHL32(EXTEND32(nbAvailableBytes),DB_SHIFT-3));
291 max_decay = MIN32(max_decay, .125f*nbAvailableBytes);
H A Darch.h77 #define MIN32(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum 32-bit value. */ macro
H A Dmathops.h71 minval = MIN32(minval, x[i]);
H A Dmodes.c377 window[i] = MIN32(32767,floor(.5+32768.*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_PI*(i+.5)/mode->overlap))));
H A Dcelt_decoder.c183 x = MIN32(x, 32767);
540 E1 = MIN32(E1, E2);
H A Dcelt_encoder.c498 inp[i*upsample] = MAX32(-65536.f, MIN32(65536.f,inp[i*upsample]));
1174 target -= (opus_int32)MIN32(MULT16_32_Q15(max_frac,target),
1592 diff = MAX32(MIN32(diff, QCONST32(.031f, DB_SHIFT)), -QCONST32(.031f, DB_SHIFT));
H A Dbands.c279 thresh = MULT16_32_Q15(QCONST16(0.5f, 15), MIN32(32767,thresh32));
319 r = MULT16_16_Q14(23170, MIN32(23169, r));
/external/speex/libspeex/
H A Dpreprocess.c328 noise_gain = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(0.11513,11),noise_suppress)),1)));
329 gain_ratio = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(.2302585f,11),effective_echo_suppress-noise_suppress)),1)));
338 echo_gain = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(0.11513,11),effective_echo_suppress)),1)));
339 gain_ratio = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(.2302585f,11),noise_suppress-effective_echo_suppress)),1)));
695 st->Smin[i] = MIN32(st->Stmp[i], st->S[i]);
701 st->Smin[i] = MIN32(st->Smin[i], st->S[i]);
702 st->Stmp[i] = MIN32(st->Stmp[i], st->S[i]);
855 st->gain[i] = EXTRACT16(MIN32(Q15_ONE, MULT16_32_Q15(prior_ratio, MM)));
862 theta = MIN32(theta, EXTEND32(32767));
863 /*Q8*/tmp = MULT16_16_Q15((SHL32(1,SNR_SHIFT)+st->prior[i]),EXTRACT16(MIN32(Q15ON
[all...]
H A Darch.h86 #define MIN32(a,b) ((a) < (b) ? (a) : (b)) /**< Maximum 32-bit value. */ macro
H A Dmdf.c366 tmp = MIN32(ABS32(tmp), 536870912);
/external/libopus/src/
H A Danalysis.c342 tonal->lowE[b] = MIN32(logE[b], tonal->lowE[b]+.01f);
H A Dopus_multistream_encoder.c304 maskLogE[1][i] = MIN32(maskLogE[0][i],maskLogE[2][i]);
H A Dopus_encoder.c907 mem->XY = MIN32(mem->XY, sqrt_xx*sqrt_yy);
922 return EXTRACT16(MIN32(Q15ONE,20*mem->max_follower));

Completed in 127 milliseconds