Searched refs:QCONST32 (Results 1 – 13 of 13) sorted by relevance
/external/speex/libspeexdsp/ |
D | preprocess.c | 98 if (b>=QCONST32(1,23)) in DIV32_16_Q8() 103 if (b>=QCONST32(1,19)) in DIV32_16_Q8() 108 if (b>=QCONST32(1,15)) in DIV32_16_Q8() 124 if (b>=QCONST32(1,23)) in DIV32_16_Q15() 129 if (b>=QCONST32(1,19)) in DIV32_16_Q15() 134 if (b>=QCONST32(1,15)) in DIV32_16_Q15() 305 …return ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIF… in hypergeom_gain() 483 st->noise[i]=QCONST32(1.f,NOISE_SHIFT); in speex_preprocess_state_init() 847 …theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHI… in speex_preprocess_run() 888 …theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHI… in speex_preprocess_run()
|
D | fixed_generic.h | 39 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
|
D | arch.h | 151 #define QCONST32(x,bits) (x) macro
|
D | fixed_debug.h | 44 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
|
/external/libopus/celt/ |
D | quant_bands.c | 196 qi = (f+QCONST32(.5f,DB_SHIFT+7))>>(DB_SHIFT+7); in quant_coarse_energy_impl() 252 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp); in quant_coarse_energy_impl() 485 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp); in unquant_coarse_energy()
|
D | fixed_generic.h | 71 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
|
D | arch.h | 217 #define QCONST32(x,bits) (x) macro
|
D | celt_encoder.c | 400 …celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONST32(0.139,28))); in transient_analysis() 830 logXC = celt_log2(QCONST32(1.001f, 20)-MULT16_16(sum, sum)); in alloc_trim_analysis() 832 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC))); in alloc_trim_analysis() 1776 diff = MAX32(MIN32(diff, QCONST32(.031f, DB_SHIFT)), -QCONST32(.031f, DB_SHIFT)); in celt_encode_with_ec()
|
D | fixed_debug.h | 53 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
|
D | bands.c | 445 if (Er < QCONST32(6e-4f, 28) || El < QCONST32(6e-4f, 28)) in stereo_merge()
|
/external/libopus/src/ |
D | opus_multistream_encoder.c | 337 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); in surround_analysis() 369 printf("%f ", sum/(float)QCONST32(21.f, DB_SHIFT)); in surround_analysis()
|
D | opus_encoder.c | 708 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff); in compute_stereo_width()
|
/external/libopus/doc/ |
D | opus_update.patch | 47 + lg = MIN32(QCONST32(32.f, 16), lg);
|