Home
last modified time | relevance | path

Searched refs:SIG_SHIFT (Results 1 – 12 of 12) sorted by relevance

/external/libopus/celt/
Dcelt_lpc.c109 sum[0] = SHL32(EXTEND32(x[i ]), SIG_SHIFT); in celt_fir_c()
110 sum[1] = SHL32(EXTEND32(x[i+1]), SIG_SHIFT); in celt_fir_c()
111 sum[2] = SHL32(EXTEND32(x[i+2]), SIG_SHIFT); in celt_fir_c()
112 sum[3] = SHL32(EXTEND32(x[i+3]), SIG_SHIFT); in celt_fir_c()
114 y[i ] = ROUND16(sum[0], SIG_SHIFT); in celt_fir_c()
115 y[i+1] = ROUND16(sum[1], SIG_SHIFT); in celt_fir_c()
116 y[i+2] = ROUND16(sum[2], SIG_SHIFT); in celt_fir_c()
117 y[i+3] = ROUND16(sum[3], SIG_SHIFT); in celt_fir_c()
121 opus_val32 sum = SHL32(EXTEND32(x[i]), SIG_SHIFT); in celt_fir_c()
124 y[i] = ROUND16(sum, SIG_SHIFT); in celt_fir_c()
[all …]
Dmodes.c320 mode->preemph[2] = QCONST16(0.2719968125f, SIG_SHIFT); /* exact 1/preemph[3] */ in opus_custom_mode_create()
326 mode->preemph[2] = QCONST16(0.4424998650f, SIG_SHIFT); /* exact 1/preemph[3] */ in opus_custom_mode_create()
332 mode->preemph[2] = QCONST16(0.7499771125f, SIG_SHIFT); /* exact 1/preemph[3] */ in opus_custom_mode_create()
338 mode->preemph[2] = QCONST16(1.f, SIG_SHIFT); in opus_custom_mode_create()
Dpitch.c124 opus_val32 sum = SHL32(EXTEND32(x[i]), SIG_SHIFT); in celt_fir5()
135 x[i] = ROUND16(sum, SIG_SHIFT); in celt_fir5()
202 lpc2[0] = lpc[0] + QCONST16(.8f,SIG_SHIFT); in pitch_downsample()
Dcelt_decoder.c627 exc[i-LPC_ORDER] = ROUND16(buf[DECODE_BUFFER_SIZE-MAX_PERIOD-LPC_ORDER+i], SIG_SHIFT); in celt_decode_lost()
659 opus_val32 sum=QCONST16(1., SIG_SHIFT); in celt_decode_lost()
726 exc[extrapolation_offset+j])), SIG_SHIFT); in celt_decode_lost()
731 SIG_SHIFT); in celt_decode_lost()
739 lpc_mem[i] = ROUND16(buf[DECODE_BUFFER_SIZE-N-1-i], SIG_SHIFT); in celt_decode_lost()
758 opus_val16 tmp = ROUND16(buf[DECODE_BUFFER_SIZE-N+i], SIG_SHIFT); in celt_decode_lost()
Dfixed_generic.h171 x = PSHR32(x, SIG_SHIFT); in SIG2WORD16_generic()
Darch.h131 #define SIG_SHIFT 12 macro
Dcelt_encoder.c285 x = SHR32(in[i+c*len],SIG_SHIFT); in transient_analysis()
515 inp[i] = SHL32(x, SIG_SHIFT) - m; in celt_preemphasis()
516 m = SHR32(MULT16_16(coef0, x), 15-SIG_SHIFT); in celt_preemphasis()
562 inp[i] = SHL32(x, SIG_SHIFT) - m; in celt_preemphasis()
563 m = SHR32(MULT16_16(coef0, x), 15-SIG_SHIFT); in celt_preemphasis()
Dfixed_debug.h780 x = PSHR32(x, SIG_SHIFT); in SIG2WORD16_generic()
/external/libopus/celt/x86/
Dcelt_lpc_sse4_1.c60 noA = EXTEND32(1) << SIG_SHIFT >> 1; in celt_fir_sse4_1()
72 vecSum = _mm_srai_epi32(vecSum, SIG_SHIFT); in celt_fir_sse4_1()
83 y[i] = SATURATE16(ADD32(EXTEND32(x[i]), PSHR32(sum, SIG_SHIFT))); in celt_fir_sse4_1()
/external/libopus/celt/arm/
Dfixed_arm64.h33 #define SIG2WORD16(x) (vqmovns_s32(PSHR32((x), SIG_SHIFT)))
/external/speex/libspeexdsp/
Darch.h101 #define SIG_SHIFT 14 macro
/external/libopus/src/
Danalysis.c156 hp_ener = hp_ener >> (2*SIG_SHIFT + 8); in silk_resampler_down2_hp()
182 scale = (1<<SIG_SHIFT); in downmix_and_resample()
417 #define SCALE_COMPENS (1.f/((opus_int32)1<<(15+SIG_SHIFT)))