Searched refs:SHR16 (Results 1 – 13 of 13) sorted by relevance
/external/libopus/celt/ |
D | mathops.h | 213 return SHL16(i-13,DB_SHIFT)+SHR16(frac,14-DB_SHIFT); in celt_log2() 238 integer = SHR16(x,10); in celt_exp2() 279 return SHR16(celt_atan01(EXTRACT16(arg)),1); in celt_atan2p() 285 return 25736-SHR16(celt_atan01(EXTRACT16(arg)),1); in celt_atan2p()
|
D | vq.c | 419 m = ADD16(SHR16(X[i],1),SHR16(Y[i],1)); in stereo_itheta() 420 s = SUB16(SHR16(X[i],1),SHR16(Y[i],1)); in stereo_itheta()
|
D | quant_bands.c | 149 opus_val16 d = SUB16(SHR16(eBands[i+c*len], 3), SHR16(oldEBands[i+c*len], 3)); in loss_distortion() 209 qi += (int)SHR16(SUB16(decay_bound,x), DB_SHIFT); in quant_coarse_energy_impl() 416 offset = SHR16(SHL16(q2,DB_SHIFT)-QCONST16(.5f,DB_SHIFT),fine_quant[i]+1); in quant_energy_finalise() 533 offset = SHR16(SHL16(q2,DB_SHIFT)-QCONST16(.5f,DB_SHIFT),fine_quant[i]+1); in unquant_energy_finalise()
|
D | fixed_generic.h | 84 #define SHR16(a,shift) ((a) >> (shift)) macro 111 #define HALF16(x) (SHR16(x,1))
|
D | pitch.c | 323 x_lp4[j] = SHR16(x_lp4[j], shift); in pitch_search() 325 y_lp4[j] = SHR16(y_lp4[j], shift); in pitch_search()
|
D | arch.h | 224 #define SHR16(a,shift) (a) macro
|
D | fixed_debug.h | 145 #define SHR16(a, shift) SHR16_(a, shift, __FILE__, __LINE__) macro 240 #define HALF16(x) (SHR16(x,1))
|
D | bands.c | 331 r = SHR16(MIN16(thresh, r),1); in anti_collapse() 442 mid2 = SHR16(mid, 1); in stereo_merge() 936 lowband_out[0] = SHR16(X[0],4); in quant_band_n1()
|
D | celt_encoder.c | 853 trim -= SHR16(surround_trim, DB_SHIFT-8); in alloc_trim_analysis() 854 trim -= 2*SHR16(tf_estimate, 14-8); in alloc_trim_analysis()
|
/external/speex/libspeexdsp/ |
D | math_approx.h | 254 integer = SHR16(x,11); in spx_exp2() 294 return SHR16(spx_atan01(x),1); in spx_atan() 300 return SUB16(25736, SHR16(spx_atan01(x),1)); in spx_atan()
|
D | fixed_generic.h | 45 #define SHR16(a,shift) ((a) >> (shift)) macro 49 #define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>1)),shift))
|
D | fixed_debug.h | 103 #define SHR16(a, shift) _SHR16(a, shift, __FILE__, __LINE__) macro 163 #define PSHR16(a,shift) (SHR16(ADD16((a),((1<<((shift))>>1))),shift))
|
D | arch.h | 157 #define SHR16(a,shift) (a) macro
|