Home
last modified time | relevance | path

Searched refs:sampling_rate (Results 1 - 12 of 12) sorted by relevance

/third_party/pulseaudio/speex/libspeexdsp/
H A Dmdf.c136 spx_int32_t sampling_rate; member
427 st->sampling_rate = 8000; in speex_echo_state_init_mc()
428 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); in speex_echo_state_init_mc()
430 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); in speex_echo_state_init_mc()
431 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); in speex_echo_state_init_mc()
433 st->beta0 = (2.0f*st->frame_size)/st->sampling_rate; in speex_echo_state_init_mc()
434 st->beta_max = (.5f*st->frame_size)/st->sampling_rate; in speex_echo_state_init_mc()
500 if (st->sampling_rate<12000) in speex_echo_state_init_mc()
502 else if (st->sampling_rate<24000) in speex_echo_state_init_mc()
1232 st->sampling_rate in speex_echo_ctl()
[all...]
H A Dpreprocess.c181 int sampling_rate; /**< Sampling rate of the input/output */ member
391 EXPORT SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate) in speex_preprocess_state_init() argument
425 st->sampling_rate = sampling_rate; in speex_preprocess_state_init()
442 st->bank = filterbank_new(M, sampling_rate, N, 1); in speex_preprocess_state_init()
504 float ff=((float)i)*.5*sampling_rate/((float)N); in speex_preprocess_state_init()
515 st->max_increase_step = exp(0.11513f * 12.*st->frame_size / st->sampling_rate); in speex_preprocess_state_init()
516 st->max_decrease_step = exp(-0.11513f * 40.*st->frame_size / st->sampling_rate); in speex_preprocess_state_init()
1077 st->max_increase_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate); in speex_preprocess_ctl()
1080 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_increase_step)*st->sampling_rate/s in speex_preprocess_ctl()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dav3a_parser.c66 int32_t sampling_rate; member
419 hdf->sampling_rate = avs3_samplingrate_table[samping_rate_index]; in read_av3a_frame_header()
474 avctx->sample_rate = hdf.sampling_rate; in raw_av3a_parse()
H A Dimc.c128 static av_cold void iac_generate_tabs(IMCContext *q, int sampling_rate) in iac_generate_tabs() argument
131 double scale = sampling_rate / (256.0 * 2.0 * 2.0); in iac_generate_tabs()
132 double nyquist_freq = sampling_rate * 0.5; in iac_generate_tabs()
/third_party/pulseaudio/speex/include/speex/
H A Dspeex_preprocess.h62 * @param sampling_rate Sampling rate used for the input.
65 SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate);
/third_party/alsa-utils/topology/nhlt/intel/ssp/
H A Dssp-intel.h86 uint32_t sampling_rate; member
H A Dssp-process.h42 int ssp_node_set_params(struct intel_nhlt_params *nhlt, int node_id, int sampling_rate);
H A Dssp-process.c679 node->sampling_rate = aux->sync.nodes[i].sampling_rate; in ssp_calculate_intern_ext()
1161 int ssp_node_set_params(struct intel_nhlt_params *nhlt, int node_id, int sampling_rate) in ssp_node_set_params() argument
1176 ssp->ssp_prm[di].aux_cfg[hwi].sync.nodes[count].sampling_rate = sampling_rate; in ssp_node_set_params()
H A Dssp-internal.h50 uint32_t sampling_rate; member
H A Dssp-debug.c215 fprintf(stdout, "aux sync sampling_rate %u\n", sync->nodes[j].sampling_rate); in ssp_print_internal()
/third_party/alsa-utils/topology/nhlt/intel/
H A Dssp-nhlt.c154 long sampling_rate; in set_node_config() local
160 {"sampling_rate", SND_CONFIG_TYPE_INTEGER, NULL, &sampling_rate, NULL}, in set_node_config()
168 return ssp_node_set_params(nhlt, node_id, sampling_rate); in set_node_config()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_FMT.c324 ".sampling_rate=%u, " in do_get_formats()
334 format.fmt.vbi.sampling_rate, in do_get_formats()
359 //CU_ASSERT_EQUAL(format.fmt.vbi.sampling_rate, ???); in do_get_formats()
1079 ".sampling_rate=%u, " ".offset=%u, " in do_set_formats_enum()
1086 format_max.fmt.vbi.sampling_rate, in do_set_formats_enum()
1114 //CU_ASSERT_EQUAL(format_max.fmt.vbi.sampling_rate, ???); in do_set_formats_enum()
1149 ".sampling_rate=%u, " ".offset=%u, " in do_set_formats_enum()
1156 format_min.fmt.vbi.sampling_rate, in do_set_formats_enum()
1184 //CU_ASSERT_EQUAL(format_min.fmt.vbi.sampling_rate, ???); in do_set_formats_enum()

Completed in 14 milliseconds