Home
last modified time | relevance | path

Searched refs:VSHR32 (Results 1 – 14 of 14) sorted by relevance

/external/libopus/celt/
Dmathops.c74 a = VSHR32(a,shift); in frac_div32()
75 b = VSHR32(b,shift); in frac_div32()
129 x = VSHR32(x, 2*k); in celt_sqrt()
133 rt = VSHR32(rt,7-k); in celt_sqrt()
188 n = VSHR32(x,i-15)-32768; in celt_rcp()
205 return VSHR32(EXTEND32(r),i-16); in celt_rcp()
Dpitch.c76 xcorr16 = EXTRACT16(VSHR32(xcorr[i], xshift)); in find_best_pitch()
446 t = VSHR32(x2y2, 2*(sh-7)); in remove_doubling()
447 g = g0 = VSHR32(MULT16_32_Q15(celt_rsqrt_norm(t), xy),sh+1); in remove_doubling()
482 t = VSHR32(x2y2, 2*(sh-7)); in remove_doubling()
483 g1 = VSHR32(MULT16_32_Q15(celt_rsqrt_norm(t), xy),sh+1); in remove_doubling()
Dmathops.h179 n = VSHR32(x,i-15)-32768-16384; in celt_log2()
212 return VSHR32(EXTEND32(frac), -integer-2); in celt_exp2()
Dbands.c116 sum = MAC16_16(sum, EXTRACT16(VSHR32(X[j+c*N],shift)), in compute_band_energies()
117 EXTRACT16(VSHR32(X[j+c*N],shift))); in compute_band_energies()
120 bandE[i+c*m->nbEBands] = EPSILON+VSHR32(EXTEND32(celt_sqrt(sum)),-shift); in compute_band_energies()
142 E = VSHR32(bandE[i+c*m->nbEBands], shift); in normalise_bands()
145 X[j+c*N] = MULT16_16_Q15(VSHR32(freq[j+c*N],shift-1),g); in normalise_bands()
363 left = VSHR32(bandE[i],shift); in intensity_stereo()
364 right = VSHR32(bandE[i+m->nbEBands],shift); in intensity_stereo()
421 t = VSHR32(El, (kl-7)<<1); in stereo_merge()
423 t = VSHR32(Er, (kr-7)<<1); in stereo_merge()
Dvq.c125 t = VSHR32(Ryy, 2*(k-7)); in normalise_residual()
365 t = VSHR32(E, 2*(k-7)); in renormalise_vector()
Dfixed_generic.h79 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) macro
Darch.h161 #define VSHR32(a,shift) (a) macro
Dfixed_debug.h227 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) macro
/external/speex/libspeex/
Dpseudofloat.h79 x = VSHR32(x, e); in PSEUDOFLOAT()
243 return VSHR32(MULT16_32_Q15(a.m, b),-a.e-15); in FLOAT_MUL32()
255 a = VSHR32(a, e1-14); in FLOAT_MUL32U()
257 b = VSHR32(b, e2-14); in FLOAT_MUL32U()
273 a = VSHR32(a, e); in FLOAT_DIV32_FLOAT()
297 b = VSHR32(b, e0); in FLOAT_DIV32()
301 a = VSHR32(a, e); in FLOAT_DIV32()
Dstereo.c188 largest = VSHR32(largest, shift-4); in speex_encode_stereo_int()
189 smallest = VSHR32(smallest, shift); in speex_encode_stereo_int()
207 e_tot = VSHR32(e_tot, shift-25); in speex_encode_stereo_int()
208 e_left = VSHR32(e_left, shift-10); in speex_encode_stereo_int()
209 e_right = VSHR32(e_right, shift-10); in speex_encode_stereo_int()
Dmath_approx.h147 x = VSHR32(x, (k<<1)); in spx_sqrt()
149 rt = VSHR32(rt,7-k); in spx_sqrt()
261 return VSHR32(EXTEND32(frac), -integer-2); in spx_exp2()
Darch.h171 #define VSHR32(a,shift) (a) macro
Dfixed_generic.h51 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) macro
Dfixed_debug.h165 #define VSHR32(a, shift) (((shift)>0) ? SHR32(a, shift) : SHL32(a, -(shift))) macro