Home
last modified time | relevance | path

Searched refs:SHL16 (Results 1 – 18 of 18) sorted by relevance

/external/libopus/celt/
Dmathops.h213 return SHL16(i-13,DB_SHIFT)+SHR16(frac,14-DB_SHIFT); in celt_log2()
230 frac = SHL16(x, 4); in celt_exp2_frac()
243 frac = celt_exp2_frac(x-SHL16(integer,10)); in celt_exp2()
Dquant_bands.c246 error[i+c*m->nbEBands] = PSHR32(f,7) - SHL16(qi,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()
554 - SHL16((opus_val16)eMeans[i],6); in amp2Log2()
Dmathops.c109 y = SHL16(SUB16(ADD16(MULT16_16_Q15(r2, n), r2), 16384), 1); in celt_rsqrt_norm()
Dfixed_generic.h86 #define SHL16(a,shift) ((opus_int16)((opus_uint16)(a)<<(shift))) macro
Darch.h225 #define SHL16(a,shift) (a) macro
Dcelt_encoder.c309 tmp[i] = SHL16(tmp[i], shift); in transient_analysis()
992 +QCONST16(.5f,DB_SHIFT)+SHL16(9-lsb_depth,DB_SHIFT)-SHL16(eMeans[i],6) in dynalloc_analysis()
1723 bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT)); in celt_encode_with_ec()
1825 opus_val16 offset = shortBlocks?HALF16(SHL16(LM, DB_SHIFT)):0; in celt_encode_with_ec()
1860 bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT)); in celt_encode_with_ec()
Dfixed_debug.h167 #define SHL16(a, shift) SHL16_(a, shift, __FILE__, __LINE__) macro
Dbands.c289 thresh32 = SHR32(celt_exp2(-SHL16(depth, 10-BITRES)),1); in anti_collapse()
/external/speex/libspeexdsp/
Dmath_approx.h259 frac = SHL16(x-SHL16(integer,11),3); in spx_exp2()
Dfixed_generic.h46 #define SHL16(a,shift) ((a) << (shift)) macro
Darch.h158 #define SHL16(a,shift) (a) macro
Dmdf.c474 st->window[i] = (16383-SHL16(spx_cos(DIV32_16(MULT16_16(25736,i<<1),N)),1)); in speex_echo_state_init_mc()
854 st->wtmp[i]=SHL16(st->wtmp[i],NORMALIZE_SCALEUP); in speex_echo_cancellation()
1101 st->leak_estimate = SHL16(st->leak_estimate,1); in speex_echo_cancellation()
1216 leak2 = SHL16(st->leak_estimate, 1); in speex_echo_get_residual()
Dpreprocess.c487 st->post[i]=SHL16(1, SNR_SHIFT); in speex_preprocess_state_init()
488 st->prior[i]=SHL16(1, SNR_SHIFT); in speex_preprocess_state_init()
643 st->frame[i] = SHL16(st->frame[i], st->frame_shift); in preprocess_analysis()
Dfftwrap.c64 out[i] = SHL16(in[i], shift); in maximize_range()
Dfixed_debug.h117 #define SHL16(a, shift) _SHL16(a, shift, __FILE__, __LINE__) macro
/external/libopus/src/
Dopus_multistream_encoder.c210 frac = SHL16(diff - SHL16(low, DB_SHIFT-1), 16-DB_SHIFT); in logSum()
Dopus_encoder.c1973 g1 = g1==16384 ? Q15ONE : SHL16(g1,1); in opus_encode_native()
1974 g2 = g2==16384 ? Q15ONE : SHL16(g2,1); in opus_encode_native()
/external/libopus/doc/
Dopus_update.patch46 SHL16((opus_val16)eMeans[i],6));