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

1 2

  /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...]
  /external/libopus/celt/mips/
celt_mipsr1.h 69 {QCONST16(0.3066406250f, 15), QCONST16(0.2170410156f, 15), QCONST16(0.1296386719f, 15)},
70 {QCONST16(0.4638671875f, 15), QCONST16(0.2680664062f, 15), QCONST16(0.f, 15)},
71 {QCONST16(0.7998046875f, 15), QCONST16(0.1000976562f, 15), QCONST16(0.f, 15)}};
  /external/libopus/celt/
modes.c 318 mode->preemph[0] = QCONST16(0.3500061035f, 15);
319 mode->preemph[1] = -QCONST16(0.1799926758f, 15);
320 mode->preemph[2] = QCONST16(0.2719968125f, SIG_SHIFT); /* exact 1/preemph[3] */
321 mode->preemph[3] = QCONST16(3.6765136719f, 13);
324 mode->preemph[0] = QCONST16(0.6000061035f, 15);
325 mode->preemph[1] = -QCONST16(0.1799926758f, 15);
326 mode->preemph[2] = QCONST16(0.4424998650f, SIG_SHIFT); /* exact 1/preemph[3] */
327 mode->preemph[3] = QCONST16(2.2598876953f, 13);
330 mode->preemph[0] = QCONST16(0.7799987793f, 15);
331 mode->preemph[1] = -QCONST16(0.1000061035f, 15)
    [all...]
celt_encoder.c 304 tmp[i] = mem0 + MULT16_16_P15(QCONST16(.0625f,15),x2-mem0);
318 tmp[i] = mem0 + MULT16_16_P15(QCONST16(0.125f,15),tmp[i]-mem0);
366 *tf_estimate = celt_sqrt(MAX32(0, SHL32(MULT16_16(QCONST16(0.0069,14),MIN16(163,tf_max)),14)-QCONST32(0.139,28)));
390 spread_old[i] = MAX16(spread_old[i-1]-QCONST16(1.0f, DB_SHIFT), oldE[i]);
394 spread_old[i] = MAX16(spread_old[i-1]-QCONST16(1.0f, DB_SHIFT),
398 spread_old[i] = MAX16(spread_old[i], spread_old[i+1]-QCONST16(1.0f, DB_SHIFT));
411 return mean_diff > QCONST16(1.f, DB_SHIFT);
568 bias = MULT16_16_Q14(QCONST16(.04f,15), MAX16(-QCONST16(.25f,14), QCONST16(.5f,14)-tf_estimate))
    [all...]
celt.c 192 {QCONST16(0.3066406250f, 15), QCONST16(0.2170410156f, 15), QCONST16(0.1296386719f, 15)},
193 {QCONST16(0.4638671875f, 15), QCONST16(0.2680664062f, 15), QCONST16(0.f, 15)},
194 {QCONST16(0.7998046875f, 15), QCONST16(0.1000976562f, 15), QCONST16(0.f, 15)}};
quant_bands.c 192 oldE = MAX16(-QCONST16(9.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]);
197 decay_bound = EXTRACT16(MAX32(-QCONST16(28.f,DB_SHIFT),
203 decay_bound = MAX16(-QCONST16(28.f,DB_SHIFT), oldEBands[i+c*m->nbEBands]) - max_decay;
285 max_decay = QCONST16(16.f,DB_SHIFT);
295 max_decay = QCONST16(3.f,DB_SHIFT);
377 q2 = (error[i+c*m->nbEBands]+QCONST16(.5f,DB_SHIFT))>>(DB_SHIFT-fine_quant[i]);
387 offset = SUB16(SHR32(SHL32(EXTEND32(q2),DB_SHIFT)+QCONST16(.5f,DB_SHIFT),fine_quant[i]),QCONST16(.5f,DB_SHIFT));
416 offset = SHR16(SHL16(q2,DB_SHIFT)-QCONST16(.5f,DB_SHIFT),fine_quant[i]+1);
481 oldEBands[i+c*m->nbEBands] = MAX16(-QCONST16(9.f,DB_SHIFT), oldEBands[i+c*m->nbEBands])
    [all...]
pitch.c 155 opus_val16 c1 = QCONST16(.8f,15);
205 tmp = MULT16_16_Q15(QCONST16(.9f,15), tmp);
209 lpc2[0] = lpc[0] + QCONST16(.8f,SIG_SHIFT);
401 if ((c-a) > MULT16_32_Q15(QCONST16(.7f,15),b-a))
403 else if ((a-c) > MULT16_32_Q15(QCONST16(.7f,15),b-c))
520 thresh = MAX16(QCONST16(.3f,15), MULT16_16_Q15(QCONST16(.7f,15),g0)-cont);
524 thresh = MAX16(QCONST16(.4f,15), MULT16_16_Q15(QCONST16(.85f,15),g0)-cont);
526 thresh = MAX16(QCONST16(.5f,15), MULT16_16_Q15(QCONST16(.9f,15),g0)-cont)
    [all...]
celt_decoder.c 474 decay = loss_count==0 ? QCONST16(1.5f, DB_SHIFT) : QCONST16(.5f, DB_SHIFT);
519 fade = QCONST16(.8f,15);
879 postfilter_gain = QCONST16(.09375f,15)*(qg+1);
999 oldBandE[i] = -QCONST16(28.f,DB_SHIFT);
    [all...]
vq.c 222 X[0] = QCONST16(1.f,14);
226 sum = QCONST16(1.f,14);
402 itheta = MULT16_16_Q15(QCONST16(0.63662f,15),celt_atan2p(side, mid));
bands.c 289 thresh = MULT16_32_Q15(QCONST16(0.5f, 15), MIN32(32767,thresh32));
394 l = MULT16_16(QCONST16(.70710678f, 15), X[j]);
395 r = MULT16_16(QCONST16(.70710678f, 15), Y[j]);
485 if (x2N < QCONST16(0.25f,13))
487 if (x2N < QCONST16(0.0625f,13))
489 if (x2N < QCONST16(0.015625f,13))
615 tmp1 = MULT16_16(QCONST16(.70710678f,15), X[stride*2*j+i]);
616 tmp2 = MULT16_16(QCONST16(.70710678f,15), X[stride*(2*j+1)+i]);
1053 tmp = QCONST16(1.0f/256, 10);
    [all...]
arch.h 184 #define QCONST16(x,bits) (x)
fixed_generic.h 68 #define QCONST16(x,bits) ((opus_val16)(.5+(x)*(((opus_val32)1)<<(bits))))
kiss_fft.c 74 tw = QCONST16(0.7071067812f, 15);
  /external/libopus/src/
opus_multistream_encoder.c 202 QCONST16(0.5000000f, DB_SHIFT), QCONST16(0.2924813f, DB_SHIFT), QCONST16(0.1609640f, DB_SHIFT), QCONST16(0.0849625f, DB_SHIFT),
203 QCONST16(0.0437314f, DB_SHIFT), QCONST16(0.0221971f, DB_SHIFT), QCONST16(0.0111839f, DB_SHIFT), QCONST16(0.0056136f, DB_SHIFT),
204 QCONST16(0.0028123f, DB_SHIFT)
215 if (!(diff < QCONST16(8.f, DB_SHIFT))) /* inverted to catch NaNs *
    [all...]
opus_encoder.c 913 if (MAX32(mem->XX, mem->YY)>QCONST16(8e-4f, 18))
931 mem->max_follower = MAX16(mem->max_follower-QCONST16(.02f,15)/frame_rate, mem->smoothed_width);
    [all...]

Completed in 647 milliseconds

1 2