Searched defs:decay (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/opus/src/celt/tests/
H A Dtest_unit_laplace.c45 int ec_laplace_get_start_freq(int decay) argument
48 int fs = (ft*(16384-decay))/(16384+decay);
59 int val[10000], decay[10000]; local
64 val[0] = 3; decay[0] = 6000;
65 val[1] = 0; decay[1] = 5800;
66 val[2] = -1; decay[2] = 5600;
70 decay[i] = rand()%11000+5000;
74 ec_laplace_get_start_freq(decay[i]), decay[
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dlaplace.c43 /* When called, decay is positive and at most 11456. */
44 static unsigned ec_laplace_get_freq1(unsigned fs0, int decay) argument
48 return ft*(opus_int32)(16384-decay)>>15;
51 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay) argument
63 fs = ec_laplace_get_freq1(fs, decay);
69 fs = (fs*(opus_int32)decay)>>15;
94 int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay) argument
105 fs = ec_laplace_get_freq1(fs, decay)+LAPLACE_MINP;
111 fs = ((fs-2*LAPLACE_MINP)*(opus_int32)decay)>>15;
H A Dcelt_decoder.c394 /* Energy decay */
395 opus_val16 decay = loss_count==0 ? local
400 oldBandE[c*nbEBands+i] -= decay;
465 opus_val16 decay; local
539 decay = celt_sqrt(frac_div32(SHR32(E1, 1), E2));
549 "decay". */
555 attenuation = MULT16_16_Q15(fade, decay);
561 attenuation = MULT16_16_Q15(attenuation, decay);
/external/libvorbis/lib/
H A Denvelope.c98 float decay; local
133 decay=filters->nearDC_acc=filters->nearDC_partialacc+temp;
136 decay=filters->nearDC_acc+=temp;
142 decay*=(1./(VE_NEARDC+1));
145 decay=todB(&decay)*.5-15.f;
154 if(val<decay)val=decay;
157 decay-=8.;
H A Dvorbisenc.c72 float decay; member in struct:__anon21466
349 p->tone_decay=att[is].decay*(1.-ds)+att[is+1].decay*ds;
/external/chromium_org/v8/benchmarks/spinning-balls/
H A Dv.js85 Point.prototype.decay = function () {
345 if (point.decay()) {
/external/v8/benchmarks/spinning-balls/
H A Dv.js85 Point.prototype.decay = function () {
345 if (point.decay()) {
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Ddecode_plc.c44 WebRtc_Word16 decay,
76 /* decay the output signal; this is specific to plc */
77 *Out++ = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( (WebRtc_Word16)o, decay, 15); // ((o + (WebRtc_Word32)2048) >> 12);
79 /* change the decay */
80 decay -= reduceDecay;
81 if( decay < 0 )
82 decay = 0;
84 return( decay );
555 /* --- lower the muliplier (more decay at next sample) --- */
658 /* --- lower the muliplier (more decay a
36 plc_filterma_Fast( WebRtc_Word16 *In, WebRtc_Word16 *Out, WebRtc_Word16 *B, WebRtc_Word16 Blen, WebRtc_Word16 len, WebRtc_Word16 reduceDecay, WebRtc_Word16 decay, WebRtc_Word16 rshift ) argument
[all...]
/external/webrtc/src/modules/audio_processing/agc/
H A Ddigital_agc.c319 WebRtc_Word16 decay; local
365 // Determine decay factor depending on VAD
372 // decay = -2^17 / DecayTime; -> -65
373 decay = -65;
376 decay = 0;
379 // decay = (WebRtc_Word16)(((lower_thr - logratio)
383 decay = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 10);
386 // adjust decay factor for long silence (detected as low standard deviation)
392 decay = 0;
395 // decay
[all...]
/external/speex/libspeex/
H A Dmdf.c488 spx_word16_t decay = SHR32(spx_exp(NEG16(DIV32_16(QCONST16(2.4,11),M))),1); local
493 st->prop[i] = MULT16_16_Q15(st->prop[i-1], decay);

Completed in 797 milliseconds