Searched refs:QCONST32 (Results 1 - 15 of 15) sorted by relevance

/external/libopus/src/
H A Dmlp.c49 if (_x>=QCONST32(8,19))
50 return QCONST32(1.,14);
51 if (_x<=-QCONST32(8,19))
52 return -QCONST32(1.,14);
H A Dopus_multistream_encoder.c305 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1)));
337 printf("%f ", sum/(float)QCONST32(21.f, DB_SHIFT));
H A Dopus_encoder.c911 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff);
/external/speex/libspeex/
H A Dstereo.c234 e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance))));
261 e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance))));
H A Dpreprocess.c102 if (b>=QCONST32(1,23))
107 if (b>=QCONST32(1,19))
112 if (b>=QCONST32(1,15))
128 if (b>=QCONST32(1,23))
133 if (b>=QCONST32(1,19))
138 if (b>=QCONST32(1,15))
309 return ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIFT))));
487 st->noise[i]=QCONST32(1.f,NOISE_SHIFT);
851 theta = MULT16_32_P15(prior_ratio, QCONST32(1.f,EXPIN_SHIFT)+SHL32(EXTEND32(st->post[i]),EXPIN_SHIFT-SNR_SHIFT));
892 theta = MULT16_32_P15(prior_ratio, QCONST32(
[all...]
H A Darch.h159 #define QCONST32(x,bits) (x) macro
H A Dfixed_generic.h39 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
H A Dfixed_debug.h44 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
H A Dnb_celp.c407 spx_sqrt(QCONST32(1.,28)-MULT16_32_Q15(QCONST16(.8,15),SHL32(MULT16_16(ol_pitch_coef,ol_pitch_coef),16)))));
1362 sanitize_values32(exc32, NEG32(QCONST32(32000,SIG_SHIFT-1)), QCONST32(32000,SIG_SHIFT-1), st->subframeSize);
/external/libopus/celt/
H A Dquant_bands.c196 qi = (f+QCONST32(.5f,DB_SHIFT+7))>>(DB_SHIFT+7);
252 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp);
484 tmp = MAX32(-QCONST32(28.f, DB_SHIFT+7), tmp);
H A Darch.h150 #define QCONST32(x,bits) (x) macro
H A Dfixed_generic.h55 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
H A Dcelt_encoder.c369 *tf_estimate = celt_sqrt(MAX16(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONST32(0.139,28)));
800 logXC = celt_log2(QCONST32(1.001f, 20)-MULT16_16(sum, sum));
802 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC)));
1592 diff = MAX32(MIN32(diff, QCONST32(.031f, DB_SHIFT)), -QCONST32(.031f, DB_SHIFT));
H A Dfixed_debug.h53 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
H A Dbands.c410 if (Er < QCONST32(6e-4f, 28) || El < QCONST32(6e-4f, 28))

Completed in 3810 milliseconds