Home
last modified time | relevance | path

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

/external/llvm-project/llvm/test/Transforms/SLPVectorizer/
Dslp-max-phi-size.ll2 ; RUN: opt -slp-vectorizer -S -slp-max-reg-size=32 < %s | FileCheck -check-prefix=MAX32 %s
7 ; MAX32-LABEL: @phi_float32(
8 ; MAX32-NEXT: bb:
9 ; MAX32-NEXT: br label [[BB1:%.*]]
10 ; MAX32: bb1:
11 ; MAX32-NEXT: [[I:%.*]] = fpext half [[HVAL:%.*]] to float
12 ; MAX32-NEXT: [[I1:%.*]] = fmul float [[I]], [[FVAL:%.*]]
13 ; MAX32-NEXT: [[I2:%.*]] = fadd float 0.000000e+00, [[I1]]
14 ; MAX32-NEXT: [[I3:%.*]] = fpext half [[HVAL]] to float
15 ; MAX32-NEXT: [[I4:%.*]] = fmul float [[I3]], [[FVAL]]
[all …]
/external/libopus/celt/
Dpitch.c101 Syy = MAX32(1, Syy); in find_best_pitch()
155 maxabs = MAX32(maxabs, maxabs_1); in pitch_downsample()
236 maxcorr = MAX32(maxcorr, sum); in celt_pitch_xcorr_c()
262 sum[0] = MAX32(sum[0], sum[1]); in celt_pitch_xcorr_c()
263 sum[2] = MAX32(sum[2], sum[3]); in celt_pitch_xcorr_c()
264 sum[0] = MAX32(sum[0], sum[2]); in celt_pitch_xcorr_c()
265 maxcorr = MAX32(maxcorr, sum[0]); in celt_pitch_xcorr_c()
275 maxcorr = MAX32(maxcorr, sum); in celt_pitch_xcorr_c()
319 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11; in pitch_search()
363 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.h90 return MAX32(EXTEND32(maxval),-EXTEND32(minval)); in celt_maxabs16()
103 maxval = MAX32(maxval, x[i]); in celt_maxabs32()
106 return MAX32(maxval, -minval); in celt_maxabs32()
Dfloat_cast.h146 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()
485 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp); in unquant_coarse_energy()
Dcelt_encoder.c375 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()
400 …*tf_estimate = celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONS… 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()
1618 sample_max=MAX32(st->overlap_max, celt_maxabs16(pcm, C*(N-overlap)/st->upsample)); in celt_encode_with_ec()
1620 sample_max=MAX32(sample_max, st->overlap_max); in celt_encode_with_ec()
1739 bandE[i] = MAX32(bandE[i], EPSILON); in celt_encode_with_ec()
1776 diff = MAX32(MIN32(diff, QCONST32(.031f, DB_SHIFT)), -QCONST32(.031f, DB_SHIFT)); in celt_encode_with_ec()
Dfixed_generic.h172 x = MAX32(x, -32768); in SIG2WORD16_generic()
Drate.c449 excess = MAX32(bit-cap[j],0); in interp_bits2pulses()
492 excess = MAX32(0,bit-(C<<BITRES)); in interp_bits2pulses()
Darch.h103 #define MAX32(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 32-bit value. */ macro
Dmdct.c94 … trig[i] = (kiss_twiddle_scalar)MAX32(-32767,MIN32(32767,floor(.5+32768*cos(2*M_PI*(i+.125)/N)))); in clt_mdct_init()
Dbands.c319 Ediff = MAX32(0, Ediff); in anti_collapse()
382 shift = celt_ilog2(EPSILON+MAX32(Ex, Ey))-14; in compute_channel_weights()
396 int shift = celt_zlog2(MAX32(bandE[i], bandE[i+m->nbEBands]))-13; in intensity_stereo()
Dfixed_debug.h781 x = MAX32(x, -32768); in SIG2WORD16_generic()
/external/rnnoise/src/
Dpitch.c102 Syy = MAX32(1, Syy); in find_best_pitch()
163 maxabs = MAX32(maxabs, maxabs_1); in pitch_downsample()
235 maxcorr = MAX32(maxcorr, sum); in celt_pitch_xcorr()
261 sum[0] = MAX32(sum[0], sum[1]); in celt_pitch_xcorr()
262 sum[2] = MAX32(sum[2], sum[3]); in celt_pitch_xcorr()
263 sum[0] = MAX32(sum[0], sum[2]); in celt_pitch_xcorr()
264 maxcorr = MAX32(maxcorr, sum[0]); in celt_pitch_xcorr()
274 maxcorr = MAX32(maxcorr, sum); in celt_pitch_xcorr()
313 shift = celt_ilog2(MAX32(1, MAX32(xmax, ymax)))-11; in pitch_search()
357 xcorr[i] = MAX32(-1, sum); in pitch_search()
[all …]
Darch.h75 #define MAX32(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 32-bit value. */ macro
/external/mtools/
Dfat.c453 if(This->infoSectorLoc && This->infoSectorLoc != MAX32) { in fat_write()
686 This->infoSectorLoc && This->infoSectorLoc != MAX32) { in fat_32_read()
713 This->infoSectorLoc = MAX32; in old_fat_read()
741 This->last = MAX32; in fat_read()
742 This->freeSpace = MAX32; in fat_read()
770 if(This->freeSpace != MAX32) in fatAppend()
778 if(This->freeSpace != MAX32) in fatDeallocate()
786 if(This->freeSpace != MAX32) in fatAllocate()
794 if(This->freeSpace != MAX32) { in fatEncode()
806 if(This->last != MAX32) in get_next_free_cluster()
[all …]
Dminfo.c52 if(_DWORD(infosec->count) != MAX32) in displayInfosector()
54 if(_DWORD(infosec->pos) != MAX32) in displayInfosector()
Dmsdos.h62 #define MAX32 0xffffffff macro
/external/libopus/src/
Danalysis.c290 tonality_max = MAX32(tonality_max, tonal->info[pos].tonality); in tonality_get_info()
307 info_out->tonality = MAX32(tonality_avg/tonality_count, tonality_max-.2f); in tonality_get_info()
612 float tt = MIN32(tonality2[i], MAX32(tonality2[i-1], tonality2[i+1])); in tonality_analysis()
613 tonality[i] = .9f*MAX32(tonality[i], tt-.1f); in tonality_analysis()
658 tE += binE*MAX32(0, tonality[i]); in tonality_analysis()
690 tonal->lowE[b] = MAX32(tonal->highE[b]-15, tonal->lowE[b]); in tonality_analysis()
799 maxE = MAX32(maxE, E); in tonality_analysis()
806 tonal->meanE[b] = MAX32((1-alphaE2)*tonal->meanE[b], E); in tonality_analysis()
807 Em = MAX32(E, tonal->meanE[b]); in tonality_analysis()
819 bandwidth_mask = MAX32(.05f*bandwidth_mask, E); in tonality_analysis()
[all …]
Dopus_encoder.c691 mem->XX = MAX32(0, mem->XX); in compute_stereo_width()
692 mem->XY = MAX32(0, mem->XY); in compute_stereo_width()
693 mem->YY = MAX32(0, mem->YY); in compute_stereo_width()
694 if (MAX32(mem->XX, mem->YY)>QCONST16(8e-4f, 18)) in compute_stereo_width()
1135 … st->peak_signal_energy = MAX32(MULT16_32_Q15(QCONST16(0.999f, 15), st->peak_signal_energy), in opus_encode_native()
1727 rate_offset = MAX32(rate_offset, -2*st->silk_mode.bitRate/3); in opus_encode_native()
Dopus_multistream_encoder.c301 bandE[i] = MAX32(bandE[i], tmpE[i]); in surround_analysis()
/external/speex/libspeexdsp/
Darch.h79 #define MAX32(a,b) ((a) > (b) ? (a) : (b)) /**< Maximum 32-bit value. */ macro
Dpreprocess.c756 …st->echo_noise[i] = MAX32(MULT16_32_Q15(QCONST16(.6f,15),st->echo_noise[i]), st->residual_echo[i]); in speex_preprocess_run()
778 …st->noise[i] = MAX32(EXTEND32(0),MULT16_32_Q15(beta_1,st->noise[i]) + MULT16_32_Q15(beta,SHL32(st-… in speex_preprocess_run()
1131 *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr)); in speex_preprocess_ctl()
1139 *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr)); in speex_preprocess_ctl()
Dmdf.c1046 See = MAX32(See, SHR32(MULT16_16(N, 100),6)); in speex_echo_cancellation()