/external/chromium_org/third_party/opus/src/celt/tests/ |
H A D | test_unit_laplace.c | 45 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/libopus/celt/tests/ |
H A D | test_unit_laplace.c | 45 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 D | laplace.c | 43 /* 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 D | celt_decoder.c | 394 /* Energy decay */ 395 opus_val16 decay = loss_count==0 ? local 400 oldBandE[c*nbEBands+i] -= decay; 466 opus_val16 decay; local 541 decay = celt_sqrt(frac_div32(SHR32(E1, 1), E2)); 551 "decay". */ 557 attenuation = MULT16_16_Q15(fade, decay); 563 attenuation = MULT16_16_Q15(attenuation, decay);
|
/external/libopus/celt/ |
H A D | laplace.c | 43 /* 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 D | celt_decoder.c | 394 /* Energy decay */ 395 opus_val16 decay = loss_count==0 ? local 400 oldBandE[c*nbEBands+i] -= decay; 466 opus_val16 decay; local 541 decay = celt_sqrt(frac_div32(SHR32(E1, 1), E2)); 551 "decay". */ 557 attenuation = MULT16_16_Q15(fade, decay); 563 attenuation = MULT16_16_Q15(attenuation, decay);
|
/external/kernel-headers/original/uapi/sound/ |
H A D | asound_fm.h | 54 unsigned char decay; /* 4 bits: decay rate */ member in struct:snd_dm_fm_voice
|
/external/libvorbis/lib/ |
H A D | envelope.c | 98 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 D | vorbisenc.c | 72 float decay; member in struct:__anon24758 349 p->tone_decay=att[is].decay*(1.-ds)+att[is+1].decay*ds;
|
/external/chromium_org/v8/benchmarks/spinning-balls/ |
H A D | v.js | 85 Point.prototype.decay = function () { 345 if (point.decay()) {
|
/external/clang/test/PCH/ |
H A D | cxx-templates.h | 316 template<typename> struct decay {}; struct in namespace:rdar15468709a 319 template<typename BarParamTy> auto bar(BarParamTy barParam) -> decay<decltype(barParam)>; member in namespace:rdar15468709a 330 template<typename> struct decay {}; struct in namespace:rdar15468709b 335 template<typename... BarParamTy> auto bar(BarParamTy... barParam) -> decay<decltype(returnsInt(barParam...))>; member in namespace:rdar15468709b 346 template<typename> struct decay {}; struct in namespace:rdar15468709c 351 template<typename BarParamTy> auto bar(BarParamTy barParam) -> decay<decltype(barParam)>; member in namespace:rdar15468709c
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
H A D | decode_plc.c | 44 int16_t decay, 76 /* decay the output signal; this is specific to plc */ 77 *Out++ = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT( (int16_t)o, decay, 15); // ((o + (int32_t)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( int16_t *In, int16_t *Out, int16_t *B, int16_t Blen, int16_t len, int16_t reduceDecay, int16_t decay, int16_t rshift ) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/agc/ |
H A D | digital_agc.c | 314 int16_t decay; local 360 // Determine decay factor depending on VAD 367 // decay = -2^17 / DecayTime; -> -65 368 decay = -65; 371 decay = 0; 374 // decay = (int16_t)(((lower_thr - logratio) 378 decay = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32, 10); 381 // adjust decay factor for long silence (detected as low standard deviation) 387 decay = 0; 390 // decay [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | decode_plc.c | 44 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 D | digital_agc.c | 319 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 D | mdf.c | 488 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);
|