HomeSort by relevance Sort by last modified time
    Searched refs:QCONST16 (Results 1 - 12 of 12) sorted by null

  /external/speex/libspeex/
modes.c 188 QCONST16(.5,15),
209 QCONST16(.6,15),
230 QCONST16(.55,15),
251 QCONST16(.45,15),
272 QCONST16(.3,15),
293 QCONST16(.2,15),
314 QCONST16(.1,15),
331 QCONST16(.0002,15), /*lpc_floor*/
modes_wb.c 190 QCONST16(.0002,15), /*lpc_floor*/
191 QCONST16(0.9f,15),
236 QCONST16(.0002,15), /*lpc_floor*/
237 QCONST16(0.7f,15),
preprocess.c 81 #define SPEECH_PROB_START_DEFAULT QCONST16(0.35f,15)
82 #define SPEECH_PROB_CONTINUE_DEFAULT QCONST16(0.20f,15)
264 spx_word16_t x = DIV32_16(MULT16_16(QCONST16(4.f,13),i),len);
267 if (x<QCONST16(1.f,13))
269 } else if (x<QCONST16(2.f,13))
271 x=QCONST16(2.f,13)-x;
273 } else if (x<QCONST16(3.f,13))
275 x=x-QCONST16(2.f,13);
278 x=QCONST16(2.f,13)-x+QCONST16(2.f,13); /* 4 - x *
    [all...]
stereo.c 240 stereo->smooth_left = EXTRACT16(PSHR32(MAC16_16(MULT16_16(stereo->smooth_left, QCONST16(0.98, 15)), e_left, QCONST16(0.02, 15)), 15));
241 stereo->smooth_right = EXTRACT16(PSHR32(MAC16_16(MULT16_16(stereo->smooth_right, QCONST16(0.98, 15)), e_right, QCONST16(0.02, 15)), 15));
267 stereo->smooth_left = EXTRACT16(PSHR32(MAC16_16(MULT16_16(stereo->smooth_left, QCONST16(0.98, 15)), e_left, QCONST16(0.02, 15)), 15));
268 stereo->smooth_right = EXTRACT16(PSHR32(MAC16_16(MULT16_16(stereo->smooth_right, QCONST16(0.98, 15)), e_right, QCONST16(0.02, 15)), 15));
mdf.c 198 den2 = MULT16_16_Q15(radius,radius) + MULT16_16_Q15(QCONST16(.7,15),MULT16_16_Q15(32767-radius,32767-radius));
374 prop[i] += MULT16_16_Q15(QCONST16(.1f,15),max_sum);
379 prop[i] = DIV32(MULT16_16(QCONST16(.99f,15), prop[i]),prop_sum);
488 spx_word16_t decay = SHR32(spx_exp(NEG16(DIV32_16(QCONST16(2.4,11),M))),1);
489 st->prop[0] = QCONST16(.7, 15);
498 st->prop[i] = DIV32(MULT16_16(QCONST16(.8f,15), st->prop[i]),sum);
505 st->preemph = QCONST16(.9,15);
507 st->notch_radius = QCONST16(.9, 15);
509 st->notch_radius = QCONST16(.982, 15);
511 st->notch_radius = QCONST16(.992, 15)
    [all...]
nb_celp.c 175 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1);
406 ol_gain = MULT16_16(g, MULT16_16_Q14(QCONST16(1.1,14),
407 spx_sqrt(QCONST32(1.,28)-MULT16_32_Q15(QCONST16(.8,15),SHL32(MULT16_16(ol_pitch_coef,ol_pitch_coef),16)))));
593 ol_pitch_coef = MULT16_16_Q15(QCONST16(.9,15), ol_pitch_coef);
604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT));
862 target[i]=MULT16_16_P13(QCONST16(2.2f,13), target[i]);
866 signal_mul(innov2, innov2, MULT16_32_Q15(QCONST16(0.454545f,15),ener), st->subframeSize);
    [all...]
filters.c 752 pgain1 = QCONST16(1., 14);
756 pgain2 = QCONST16(1., 14);
764 c1 = (MULT16_16_Q15(QCONST16(.4,15),comb_gain)+QCONST16(.07,15));
765 c2 = QCONST16(.5,15)+MULT16_16_Q14(QCONST16(1.72,14),(c1-QCONST16(.07,15)));
789 gain0 = MULT16_16_Q15(QCONST16(.7,15),MULT16_16_Q14(g1,gg1));
790 gain1 = MULT16_16_Q15(QCONST16(.3,15),MULT16_16_Q14(g2,gg2));
792 gain0 = MULT16_16_Q15(QCONST16(.6,15),MULT16_16_Q14(g1,gg1))
    [all...]
sb_celp.c 254 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1);
651 gc = MULT16_16_P15(QCONST16(0.70711f,15),gc);
656 gc = MULT16_16_Q15(QCONST16(0.87360,15),gc_quant_bound[qgc]);
659 gc = MULT16_16_P14(QCONST16(1.4142f,14), gc);
707 target[i]=MULT16_16_P13(QCONST16(2.5f,13), target[i]);
712 signal_mul(innov2, innov2, MULT16_32_P15(QCONST16(0.4f,15),scale), st->subframeSize);
723 st->innov_rms_save[sub] = MULT16_16_Q15(QCONST16(.70711f, 15), compute_rms(innov, st->subframeSize));
845 bw_lpc(QCONST16(0.99f,15), st->interp_qlpc, st->interp_qlpc, st->lpcSize);
854 st->last_ener = MULT16_16_Q15(QCONST16(.9f,15),st->last_ener);
1032 g= spx_exp(MULT16_16(QCONST16(.125f,11),(quant-10)))
    [all...]
arch.h 158 #define QCONST16(x,bits) (x)
fixed_generic.h 38 #define QCONST16(x,bits) ((spx_word16_t)(.5+(x)*(((spx_word32_t)1)<<(bits))))
resample.c 310 interp[0] = PSHR32(MULT16_16(QCONST16(-0.16667f, 15),x) + MULT16_16(QCONST16(0.16667f, 15),x3),15);
312 interp[3] = PSHR32(MULT16_16(QCONST16(-0.33333f, 15),x) + MULT16_16(QCONST16(.5f,15),x2) - MULT16_16(QCONST16(0.16667f, 15),x3),15);
    [all...]
fixed_debug.h 43 #define QCONST16(x,bits) ((spx_word16_t)(.5+(x)*(((spx_word32_t)1)<<(bits))))

Completed in 994 milliseconds