/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
audio_decoder_pcm16b.cc | 31 int sample_rate_hz, 34 RTC_DCHECK(sample_rate_hz == 8000 || sample_rate_hz == 16000 || 35 sample_rate_hz == 32000 || sample_rate_hz == 48000) 36 << "Unsupported sample rate " << sample_rate_hz;
|
audio_encoder_pcm16b.cc | 33 config.sample_rate_hz = codec_inst.plfreq; 35 codec_inst.pacsize, rtc::CheckedDivExact(config.sample_rate_hz, 1000)); 42 if ((sample_rate_hz != 8000) && (sample_rate_hz != 16000) && 43 (sample_rate_hz != 32000) && (sample_rate_hz != 48000))
|
audio_encoder_pcm16b.h | 25 Config() : AudioEncoderPcm::Config(107), sample_rate_hz(8000) {} 28 int sample_rate_hz; member in struct:webrtc::final::Config 32 : AudioEncoderPcm(config, config.sample_rate_hz) {}
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
output_wav_file.h | 27 OutputWavFile(const std::string& file_name, int sample_rate_hz) 28 : wav_writer_(file_name, sample_rate_hz, 1) {}
|
/external/webrtc/webrtc/test/fuzzers/ |
audio_decoder_isac_fuzzer.cc | 17 const int sample_rate_hz = size % 2 == 0 ? 16000 : 32000; // 16 or 32 kHz. local 20 FuzzAudioDecoder(data, size, &dec, sample_rate_hz, sizeof(output), output);
|
audio_decoder_fuzzer.h | 25 int sample_rate_hz,
|
/external/webrtc/webrtc/common_audio/vad/mock/ |
mock_vad.h | 28 int sample_rate_hz));
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/ |
audio_decoder_isac_t_impl.h | 44 int sample_rate_hz, 47 RTC_CHECK(sample_rate_hz == 16000 || sample_rate_hz == 32000) 48 << "Unsupported sample rate " << sample_rate_hz; 49 if (sample_rate_hz != decoder_sample_rate_hz_) { 50 RTC_CHECK_EQ(0, T::SetDecSampRate(isac_state_, sample_rate_hz)); 51 decoder_sample_rate_hz_ = sample_rate_hz;
|
unittest.cc | 80 BoundedCapacityChannel(int sample_rate_hz, int rate_bits_per_second) 83 (8.0 * sample_rate_hz)) {} 106 int sample_rate_hz, 115 ASSERT_EQ(0, T::SetEncSampRate(encdec, sample_rate_hz)); 125 ASSERT_EQ(0, T::SetEncSampRate(enc, sample_rate_hz)); 134 T::SetEncSampRateInDecoder(dec, sample_rate_hz); 139 BoundedCapacityChannel channel1(sample_rate_hz, rate_bits_per_second), 140 channel2(sample_rate_hz, rate_bits_per_second); 163 const int send_time = elapsed_time_ms * (sample_rate_hz / 1000); 172 ASSERT_EQ(0, T::SetDecSampRate(encdec, sample_rate_hz)); 198 int sample_rate_hz; member in struct:webrtc::__anon26940::IsacTestParam [all...] |
/external/webrtc/webrtc/modules/audio_processing/transient/ |
transient_detector_unittest.cc | 45 int sample_rate_hz = kSampleRatesHz[i]; local 50 << (sample_rate_hz / 1000) << "kHz"; 67 << (sample_rate_hz / 1000) << "kHz"; 78 TransientDetector detector(sample_rate_hz); 80 const size_t buffer_length = sample_rate_hz * ts::kChunkSizeMs / 1000;
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
accelerate.h | 32 Accelerate(int sample_rate_hz, size_t num_channels, 34 : TimeStretch(sample_rate_hz, num_channels, background_noise) { 75 virtual Accelerate* Create(int sample_rate_hz,
|
preemptive_expand.h | 32 PreemptiveExpand(int sample_rate_hz, 36 : TimeStretch(sample_rate_hz, num_channels, background_noise), 81 int sample_rate_hz,
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ |
audio_decoder.cc | 21 int sample_rate_hz, size_t max_decoded_bytes, 29 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, 34 int sample_rate_hz, size_t max_decoded_bytes, 42 return DecodeRedundantInternal(encoded, encoded_len, sample_rate_hz, decoded, 48 int sample_rate_hz, int16_t* decoded, 50 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded,
|
audio_decoder.h | 42 // sample rate is provided in |sample_rate_hz|, which must be valid for the 46 int sample_rate_hz, 55 int sample_rate_hz, 108 int sample_rate_hz, 114 int sample_rate_hz,
|
/external/webrtc/webrtc/common_audio/vad/include/ |
vad.h | 39 int sample_rate_hz) = 0;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
audio_decoder_pcm.cc | 25 int sample_rate_hz, 28 RTC_DCHECK_EQ(sample_rate_hz, 8000); 49 int sample_rate_hz, 52 RTC_DCHECK_EQ(sample_rate_hz, 8000);
|
audio_decoder_pcm.h | 31 int sample_rate_hz, 52 int sample_rate_hz,
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
beamformer.h | 33 virtual void Initialize(int chunk_size_ms, int sample_rate_hz) = 0;
|
mock_nonlinear_beamformer.h | 26 MOCK_METHOD2(Initialize, void(int chunk_size_ms, int sample_rate_hz));
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
voice_activity_detector.cc | 39 int sample_rate_hz) { 40 RTC_DCHECK_EQ(static_cast<int>(length), sample_rate_hz / 100); local 44 if (sample_rate_hz != kSampleRateHz) { 46 resampler_.ResetIfNeeded(sample_rate_hz, kSampleRateHz, kNumChannels),
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
audio_decoder_opus.cc | 30 int sample_rate_hz, 33 RTC_DCHECK_EQ(sample_rate_hz, 48000); 45 int sample_rate_hz, 50 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, 54 RTC_DCHECK_EQ(sample_rate_hz, 48000);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
isac_fix_type.h | 84 uint16_t sample_rate_hz) { 85 RTC_DCHECK_EQ(sample_rate_hz, kFixSampleRate); 89 uint16_t sample_rate_hz) { 90 RTC_DCHECK_EQ(sample_rate_hz, kFixSampleRate); 94 uint16_t sample_rate_hz) { 95 RTC_DCHECK_EQ(sample_rate_hz, kFixSampleRate);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
isac_float_type.h | 83 uint16_t sample_rate_hz) { 84 return WebRtcIsac_SetDecSampRate(inst, sample_rate_hz); 87 uint16_t sample_rate_hz) { 88 return WebRtcIsac_SetEncSampRate(inst, sample_rate_hz); 91 uint16_t sample_rate_hz) { 92 WebRtcIsac_SetEncSampRateInDecoder(inst, sample_rate_hz);
|
/external/webrtc/webrtc/common_audio/vad/ |
vad.cc | 30 int sample_rate_hz) override { 31 int ret = WebRtcVad_Process(handle_, sample_rate_hz, audio, num_samples);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
audio_decoder_g722.h | 32 int sample_rate_hz, 50 int sample_rate_hz,
|