/external/libopus/src/ |
D | opus_demo.c | 230 opus_int32 sampling_rate; in main() local 309 sampling_rate = (opus_int32)atol(argv[args]); in main() 312 if (sampling_rate != 8000 && sampling_rate != 12000 in main() 313 && sampling_rate != 16000 && sampling_rate != 24000 in main() 314 && sampling_rate != 48000) in main() 320 frame_size = sampling_rate/50; in main() 377 frame_size = sampling_rate/400; in main() 379 frame_size = sampling_rate/200; in main() 381 frame_size = sampling_rate/100; in main() 383 frame_size = sampling_rate/50; in main() [all …]
|
/external/tinycompress/ |
D | compress.c | 325 if (0 == kavail.tstamp.sampling_rate) in compress_get_hpointer() 328 time = kavail.tstamp.pcm_io_frames / kavail.tstamp.sampling_rate; in compress_get_hpointer() 330 time = kavail.tstamp.pcm_io_frames % kavail.tstamp.sampling_rate; in compress_get_hpointer() 331 tstamp->tv_nsec = time * 1000000000 / kavail.tstamp.sampling_rate; in compress_get_hpointer() 336 unsigned long *samples, unsigned int *sampling_rate) in compress_get_tstamp() argument 347 *sampling_rate = ktstamp.sampling_rate; in compress_get_tstamp()
|
/external/speex/libspeex/ |
D | sb_celp.h | 93 spx_int32_t sampling_rate; member 108 spx_int32_t sampling_rate; member
|
D | mdf.c | 142 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 …]
|
D | nb_celp.h | 112 spx_int32_t sampling_rate; member 133 spx_int32_t sampling_rate; member
|
D | preprocess.c | 185 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 …]
|
D | sb_celp.c | 267 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 …]
|
D | nb_celp.c | 204 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/libopus/celt/ |
D | celt.h | 125 int celt_encoder_init(CELTEncoder *st, opus_int32 sampling_rate, int channels, 135 int celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels);
|
D | celt_decoder.c | 131 int celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels) in celt_decoder_init() argument 137 st->downsample = resampling_factor(sampling_rate); in celt_decoder_init()
|
D | celt_encoder.c | 207 int celt_encoder_init(CELTEncoder *st, opus_int32 sampling_rate, int channels, in celt_encoder_init() argument 215 st->upsample = resampling_factor(sampling_rate); in celt_encoder_init()
|
/external/speex/include/speex/ |
D | speex_preprocess.h | 65 SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate);
|
/external/tinycompress/include/tinycompress/ |
D | tinycompress.h | 128 unsigned long *samples, unsigned int *sampling_rate);
|
/external/kernel-headers/original/uapi/sound/ |
D | compress_offload.h | 72 __u32 sampling_rate; member
|
/external/kernel-headers/original/uapi/linux/ |
D | videodev2.h | 1817 __u32 sampling_rate; /* in 1 Hz */ member
|
/external/valgrind/include/vki/ |
D | vki-linux.h | 4213 __vki_u32 sampling_rate; /* in 1 Hz */ member
|