Home
last modified time | relevance | path

Searched refs:MAX32 (Results 1 – 18 of 18) sorted by relevance

/external/smack/src/org/xbill/DNS/
DSerial.java15 private static final long MAX32 = 0xFFFFFFFFL; field in Serial
32 if (serial1 < 0 || serial1 > MAX32) in compare()
34 if (serial2 < 0 || serial2 > MAX32) in compare()
37 if (diff >= MAX32) in compare()
38 diff -= (MAX32 + 1); in compare()
39 else if (diff < -MAX32) in compare()
40 diff += (MAX32 + 1); in compare()
54 if (serial < 0 || serial > MAX32) in increment()
56 if (serial == MAX32) in increment()
/external/chromium_org/third_party/opus/src/celt/
Dpitch.c101 Syy = MAX32(1, Syy); in find_best_pitch()
162 maxabs = MAX32(maxabs, maxabs_1); in pitch_downsample()
238 maxcorr = MAX32(maxcorr, sum);
268 sum[0] = MAX32(sum[0], sum[1]); in celt_pitch_xcorr()
269 sum[2] = MAX32(sum[2], sum[3]); in celt_pitch_xcorr()
270 sum[0] = MAX32(sum[0], sum[2]); in celt_pitch_xcorr()
271 maxcorr = MAX32(maxcorr, sum[0]); in celt_pitch_xcorr()
282 maxcorr = MAX32(maxcorr, sum); in celt_pitch_xcorr()
326 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11; in pitch_search()
365 xcorr[i] = MAX32(-1, sum); in pitch_search()
[all …]
Dfixed_c6x.h55 #undef MAX32
56 #define MAX32(a,b) _lmax(a,b)
67 #define celt_maxabs16(x, len) MAX32(EXTEND32(maxval((DATA *)x, len)),-EXTEND32(minval((DATA *)x, le…
Dfixed_c5x.h51 #undef MAX32
52 #define MAX32(a,b) _lmax(a,b) macro
76 #define celt_maxabs16(x, len) MAX32(EXTEND32(maxval((DATA *)x, len)),-EXTEND32(minval((DATA *)x, le…
Dmathops.h57 return MAX32(EXTEND32(maxval),-EXTEND32(minval)); in celt_maxabs16()
70 maxval = MAX32(maxval, x[i]); in celt_maxabs32()
73 return MAX32(maxval, -minval); in celt_maxabs32()
Dfloat_cast.h134 x = MAX32(x, -32768); in FLOAT2INT16()
Dquant_bands.c197 decay_bound = EXTRACT16(MAX32(-QCONST16(28.f,DB_SHIFT), in quant_coarse_energy_impl()
252 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp); in quant_coarse_energy_impl()
480 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp); in unquant_coarse_energy()
Darch.h77 #define MAX32(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 32-bit value. */ macro
Drate.c444 excess = MAX32(bit-cap[j],0); in interp_bits2pulses()
486 excess = MAX32(0,bit-(C<<BITRES)); in interp_bits2pulses()
Dbands.c108 maxval = MAX32(maxval, X[j+c*N]); in compute_band_energies()
109 maxval = MAX32(maxval, -X[j+c*N]); in compute_band_energies()
292 Ediff = MAX32(0, Ediff); in anti_collapse()
345 int shift = celt_zlog2(MAX32(bandE[i], bandE[i+m->nbEBands]))-13; in intensity_stereo()
Dcelt_encoder.c489 inp[i*upsample] = MAX32(-65536.f, MIN32(65536.f,inp[i*upsample])); in preemphasis()
1419 sample_max=MAX32(st->overlap_max, celt_maxabs16(pcm, C*(N-overlap)/st->upsample)); in celt_encode_with_ec()
1421 sample_max=MAX32(sample_max, st->overlap_max); in celt_encode_with_ec()
1529 bandE[i] = MAX32(bandE[i], EPSILON); in celt_encode_with_ec()
1566 diff = MAX32(MIN32(diff, QCONST32(.031f, DB_SHIFT)), -QCONST32(.031f, DB_SHIFT)); in celt_encode_with_ec()
Dcelt_decoder.c182 x = MAX32(x, -32768); in SIG2WORD16()
/external/chromium_org/third_party/opus/src/src/
Danalysis.c344 tonal->highE[b] = MAX32(logE[b], tonal->highE[b]-.1f); in tonality_analysis()
403 maxE = MAX32(maxE, E); in tonality_analysis()
404 tonal->meanE[b] = MAX32((1-alphaE2)*tonal->meanE[b], E); in tonality_analysis()
405 E = MAX32(E, tonal->meanE[b]); in tonality_analysis()
407 bandwidth_mask = MAX32(.05f*bandwidth_mask, E); in tonality_analysis()
420 tonal->Etracker = MAX32(tonal->Etracker-.03f, frame_loudness); in tonality_analysis()
Dopus_encoder.c929 mem->XX = MAX32(0, mem->XX); in compute_stereo_width()
930 mem->XY = MAX32(0, mem->XY); in compute_stereo_width()
931 mem->YY = MAX32(0, mem->YY); in compute_stereo_width()
932 if (MAX32(mem->XX, mem->YY)>QCONST16(8e-4f, 18)) in compute_stereo_width()
1548 rate_offset = MAX32(rate_offset, -2*st->silk_mode.bitRate/3); in opus_encode_native()
/external/speex/libspeex/
Darch.h87 #define MAX32(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 32-bit value. */ macro
Dpreprocess.c760 …st->echo_noise[i] = MAX32(MULT16_32_Q15(QCONST16(.6f,15),st->echo_noise[i]), st->residual_echo[i]); in speex_preprocess_run()
782 …st->noise[i] = MAX32(EXTEND32(0),MULT16_32_Q15(beta_1,st->noise[i]) + MULT16_32_Q15(beta,SHL32(st-… in speex_preprocess_run()
1136 *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr)); in speex_preprocess_ctl()
1144 *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr)); in speex_preprocess_ctl()
Dltp.c636 …*cumul_gain = MULT16_32_Q13(SHL16(params->gain_cdbk[4*best_gain_index+3],8), MAX32(1024,*cumul_gai… in pitch_search_3tap()
638 *cumul_gain = 0.03125*MAX32(1024,*cumul_gain)*params->gain_cdbk[4*best_gain_index+3]; in pitch_search_3tap()
Dmdf.c1046 See = MAX32(See, SHR32(MULT16_16(N, 100),6)); in speex_echo_cancellation()