/external/chromium_org/third_party/opus/src/src/ |
H A D | mlp.c | 49 if (_x>=QCONST32(8,19)) 50 return QCONST32(1.,14); 51 if (_x<=-QCONST32(8,19)) 52 return -QCONST32(1.,14);
|
H A D | opus_multistream_encoder.c | 305 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); 337 printf("%f ", sum/(float)QCONST32(21.f, DB_SHIFT));
|
H A D | opus_encoder.c | 911 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff);
|
/external/libopus/src/ |
H A D | mlp.c | 49 if (_x>=QCONST32(8,19)) 50 return QCONST32(1.,14); 51 if (_x<=-QCONST32(8,19)) 52 return -QCONST32(1.,14);
|
H A D | opus_multistream_encoder.c | 305 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); 337 printf("%f ", sum/(float)QCONST32(21.f, DB_SHIFT));
|
H A D | opus_encoder.c | 911 width = MULT16_16_Q15(celt_sqrt(QCONST32(1.f,30)-MULT16_16(corr,corr)), ldiff);
|
/external/speex/libspeex/ |
H A D | stereo.c | 234 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 D | preprocess.c | 102 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 D | arch.h | 159 #define QCONST32(x,bits) (x) macro
|
H A D | fixed_generic.h | 39 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
|
H A D | fixed_debug.h | 44 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) macro
|
H A D | nb_celp.c | 407 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/chromium_org/third_party/opus/src/celt/ |
H A D | quant_bands.c | 196 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 D | arch.h | 150 #define QCONST32(x,bits) (x) macro
|
H A D | fixed_generic.h | 55 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
|
H A D | celt_encoder.c | 369 *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 D | fixed_debug.h | 53 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
|
H A D | bands.c | 410 if (Er < QCONST32(6e-4f, 28) || El < QCONST32(6e-4f, 28))
|
/external/libopus/celt/ |
H A D | quant_bands.c | 196 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 D | arch.h | 150 #define QCONST32(x,bits) (x) macro
|
H A D | fixed_generic.h | 55 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
|
H A D | celt_encoder.c | 369 *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 D | fixed_debug.h | 53 #define QCONST32(x,bits) ((opus_val32)(.5+(x)*(((opus_val32)1)<<(bits)))) macro
|
H A D | bands.c | 410 if (Er < QCONST32(6e-4f, 28) || El < QCONST32(6e-4f, 28))
|