Home
last modified time | relevance | path

Searched refs:decay (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/opus/src/celt/tests/
Dtest_unit_laplace.c45 int ec_laplace_get_start_freq(int decay) in ec_laplace_get_start_freq() argument
48 int fs = (ft*(16384-decay))/(16384+decay); in ec_laplace_get_start_freq()
59 int val[10000], decay[10000]; in main() local
64 val[0] = 3; decay[0] = 6000; in main()
65 val[1] = 0; decay[1] = 5800; in main()
66 val[2] = -1; decay[2] = 5600; in main()
70 decay[i] = rand()%11000+5000; in main()
74 ec_laplace_get_start_freq(decay[i]), decay[i]); in main()
83 ec_laplace_get_start_freq(decay[i]), decay[i]); in main()
/external/libopus/celt/tests/
Dtest_unit_laplace.c45 int ec_laplace_get_start_freq(int decay) in ec_laplace_get_start_freq() argument
48 int fs = (ft*(16384-decay))/(16384+decay); in ec_laplace_get_start_freq()
59 int val[10000], decay[10000]; in main() local
64 val[0] = 3; decay[0] = 6000; in main()
65 val[1] = 0; decay[1] = 5800; in main()
66 val[2] = -1; decay[2] = 5600; in main()
70 decay[i] = rand()%11000+5000; in main()
74 ec_laplace_get_start_freq(decay[i]), decay[i]); in main()
83 ec_laplace_get_start_freq(decay[i]), decay[i]); in main()
/external/libopus/celt/
Dlaplace.c44 static unsigned ec_laplace_get_freq1(unsigned fs0, int decay) in ec_laplace_get_freq1() argument
48 return ft*(opus_int32)(16384-decay)>>15; in ec_laplace_get_freq1()
51 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay) in ec_laplace_encode() argument
63 fs = ec_laplace_get_freq1(fs, decay); in ec_laplace_encode()
69 fs = (fs*(opus_int32)decay)>>15; in ec_laplace_encode()
94 int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay) in ec_laplace_decode() argument
105 fs = ec_laplace_get_freq1(fs, decay)+LAPLACE_MINP; in ec_laplace_decode()
111 fs = ((fs-2*LAPLACE_MINP)*(opus_int32)decay)>>15; in ec_laplace_decode()
Dlaplace.h39 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay);
48 int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay);
Dcelt_decoder.c395 opus_val16 decay = loss_count==0 ? in celt_decode_lost() local
400 oldBandE[c*nbEBands+i] -= decay; in celt_decode_lost()
466 opus_val16 decay; in celt_decode_lost() local
541 decay = celt_sqrt(frac_div32(SHR32(E1, 1), E2)); in celt_decode_lost()
557 attenuation = MULT16_16_Q15(fade, decay); in celt_decode_lost()
563 attenuation = MULT16_16_Q15(attenuation, decay); in celt_decode_lost()
/external/chromium_org/third_party/opus/src/celt/
Dlaplace.c44 static unsigned ec_laplace_get_freq1(unsigned fs0, int decay) in ec_laplace_get_freq1() argument
48 return ft*(opus_int32)(16384-decay)>>15; in ec_laplace_get_freq1()
51 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay) in ec_laplace_encode() argument
63 fs = ec_laplace_get_freq1(fs, decay); in ec_laplace_encode()
69 fs = (fs*(opus_int32)decay)>>15; in ec_laplace_encode()
94 int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay) in ec_laplace_decode() argument
105 fs = ec_laplace_get_freq1(fs, decay)+LAPLACE_MINP; in ec_laplace_decode()
111 fs = ((fs-2*LAPLACE_MINP)*(opus_int32)decay)>>15; in ec_laplace_decode()
Dlaplace.h39 void ec_laplace_encode(ec_enc *enc, int *value, unsigned fs, int decay);
48 int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay);
Dcelt_decoder.c395 opus_val16 decay = loss_count==0 ? in celt_decode_lost() local
400 oldBandE[c*nbEBands+i] -= decay; in celt_decode_lost()
466 opus_val16 decay; in celt_decode_lost() local
541 decay = celt_sqrt(frac_div32(SHR32(E1, 1), E2)); in celt_decode_lost()
557 attenuation = MULT16_16_Q15(fade, decay); in celt_decode_lost()
563 attenuation = MULT16_16_Q15(attenuation, decay); in celt_decode_lost()
/external/libvorbis/lib/
Denvelope.c98 float decay; in _ve_amp() local
133 decay=filters->nearDC_acc=filters->nearDC_partialacc+temp; in _ve_amp()
136 decay=filters->nearDC_acc+=temp; in _ve_amp()
142 decay*=(1./(VE_NEARDC+1)); in _ve_amp()
145 decay=todB(&decay)*.5-15.f; in _ve_amp()
154 if(val<decay)val=decay; in _ve_amp()
157 decay-=8.; in _ve_amp()
/external/clang/test/PCH/
Dcxx-templates.h316 template<typename> struct decay {};
319 template<typename BarParamTy> auto bar(BarParamTy barParam) -> decay<decltype(barParam)>;
330 template<typename> struct decay {};
335 …template<typename... BarParamTy> auto bar(BarParamTy... barParam) -> decay<decltype(returnsInt(bar…
346 template<typename> struct decay {};
351 template<typename BarParamTy> auto bar(BarParamTy barParam) -> decay<decltype(barParam)>;
/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c319 WebRtc_Word16 decay; in WebRtcAgc_ProcessDigital() local
373 decay = -65; in WebRtcAgc_ProcessDigital()
376 decay = 0; in WebRtcAgc_ProcessDigital()
383 decay = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 10); in WebRtcAgc_ProcessDigital()
392 decay = 0; in WebRtcAgc_ProcessDigital()
396 tmp32 = WEBRTC_SPL_MUL_16_16((stt->vadNearend.stdLongTerm - 4000), decay); in WebRtcAgc_ProcessDigital()
397 decay = (WebRtc_Word16)WEBRTC_SPL_RSHIFT_W32(tmp32, 12); in WebRtcAgc_ProcessDigital()
402 decay = 0; in WebRtcAgc_ProcessDigital()
407 …fprintf(stt->logFile, "%5.2f\t%d\t%d\t%d\t", (float)(stt->frameCounter) / 100, logratio, decay, st… in WebRtcAgc_ProcessDigital()
447 = AGC_SCALEDIFF32(decay, stt->capacitorSlow, stt->capacitorSlow); in WebRtcAgc_ProcessDigital()
/external/chromium_org/third_party/webrtc/modules/audio_processing/agc/
Ddigital_agc.c314 int16_t decay; in WebRtcAgc_ProcessDigital() local
368 decay = -65; in WebRtcAgc_ProcessDigital()
371 decay = 0; in WebRtcAgc_ProcessDigital()
378 decay = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32, 10); in WebRtcAgc_ProcessDigital()
387 decay = 0; in WebRtcAgc_ProcessDigital()
391 tmp32 = WEBRTC_SPL_MUL_16_16((stt->vadNearend.stdLongTerm - 4000), decay); in WebRtcAgc_ProcessDigital()
392 decay = (int16_t)WEBRTC_SPL_RSHIFT_W32(tmp32, 12); in WebRtcAgc_ProcessDigital()
397 decay = 0; in WebRtcAgc_ProcessDigital()
402 …fprintf(stt->logFile, "%5.2f\t%d\t%d\t%d\t", (float)(stt->frameCounter) / 100, logratio, decay, st… in WebRtcAgc_ProcessDigital()
442 = AGC_SCALEDIFF32(decay, stt->capacitorSlow, stt->capacitorSlow); in WebRtcAgc_ProcessDigital()
/external/llvm/test/Transforms/IndVarSimplify/
D2006-12-10-BitCast.ll19 …%decay.i.0 = phi i32 [ %tmp195.i.upgrd.1, %cond_next182.i ], [ %tmp152.i, %cond_true52 ] ; <i32> …
20 %tmp194.i53 = bitcast i32 %decay.i.0 to float ; <float> [#uses=1]
/external/libcxx/test/utilities/meta/meta.trans/meta.trans.other/
DAndroid.mk23 test_name := utilities/meta/meta.trans/meta.trans.other/decay
24 test_src := decay.pass.cpp
Ddecay.pass.cpp19 static_assert((std::is_same<typename std::decay<T>::type, U>::value), ""); in test_decay()
/external/clang/www/
Dlibstdc++4.6-clang11.patch8 + { typedef typename decay<decltype(true ? declval<_Tp>() : declval<_Up>())>::type type; };
Dlibstdc++4.7-clang11.patch10 + { typedef typename decay<decltype(true ? declval<_Tp>() : declval<_Up>())>::type type; };
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Ddecode_plc.c44 WebRtc_Word16 decay, in plc_filterma_Fast() argument
77 …*Out++ = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT( (WebRtc_Word16)o, decay, 15); // ((o + (WebRtc_… in plc_filterma_Fast()
80 decay -= reduceDecay; in plc_filterma_Fast()
81 if( decay < 0 ) in plc_filterma_Fast()
82 decay = 0; in plc_filterma_Fast()
84 return( decay ); in plc_filterma_Fast()
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/
Ddecode_plc.c44 int16_t decay, in plc_filterma_Fast() argument
77 …*Out++ = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT( (int16_t)o, decay, 15); // ((o + (int32_t)2048) >> 12… in plc_filterma_Fast()
80 decay -= reduceDecay; in plc_filterma_Fast()
81 if( decay < 0 ) in plc_filterma_Fast()
82 decay = 0; in plc_filterma_Fast()
84 return( decay ); in plc_filterma_Fast()
/external/kernel-headers/original/uapi/sound/
Dasound_fm.h54 unsigned char decay; /* 4 bits: decay rate */ member
/external/oprofile/libregex/
Dstl.pat.in64 # map<int, int>::iterator as they decay to an identical typedef so we don't try
121 # vector<T> we decay them to string::iterator, vector<T>::iterator
145 # streampos and wstreampos decay to the same type, they are undistingushable
/external/libcxx/include/
Dthread275 !is_same<typename decay<_Fp>::type, thread>::value
351 typedef tuple<typename decay<_Fp>::type, typename decay<_Args>::type...> _Gp;
Dfuture312 future<typename result_of<typename decay<F>::type(typename decay<Args>::type...)>::type>
316 future<typename result_of<typename decay<F>::type(typename decay<Args>::type...)>::type>
2020 typename decay<_Fp>::type,
2031 typename decay<_Fp>::type,
2151 typename decay<_Fp>::type,
2162 typename decay<_Fp>::type,
2338 future<typename __invoke_of<typename decay<_Fp>::type, typename decay<_Args>::type...>::type>
2341 typedef __async_func<typename decay<_Fp>::type, typename decay<_Args>::type...> _BF;
2364 future<typename __invoke_of<typename decay<_Fp>::type, typename decay<_Args>::type...>::type>
/external/chromium_org/v8/benchmarks/spinning-balls/
Dv.js85 Point.prototype.decay = function () { method in Point
345 if (point.decay()) {
/external/libcxx/include/experimental/
Doptional106 template <class T> constexpr optional<typename decay<T>::type> make_optional(T&&);
672 optional<typename decay<_Tp>::type>
675 return optional<typename decay<_Tp>::type>(_VSTD::forward<_Tp>(__v));

12