/external/libopus/celt/ |
D | fixed_c6x.h | 58 #undef MIN32 59 #define MIN32(a,b) _lmin(a,b)
|
D | fixed_c5x.h | 54 #undef MIN32 55 #define MIN32(a,b) _lmin(a,b) macro
|
D | float_cast.h | 147 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 | fixed_generic.h | 173 x = MIN32(x, 32767); in SIG2WORD16_generic()
|
D | mathops.h | 104 minval = MIN32(minval, x[i]); in celt_maxabs32()
|
D | arch.h | 102 #define MIN32(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum 32-bit value. */ macro
|
D | modes.c | 379 …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 | mdct.c | 94 … trig[i] = (kiss_twiddle_scalar)MAX32(-32767,MIN32(32767,floor(.5+32768*cos(2*M_PI*(i+.125)/N)))); in clt_mdct_init()
|
D | celt_encoder.c | 375 id = MAX32(0,MIN32(127,MULT16_32_Q15(tmp[i]+EPSILON,norm))); /* Do not round to nearest */ in transient_analysis() 377 … id = (int)MAX32(0,MIN32(127,floor(64*norm*(tmp[i]+EPSILON)))); /* Do not round to nearest */ in transient_analysis() 535 inp[i*upsample] = MAX32(-65536.f, MIN32(65536.f,inp[i*upsample])); in celt_preemphasis() 852 …trim -= MAX32(-QCONST16(2.f, 8), MIN32(QCONST16(2.f, 8), SHR32(diff+QCONST16(1.f, DB_SHIFT),DB_SHI… in alloc_trim_analysis() 1339 target -= (opus_int32)MIN32(MULT16_32_Q15(max_frac,target), in compute_vbr() 1776 diff = MAX32(MIN32(diff, QCONST32(.031f, DB_SHIFT)), -QCONST32(.031f, DB_SHIFT)); in celt_encode_with_ec()
|
D | bands.c | 230 g = celt_exp2(MIN32(32.f, lg)); in denormalise_bands() 290 thresh = MULT16_32_Q15(QCONST16(0.5f, 15), MIN32(32767,thresh32)); in anti_collapse() 330 r = MULT16_16_Q14(23170, MIN32(23169, r)); in anti_collapse() 377 minE = MIN32(Ex, Ey); in compute_channel_weights()
|
D | pitch.c | 421 return EXTRACT16(MIN32(g, Q15ONE)); in compute_pitch_gain()
|
D | fixed_debug.h | 782 x = MIN32(x, 32767); in SIG2WORD16_generic()
|
D | celt_decoder.c | 705 E1 = MIN32(E1, E2); in celt_decode_lost()
|
/external/speex/libspeexdsp/ |
D | preprocess.c | 324 …noise_gain = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(0.11513,11),noise_suppress))… in compute_gain_floor() 325 …gain_ratio = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(.2302585f,11),effective_echo… in compute_gain_floor() 334 …echo_gain = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(0.11513,11),effective_echo_su… in compute_gain_floor() 335 …gain_ratio = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(.2302585f,11),noise_suppress… in compute_gain_floor() 691 st->Smin[i] = MIN32(st->Stmp[i], st->S[i]); in update_noise_prob() 697 st->Smin[i] = MIN32(st->Smin[i], st->S[i]); in update_noise_prob() 698 st->Stmp[i] = MIN32(st->Stmp[i], st->S[i]); in update_noise_prob() 851 st->gain[i] = EXTRACT16(MIN32(Q15_ONE, MULT16_32_Q15(prior_ratio, MM))); in speex_preprocess_run() 858 theta = MIN32(theta, EXTEND32(32767)); in speex_preprocess_run() 859 /*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 | 78 #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/rnnoise/src/ |
D | arch.h | 74 #define MIN32(a,b) ((a) < (b) ? (a) : (b)) /**< Minimum 32-bit value. */ macro
|
D | pitch.c | 413 return EXTRACT16(MIN32(g, Q15ONE)); in compute_pitch_gain()
|
D | denoise.c | 393 mindist = MIN32(mindist, dist); in compute_frame_features()
|
/external/libopus/src/ |
D | analysis.c | 612 float tt = MIN32(tonality2[i], MAX32(tonality2[i-1], tonality2[i+1])); in tonality_analysis() 694 tonal->highE[b] = MIN32(tonal->lowE[b]+15, tonal->highE[b]); in tonality_analysis() 772 mindist = MIN32(mindist, dist); in tonality_analysis()
|
D | opus_multistream_encoder.c | 336 maskLogE[1][i] = MIN32(maskLogE[0][i],maskLogE[2][i]); in surround_analysis()
|
D | opus_encoder.c | 704 mem->XY = MIN32(mem->XY, sqrt_xx*sqrt_yy); in compute_stereo_width() 715 return EXTRACT16(MIN32(Q15ONE, MULT16_16(20, mem->max_follower))); in compute_stereo_width()
|
/external/libopus/doc/ |
D | opus_update.patch | 47 + lg = MIN32(QCONST32(32.f, 16), lg);
|