Home
last modified time | relevance | path

Searched refs:SUB32 (Results 1 – 19 of 19) sorted by relevance

/external/libopus/celt/arm/
Dkiss_fft_armv5e.h61 (m).r = SHL32(SUB32(mr1__, mr2__), 1); \
86 (m).r = SHR32(SUB32(mr1__, mr2__), 1); \
112 (m).i = SHL32(SUB32(mi1__, mi2__), 1); \
/external/speex/libspeexdsp/
Dmath_approx.h127 return EXTRACT16(PSHR32(SUB32(res, SHR32(res, 3)),14)); in speex_rand()
199 …return SUB32(-K1, MULT16_16_P13(x2, ADD32(K2, MULT16_16_P13(x2, ADD32(K3, MULT16_16_P13(K4, x2))))… in spx_cos()
220 x = SUB32(SHL32(EXTEND32(1), 17),x); in spx_cos_norm()
Dmdf.c273 … tmp1 = SUB32(MAC16_16(tmp1, X[j*N+i],TOP16(Y[j*N+i])), MULT16_16(X[j*N+i+1],TOP16(Y[j*N+i+1]))); in spectral_mul_accum()
300 tmp1 = SUB32(MAC16_16(tmp1, X[j*N+i],Y[j*N+i]), MULT16_16(X[j*N+i+1],Y[j*N+i+1])); in spectral_mul_accum16()
732 …tmp32 = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(MULT16_16_P15(st->preemph, st->… in speex_echo_cancellation()
758 …tmp32 = SUB32(EXTEND32(far_end[i*K+speak]), EXTEND32(MULT16_16_P15(st->preemph, st->memX[speak]))); in speex_echo_cancellation()
902 …= ADD32(MULT16_32_Q15(QCONST16(.6f,15),st->Davg1), MULT16_32_Q15(QCONST16(.4f,15),SUB32(Sff,See))); in speex_echo_cancellation()
903 …ADD32(MULT16_32_Q15(QCONST16(.85f,15),st->Davg2), MULT16_32_Q15(QCONST16(.15f,15),SUB32(Sff,See))); in speex_echo_cancellation()
917 if (FLOAT_GT(FLOAT_MUL32U(SUB32(Sff,See),ABS32(SUB32(Sff,See))), FLOAT_MUL32U(Sff,Dbf))) in speex_echo_cancellation()
939 …if (FLOAT_GT(FLOAT_MUL32U(NEG32(SUB32(Sff,See)),ABS32(SUB32(Sff,See))), FLOAT_MULT(VAR_BACKTRACK,F… in speex_echo_cancellation()
973 …tmp_out = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(st->e[chan*N+i+st->frame_size… in speex_echo_cancellation()
975 …tmp_out = SUB32(EXTEND32(st->input[chan*st->frame_size+i]), EXTEND32(st->y[chan*N+i+st->frame_size… in speex_echo_cancellation()
Dkiss_fftr.c237 f2k.r = SHR32(SUB32(EXTEND32(st->tmpbuf[k].r), EXTEND32(st->tmpbuf[ncfft-k].r)),1); in kiss_fftr2()
241 f1ki = SHL32(SUB32(EXTEND32(st->tmpbuf[k].i), EXTEND32(st->tmpbuf[ncfft-k].i)),13); in kiss_fftr2()
243 …twr = SHR32(SUB32(MULT16_16(f2k.r,st->super_twiddles[k].r),MULT16_16(f2k.i,st->super_twiddles[k].i… in kiss_fftr2()
Dkiss_fft.c54 tr = SHR32(SUB32(MULT16_16(Fout2->r , tw1->r),MULT16_16(Fout2->i , tw1->i)), 1); in kf_bfly2()
57 Fout2->r = PSHR32(SUB32(SHL32(EXTEND32(Fout->r), 14), tr), 15); in kf_bfly2()
58 Fout2->i = PSHR32(SUB32(SHL32(EXTEND32(Fout->i), 14), ti), 15); in kf_bfly2()
Dfixed_generic.h68 #define SUB32(a,b) ((spx_word32_t)(a)-(spx_word32_t)(b)) macro
Darch.h176 #define SUB32(a,b) ((a)-(b)) macro
Dfixed_debug.h222 static inline int SUB32(long long a, long long b) in SUB32() function
Dresample.c312 interp[1] = EXTRACT16(EXTEND32(x) + SHR32(SUB32(EXTEND32(x2),EXTEND32(x3)),1)); in cubic_coef()
/external/libopus/celt/
Dmathops.c161 x = SUB32(SHL32(EXTEND32(1), 17),x); in celt_cos_norm()
Dfixed_generic.h121 #define SUB32(a,b) ((opus_val32)(a)-(opus_val32)(b)) macro
Darch.h245 #define SUB32(a,b) ((a)-(b)) macro
Dquant_bands.c198 SUB32((opus_val32)oldEBands[i+c*m->nbEBands],max_decay))); in quant_coarse_energy_impl()
Dfixed_debug.h312 #define SUB32(a, b) SUB32_(a, b, __FILE__, __LINE__) macro
Dbands.c422 Y[j] = EXTRACT16(SHR32(SUB32(r, l), 15)); in stereo_split()
643 X[stride*(2*j+1)+i] = EXTRACT16(PSHR32(SUB32(tmp1, tmp2), 15)); in haar1()
Dcelt_encoder.c896 S = SUB32(L, R); in stereo_analysis()
1920 if (ABS32(SUB32(bandLogE[i+c*nbEBands], oldBandE[i+c*nbEBands])) < QCONST16(2.f, DB_SHIFT)) in celt_encode_with_ec()
/external/elfutils/backends/
Driscv_reloc.def65 RELOC_TYPE (SUB32, REL)
/external/libopus/src/
Danalysis.c129 Y = SUB32( in32, S[ 0 ] ); in silk_resampler_down2_hp()
138 Y = SUB32( in32, S[ 1 ] ); in silk_resampler_down2_hp()
144 Y = SUB32( -in32, S[ 2 ] ); in silk_resampler_down2_hp()
Dopus_multistream_encoder.c201 diff = SUB32(EXTEND32(a),EXTEND32(b)); in logSum()
204 diff = SUB32(EXTEND32(b),EXTEND32(a)); in logSum()