Home
last modified time | relevance | path

Searched refs:clockrate (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/talk/media/base/
Dcodec.cc91 Codec::Codec(int id, const std::string& name, int clockrate, int preference) in Codec() argument
92 : id(id), name(name), clockrate(clockrate), preference(preference) { in Codec()
95 Codec::Codec() : id(0), clockrate(0), preference(0) { in Codec()
105 clockrate = c.clockrate; in operator =()
114 name == c.name && clockrate == c.clockrate && in operator ==()
168 int clockrate, in AudioCodec() argument
172 : Codec(id, name, clockrate, preference), in AudioCodec()
204 ((codec.clockrate == 0 /*&& clockrate == 8000*/) || in Matches()
205 clockrate == codec.clockrate) && in Matches()
212 os << "AudioCodec[" << id << ":" << name << ":" << clockrate << ":" << bitrate in ToString()
[all …]
Dcodec.h83 int clockrate; member
89 Codec(int id, const std::string& name, int clockrate, int preference);
136 int clockrate,
Drtpdataengine.h69 RtpClock(int clockrate, uint16_t first_seq_num, uint32_t timestamp_offset) in RtpClock() argument
70 : clockrate_(clockrate), in RtpClock()
Dcodec_unittest.cc66 c1.clockrate = 2000; in TEST_F()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc150 ss << codec.name << "/" << codec.clockrate << "/" << codec.channels in ToString()
294 kCodecPrefs[j].clockrate == voe_codec.plfreq && in SupportedCodecs()
381 kCodecPrefs[i].clockrate == codec.plfreq) { in IsCodecMultiRate()
395 codec_pref.clockrate == codec->plfreq) || in SetPTimeAsPacketSize()
412 int clockrate; member
1622 switch (codec.clockrate) { in SetSendCodecs()
1633 LOG(LS_WARNING) << "CN frequency " << codec.clockrate in SetSendCodecs()
1655 if (codec.clockrate == send_codec.plfreq && send_codec.channels != 2) { in SetSendCodecs()
Dwebrtcvoiceengine_unittest.cc426 EXPECT_EQ(48000, codecs[0].clockrate); in TEST_F()
455 codec.clockrate = 0; in TEST_F()
816 parameters.codecs[0].clockrate = 50000; in TEST_F()
3183 if (it->name == "CN" && it->clockrate == 16000) { in TEST()
3185 } else if (it->name == "CN" && it->clockrate == 32000) { in TEST()
3187 } else if (it->name == "ISAC" && it->clockrate == 16000) { in TEST()
3189 } else if (it->name == "ISAC" && it->clockrate == 32000) { in TEST()
3191 } else if (it->name == "G722" && it->clockrate == 8000) { in TEST()
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc1672 os << it->name << "/" << it->clockrate; in BuildRtpMap()
1718 << it->name << "/" << it->clockrate; in BuildRtpMap()
2066 int clockrate; member
2105 int clock_rate = kStaticPayloadAudioCodecs[payload_type].clockrate; in MaybeCreateStaticPayloadAudioCodecs()
2840 void UpdateCodec(int payload_type, const std::string& name, int clockrate, in UpdateCodec() argument
2848 codec.clockrate = clockrate; in UpdateCodec()
Dwebrtcsdp_unittest.cc1290 if (codec.clockrate == 16000) { in TestDeserializeCodecParams()
1876 EXPECT_EQ(8000, g729.clockrate); in TEST_F()
1886 EXPECT_EQ(16000, isac.clockrate); in TEST_F()
2507 EXPECT_EQ(32000, acd->codecs()[0].clockrate); in TEST_F()
/external/webrtc/talk/session/media/
Dchannel_unittest.cc1835 return c1.name == c2.name && c1.clockrate == c2.clockrate && in CodecMatches()