Home
last modified time | relevance | path

Searched refs:sampling_rate (Results 1 – 11 of 11) sorted by relevance

/external/valgrind/tsan/
Dts_trace_info.h148 INLINE void LiteRaceUpdate(uintptr_t tid_modulo_num, uint32_t sampling_rate) { in LiteRaceUpdate() argument
149 DCHECK(sampling_rate < 32); in LiteRaceUpdate()
150 DCHECK(sampling_rate > 0); in LiteRaceUpdate()
155 int32_t next_num_to_skip = (cur_counter >> (32 - sampling_rate)) + 1; in LiteRaceUpdate()
163 uint32_t sampling_rate) { in LLVMLiteRaceUpdate() argument
164 LiteRaceUpdate(tid_modulo_num, sampling_rate); in LLVMLiteRaceUpdate()
169 uint32_t sampling_rate) { in LiteRaceSkipTrace() argument
171 LiteRaceUpdate(tid_modulo_num, sampling_rate); in LiteRaceSkipTrace()
175 INLINE bool LiteRaceSkipTraceRealTid(uint32_t tid, uint32_t sampling_rate) { in LiteRaceSkipTraceRealTid() argument
176 return LiteRaceSkipTrace(tid % kLiteRaceNumTids, sampling_rate); in LiteRaceSkipTraceRealTid()
Dts_util.h385 bool LiteRaceSkipTrace(int tid, uint32_t trace_no, uint32_t sampling_rate);
/external/speex/libspeex/
Dsb_celp.h93 spx_int32_t sampling_rate; member
108 spx_int32_t sampling_rate; member
Dmdf.c142 spx_int32_t sampling_rate; member
433 st->sampling_rate = 8000; in speex_echo_state_init_mc()
434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); in speex_echo_state_init_mc()
436 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); in speex_echo_state_init_mc()
437 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); in speex_echo_state_init_mc()
439 st->beta0 = (2.0f*st->frame_size)/st->sampling_rate; in speex_echo_state_init_mc()
440 st->beta_max = (.5f*st->frame_size)/st->sampling_rate; in speex_echo_state_init_mc()
506 if (st->sampling_rate<12000) in speex_echo_state_init_mc()
508 else if (st->sampling_rate<24000) in speex_echo_state_init_mc()
1238 st->sampling_rate = (*(int*)ptr); in speex_echo_ctl()
[all …]
Dnb_celp.h112 spx_int32_t sampling_rate; member
133 spx_int32_t sampling_rate; member
Dpreprocess.c185 int sampling_rate; /**< Sampling rate of the input/output */ member
395 EXPORT SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate) in speex_preprocess_state_init() argument
429 st->sampling_rate = sampling_rate; in speex_preprocess_state_init()
446 st->bank = filterbank_new(M, sampling_rate, N, 1); in speex_preprocess_state_init()
508 float ff=((float)i)*.5*sampling_rate/((float)N); in speex_preprocess_state_init()
519 st->max_increase_step = exp(0.11513f * 12.*st->frame_size / st->sampling_rate); in speex_preprocess_state_init()
520 st->max_decrease_step = exp(-0.11513f * 40.*st->frame_size / st->sampling_rate); in speex_preprocess_state_init()
1081 … st->max_increase_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate); in speex_preprocess_ctl()
1084 …(*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_increase_step)*st->sampling_rate/st->frame_size… in speex_preprocess_ctl()
1087 … st->max_decrease_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate); in speex_preprocess_ctl()
[all …]
Dsb_celp.c267 speex_encoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate); in sb_encoder_init()
268 st->sampling_rate*=2; in sb_encoder_init()
474 …if (st->relative_quality >= thresh && st->sampling_rate*st->submodes[modeid]->bits_per_frame/st->f… in sb_encode()
780 speex_decoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate); in sb_decoder_init()
781 st->sampling_rate*=2; in sb_decoder_init()
1237 (*(spx_int32_t*)ptr) += st->sampling_rate*SUBMODE(bits_per_frame)/st->full_frame_size; in sb_encoder_ctl()
1239 (*(spx_int32_t*)ptr) += st->sampling_rate*(SB_SUBMODE_BITS+1)/st->full_frame_size; in sb_encoder_ctl()
1245 st->sampling_rate = tmp; in sb_encoder_ctl()
1251 (*(spx_int32_t*)ptr)=st->sampling_rate; in sb_encoder_ctl()
1402 (*(spx_int32_t*)ptr) += st->sampling_rate*SUBMODE(bits_per_frame)/st->full_frame_size; in sb_decoder_ctl()
[all …]
Dnb_celp.c204 st->sampling_rate=8000; in nb_encoder_init()
973 st->sampling_rate=8000; in nb_decoder_init()
1686 (*(spx_int32_t*)ptr) = st->sampling_rate*SUBMODE(bits_per_frame)/st->frameSize; in nb_encoder_ctl()
1688 (*(spx_int32_t*)ptr) = st->sampling_rate*(NB_SUBMODE_BITS+1)/st->frameSize; in nb_encoder_ctl()
1691 st->sampling_rate = (*(spx_int32_t*)ptr); in nb_encoder_ctl()
1694 (*(spx_int32_t*)ptr)=st->sampling_rate; in nb_encoder_ctl()
1805 (*(spx_int32_t*)ptr) = st->sampling_rate*SUBMODE(bits_per_frame)/st->frameSize; in nb_decoder_ctl()
1807 (*(spx_int32_t*)ptr) = st->sampling_rate*(NB_SUBMODE_BITS+1)/st->frameSize; in nb_decoder_ctl()
1810 st->sampling_rate = (*(spx_int32_t*)ptr); in nb_decoder_ctl()
1813 (*(spx_int32_t*)ptr)=st->sampling_rate; in nb_decoder_ctl()
/external/speex/include/speex/
Dspeex_preprocess.h65 SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate);
/external/kernel-headers/original/linux/
Dvideodev.h208 __u32 sampling_rate; /* in Hz */ member
Dvideodev2.h2155 __u32 sampling_rate; /* in 1 Hz */ member