Searched refs:MIN32 (Results 1 – 14 of 14) sorted by relevance
/external/speex/libspeex/ |
D | preprocess.c | 328 …noise_gain = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(0.11513,11),noise_suppress))… in compute_gain_floor() 329 …gain_ratio = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(.2302585f,11),effective_echo… in compute_gain_floor() 338 …echo_gain = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(0.11513,11),effective_echo_su… in compute_gain_floor() 339 …gain_ratio = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(.2302585f,11),noise_suppress… in compute_gain_floor() 695 st->Smin[i] = MIN32(st->Stmp[i], st->S[i]); in update_noise_prob() 701 st->Smin[i] = MIN32(st->Smin[i], st->S[i]); in update_noise_prob() 702 st->Stmp[i] = MIN32(st->Stmp[i], st->S[i]); in update_noise_prob() 855 st->gain[i] = EXTRACT16(MIN32(Q15_ONE, MULT16_32_Q15(prior_ratio, MM))); in speex_preprocess_run() 862 theta = MIN32(theta, EXTEND32(32767)); in speex_preprocess_run() 863 /*Q8*/tmp = MULT16_16_Q15((SHL32(1,SNR_SHIFT)+st->prior[i]),EXTRACT16(MIN32(Q15ONE,SHR32(spx_exp(-E… in speex_preprocess_run() [all …]
|
D | arch.h | 86 #define MIN32(a,b) ((a) < (b) ? (a) : (b)) /**< Maximum 32-bit value. */ macro
|
D | mdf.c | 366 tmp = MIN32(ABS32(tmp), 536870912); in mdf_adjust_prop()
|
/external/libopus/celt/ |
D | float_cast.h | 135 x = MIN32(x, 32767); in FLOAT2INT16()
|
D | quant_bands.c | 153 return MIN32(200,SHR32(dist,2*DB_SHIFT-6)); in loss_distortion() 289 max_decay = MIN32(max_decay, SHL32(EXTEND32(nbAvailableBytes),DB_SHIFT-3)); in quant_coarse_energy() 291 max_decay = MIN32(max_decay, .125f*nbAvailableBytes); in quant_coarse_energy()
|
D | arch.h | 77 #define MIN32(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum 32-bit value. */ macro
|
D | mathops.h | 71 minval = MIN32(minval, x[i]); in celt_maxabs32()
|
D | modes.c | 377 …window[i] = MIN32(32767,floor(.5+32768.*sin(.5*M_PI* sin(.5*M_PI*(i+.5)/mode->overlap) * sin(.5*M_… in opus_custom_mode_create()
|
D | celt_decoder.c | 183 x = MIN32(x, 32767); in SIG2WORD16() 540 E1 = MIN32(E1, E2); in celt_decode_lost()
|
D | bands.c | 279 thresh = MULT16_32_Q15(QCONST16(0.5f, 15), MIN32(32767,thresh32)); in anti_collapse() 319 r = MULT16_16_Q14(23170, MIN32(23169, r)); in anti_collapse()
|
D | celt_encoder.c | 498 inp[i*upsample] = MAX32(-65536.f, MIN32(65536.f,inp[i*upsample])); in celt_preemphasis() 1174 target -= (opus_int32)MIN32(MULT16_32_Q15(max_frac,target), in compute_vbr() 1592 diff = MAX32(MIN32(diff, QCONST32(.031f, DB_SHIFT)), -QCONST32(.031f, DB_SHIFT)); in celt_encode_with_ec()
|
/external/libopus/src/ |
D | analysis.c | 342 tonal->lowE[b] = MIN32(logE[b], tonal->lowE[b]+.01f); in tonality_analysis()
|
D | opus_multistream_encoder.c | 304 maskLogE[1][i] = MIN32(maskLogE[0][i],maskLogE[2][i]); in surround_analysis()
|
D | opus_encoder.c | 907 mem->XY = MIN32(mem->XY, sqrt_xx*sqrt_yy); in compute_stereo_width() 922 return EXTRACT16(MIN32(Q15ONE,20*mem->max_follower)); in compute_stereo_width()
|