Home
last modified time | relevance | path

Searched refs:clockrate_hz (Results 1 – 25 of 45) sorted by relevance

12

/external/webrtc/api/audio_codecs/
Daudio_format.cc23 int clockrate_hz, in SdpAudioFormat() argument
25 : name(name), clockrate_hz(clockrate_hz), num_channels(num_channels) {} in SdpAudioFormat()
28 int clockrate_hz, in SdpAudioFormat() argument
32 clockrate_hz(clockrate_hz), in SdpAudioFormat()
37 int clockrate_hz, in SdpAudioFormat() argument
41 clockrate_hz(clockrate_hz), in SdpAudioFormat()
47 clockrate_hz == o.clockrate_hz && num_channels == o.num_channels; in Matches()
56 a.clockrate_hz == b.clockrate_hz && a.num_channels == b.num_channels && in operator ==()
Daudio_format.h31 SdpAudioFormat(absl::string_view name, int clockrate_hz, size_t num_channels);
33 int clockrate_hz,
37 int clockrate_hz,
56 int clockrate_hz; member
/external/webrtc/audio/voip/test/
Daudio_ingress_unittest.cc86 frame->sample_rate_hz_ = kPcmuFormat.clockrate_hz; in GetAudioFrame()
87 frame->samples_per_channel_ = kPcmuFormat.clockrate_hz / 100; // 10 ms. in GetAudioFrame()
126 ingress_->GetAudioFrameWithInfo(kPcmuFormat.clockrate_hz, &audio_frame), in TEST_F()
131 static_cast<size_t>(kPcmuFormat.clockrate_hz / 100)); in TEST_F()
132 EXPECT_EQ(audio_frame.sample_rate_hz_, kPcmuFormat.clockrate_hz); in TEST_F()
159 ingress_->GetAudioFrameWithInfo(kPcmuFormat.clockrate_hz, &audio_frame), in TEST_F()
179 ingress_->GetAudioFrameWithInfo(kPcmuFormat.clockrate_hz, &audio_frame), in TEST_F()
181 EXPECT_EQ(ingress_->PreferredSampleRate(), kPcmuFormat.clockrate_hz); in TEST_F()
Daudio_egress_unittest.cc91 frame->sample_rate_hz_ = kPcmuFormat.clockrate_hz; in GetAudioFrame()
92 frame->samples_per_channel_ = kPcmuFormat.clockrate_hz / 100; // 10 ms. in GetAudioFrame()
227 EXPECT_EQ(pcmu->clockrate_hz, kPcmuFormat.clockrate_hz); in TEST_F()
239 EXPECT_EQ(opus->clockrate_hz, kOpusFormat.clockrate_hz); in TEST_F()
Daudio_channel_unittest.cc72 frame->sample_rate_hz_ = kPcmuFormat.clockrate_hz; in GetAudioFrame()
73 frame->samples_per_channel_ = kPcmuFormat.clockrate_hz / 100; // 10 ms. in GetAudioFrame()
/external/webrtc/media/engine/
Dpayload_type_mapper.cc128 AudioCodec codec(*opt_payload_type, format.name, format.clockrate_hz, 0, in ToAudioCodec()
140 if (a.clockrate_hz == b.clockrate_hz) { in operator ()()
150 return a.clockrate_hz < b.clockrate_hz; in operator ()()
/external/webrtc/api/audio_codecs/isac/
Daudio_encoder_isac_float.cc24 (format.clockrate_hz == 16000 || format.clockrate_hz == 32000) && in SdpToConfig()
27 config.sample_rate_hz = format.clockrate_hz; in SdpToConfig()
28 config.bit_rate = format.clockrate_hz == 16000 ? 32000 : 56000; in SdpToConfig()
Daudio_decoder_isac_float.cc23 (format.clockrate_hz == 16000 || format.clockrate_hz == 32000) && in SdpToConfig()
26 config.sample_rate_hz = format.clockrate_hz; in SdpToConfig()
Daudio_decoder_isac_fix.cc23 format.clockrate_hz == 16000 && format.num_channels == 1 in SdpToConfig()
Daudio_encoder_isac_fix.cc24 format.clockrate_hz == 16000 && format.num_channels == 1) { in SdpToConfig()
/external/webrtc/modules/audio_coding/acm2/
Dacm_send_test.cc62 int clockrate_hz, in RegisterCodec() argument
66 SdpAudioFormat format(payload_name, clockrate_hz, num_channels); in RegisterCodec()
68 RTC_CHECK_EQ(16000, clockrate_hz); in RegisterCodec()
69 format.clockrate_hz = 8000; in RegisterCodec()
78 frame_size_samples, rtc::CheckedDivExact(clockrate_hz, 1000))); in RegisterCodec()
/external/webrtc/modules/audio_coding/neteq/
Dtimestamp_scaler.cc48 if (info->GetFormat().clockrate_hz == 0) { in ToInternal()
53 denominator_ = info->GetFormat().clockrate_hz; in ToInternal()
/external/webrtc/audio/voip/
Daudio_ingress.cc95 int clock_rate = decoder ? decoder->second.clockrate_hz in GetAudioFrameWithInfo()
111 receive_codec_info_[kv.first] = kv.second.clockrate_hz; in SetReceiveCodecs()
/external/webrtc/modules/audio_coding/test/
DTestAllCodecs.cc324 int clockrate_hz = sampling_freq_hz; in RegisterSendCodec() local
328 clockrate_hz = sampling_freq_hz / 2; in RegisterSendCodec()
371 SdpAudioFormat format = {codec_name, clockrate_hz, num_channels}; in RegisterSendCodec()
DTestRedFec.cc187 cn_payload_type, SdpAudioFormat("CN", codec_format.clockrate_hz, 1))); in RegisterSendCodec()
196 SdpAudioFormat("red", codec_format.clockrate_hz, 1))); in RegisterSendCodec()
/external/webrtc/api/audio_codecs/ilbc/
Daudio_decoder_ilbc.cc24 format.clockrate_hz == 8000 && format.num_channels == 1 in SdpToConfig()
Daudio_encoder_ilbc.cc43 format.clockrate_hz != 8000 || format.num_channels != 1) { in SdpToConfig()
/external/webrtc/api/audio_codecs/g722/
Daudio_decoder_g722.cc25 format.clockrate_hz == 8000 && in SdpToConfig()
Daudio_encoder_g722.cc27 format.clockrate_hz != 8000) { in SdpToConfig()
/external/webrtc/api/audio_codecs/L16/
Daudio_decoder_L16.cc25 config.sample_rate_hz = format.clockrate_hz; in SdpToConfig()
Daudio_encoder_L16.cc30 config.sample_rate_hz = format.clockrate_hz; in SdpToConfig()
/external/webrtc/audio/
Daudio_send_stream.cc481 if (spec.format.clockrate_hz / 1000 > 0) { in GetStats()
483 block.interarrival_jitter / (spec.format.clockrate_hz / 1000); in GetStats()
659 new_config.send_codec_spec->format.clockrate_hz); in SetupSendCodec()
765 new_config.send_codec_spec->format.clockrate_hz); in ReconfigureCNG()
921 int clockrate_hz) { in RegisterCngPayloadType() argument
922 channel_send_->RegisterCngPayloadType(payload_type, clockrate_hz); in RegisterCngPayloadType()
/external/webrtc/api/audio_codecs/opus/
Daudio_decoder_opus.cc50 format.clockrate_hz == 48000 && format.num_channels == 2 && in SdpToConfig()
/external/webrtc/rtc_base/strings/
Daudio_format_to_string.cc22 sb << ", clockrate_hz: " << saf.clockrate_hz; in ToString()
/external/webrtc/api/audio_codecs/g711/
Daudio_decoder_g711.cc26 if (format.clockrate_hz == 8000 && format.num_channels >= 1 && in SdpToConfig()

12