/frameworks/av/cmds/stagefright/ |
WaveWriter.h | 26 uint16_t num_channels, uint32_t sampling_rate) 31 write_u32(sampling_rate); 32 write_u32(sampling_rate * num_channels * 2);
|
/external/libopus/src/ |
opus_demo.c | 230 opus_int32 sampling_rate; local 309 sampling_rate = (opus_int32)atol(argv[args]); 312 if (sampling_rate != 8000 && sampling_rate != 12000 313 && sampling_rate != 16000 && sampling_rate != 24000 314 && sampling_rate != 48000) 320 frame_size = sampling_rate/50; 377 frame_size = sampling_rate/400; 379 frame_size = sampling_rate/200 [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
mp3reader.cpp | 92 int sampling_rate = kSamplingRateV1[sampling_rate_index]; local 94 sampling_rate /= 2; 96 sampling_rate /= 4; 123 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; 169 *frame_size = 144000 * bitrate / sampling_rate + padding; 173 *frame_size = tmp * bitrate / sampling_rate + padding; 178 *out_sampling_rate = sampling_rate;
|
/frameworks/av/media/libstagefright/ |
XINGSeeker.cpp | 94 int sampling_rate = 0; local 97 if (!GetMPEGAudioFrameSize(header, &xingframesize, &sampling_rate, &num_channels, 145 seeker->mDurationUs = (int64_t)frames * samples_per_frame * 1000000LL / sampling_rate;
|
avc_utils.cpp | 697 int sampling_rate = kSamplingRateV1[sampling_rate_index]; local 699 sampling_rate /= 2; 701 sampling_rate /= 4; 728 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4; 774 *frame_size = 144000 * bitrate / sampling_rate + padding; 778 *frame_size = tmp * bitrate / sampling_rate + padding; 783 *out_sampling_rate = sampling_rate;
|
/external/tinycompress/ |
compress.c | 325 if (0 == kavail.tstamp.sampling_rate) 328 time = kavail.tstamp.pcm_io_frames / kavail.tstamp.sampling_rate; 330 time = kavail.tstamp.pcm_io_frames % kavail.tstamp.sampling_rate; 331 tstamp->tv_nsec = time * 1000000000 / kavail.tstamp.sampling_rate; 336 unsigned long *samples, unsigned int *sampling_rate) 347 *sampling_rate = ktstamp.sampling_rate;
|
/hardware/libhardware_legacy/audio/ |
audio_policy_hal.cpp | 138 uint32_t sampling_rate, 148 sampling_rate, format, channelMask, 177 uint32_t sampling_rate, 183 return lap->apm->getInput((int) inputSource, sampling_rate, format, channelMask,
|
/hardware/qcom/audio/legacy/alsa_sound/ |
audio_policy_hal.cpp | 138 uint32_t sampling_rate, 147 sampling_rate, (int) format, channelMask, 175 uint32_t sampling_rate, 181 return qap->apm->getInput((int) inputSource, sampling_rate, (int) format, channelMask,
|
/external/kernel-headers/original/uapi/sound/ |
compress_offload.h | 65 * @sampling_rate: sampling rate of audio 72 __u32 sampling_rate; member in struct:snd_compr_tstamp
|
/external/libopus/celt/ |
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);
|
/external/speex/libspeex/ |
sb_celp.h | 93 spx_int32_t sampling_rate; member in struct:SBEncState 108 spx_int32_t sampling_rate; member in struct:SBDecState
|
sb_celp.c | 267 speex_encoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate); 268 st->sampling_rate*=2; 474 if (st->relative_quality >= thresh && st->sampling_rate*st->submodes[modeid]->bits_per_frame/st->full_frame_size <= st->vbr_max_high) 780 speex_decoder_ctl(st->st_low, SPEEX_GET_SAMPLING_RATE, &st->sampling_rate); 781 st->sampling_rate*=2; [all...] |
mdf.c | 142 spx_int32_t sampling_rate; member in struct:SpeexEchoState_ 433 st->sampling_rate = 8000; 434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); 436 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); 437 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); 439 st->beta0 = (2.0f*st->frame_size)/st->sampling_rate; 440 st->beta_max = (.5f*st->frame_size)/st->sampling_rate; 506 if (st->sampling_rate<12000) 508 else if (st->sampling_rate<24000) [all...] |
preprocess.c | 185 int sampling_rate; /**< Sampling rate of the input/output */ member in struct:SpeexPreprocessState_ 395 EXPORT SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate) 429 st->sampling_rate = sampling_rate; 446 st->bank = filterbank_new(M, sampling_rate, N, 1); 508 float ff=((float)i)*.5*sampling_rate/((float)N); 519 st->max_increase_step = exp(0.11513f * 12.*st->frame_size / st->sampling_rate); 520 st->max_decrease_step = exp(-0.11513f * 40.*st->frame_size / st->sampling_rate); [all...] |
/frameworks/av/media/libeffects/loudness/dsp/core/ |
dynamic_range_compression.cpp | 56 float target_gain, float sampling_rate) { 58 sampling_rate_ = sampling_rate;
|
dynamic_range_compression.h | 52 bool Initialize(float target_gain, float sampling_rate);
|
/hardware/libhardware/modules/audio/ |
audio_policy.c | 99 uint32_t sampling_rate, 126 uint32_t sampling_rate,
|
/hardware/qcom/msm8994/original-kernel-headers/sound/ |
compress_offload.h | 65 * @sampling_rate: sampling rate of audio 72 __u32 sampling_rate; member in struct:snd_compr_tstamp
|
/hardware/qcom/msm8996/original-kernel-headers/sound/ |
compress_offload.h | 65 * @sampling_rate: sampling rate of audio 72 __u32 sampling_rate; member in struct:snd_compr_tstamp
|
/hardware/qcom/msm8x26/original-kernel-headers/sound/ |
compress_offload.h | 65 * @sampling_rate: sampling rate of audio 72 __u32 sampling_rate; member in struct:snd_compr_tstamp
|
/hardware/qcom/msm8x84/original-kernel-headers/sound/ |
compress_offload.h | 65 * @sampling_rate: sampling rate of audio 72 __u32 sampling_rate; member in struct:snd_compr_tstamp
|
/bionic/libc/kernel/uapi/sound/ |
compress_offload.h | 44 __u32 sampling_rate; member in struct:snd_compr_tstamp
|
/frameworks/av/media/libeffects/loudness/common/core/ |
basic_types.h | 103 void Set(int number_samples, int sampling_rate, int16 *data);
|
/hardware/qcom/audio/hal/audio_extn/ |
hwdep_cal.c | 42 uint32_t sampling_rate; member in struct:acdb_audio_cal_cfg
|
/hardware/qcom/msm8994/kernel-headers/sound/ |
compress_offload.h | 44 __u32 sampling_rate; member in struct:snd_compr_tstamp
|