/external/webrtc/talk/media/base/ |
D | codec_unittest.cc | 31 using cricket::AudioCodec; 83 AudioCodec c0(96, "A", 44100, 20000, 2, 3); in TEST_F() 84 AudioCodec c1(95, "A", 44100, 20000, 2, 3); in TEST_F() 85 AudioCodec c2(96, "x", 44100, 20000, 2, 3); in TEST_F() 86 AudioCodec c3(96, "A", 48000, 20000, 2, 3); in TEST_F() 87 AudioCodec c4(96, "A", 44100, 10000, 2, 3); in TEST_F() 88 AudioCodec c5(96, "A", 44100, 20000, 1, 3); in TEST_F() 89 AudioCodec c6(96, "A", 44100, 20000, 2, 1); in TEST_F() 97 AudioCodec c7; in TEST_F() 98 AudioCodec c8(0, "", 0, 0, 0, 0); in TEST_F() [all …]
|
D | codec.h | 129 struct AudioCodec : public Codec { struct 134 AudioCodec(int id, argument 141 AudioCodec(); 142 AudioCodec(const AudioCodec& c); 143 ~AudioCodec() = default; 146 bool Matches(const AudioCodec& codec) const; 148 static bool Preferable(const AudioCodec& first, const AudioCodec& other) { in Preferable() argument 154 AudioCodec& operator=(const AudioCodec& c); argument 156 bool operator==(const AudioCodec& c) const; 158 bool operator!=(const AudioCodec& c) const {
|
D | codec.cc | 166 AudioCodec::AudioCodec(int id, in AudioCodec() function in cricket::AudioCodec 177 AudioCodec::AudioCodec() : Codec(), bitrate(0), channels(0) { in AudioCodec() function in cricket::AudioCodec 180 AudioCodec::AudioCodec(const AudioCodec& c) = default; 182 AudioCodec& AudioCodec::operator=(const AudioCodec& c) { in operator =() 189 bool AudioCodec::operator==(const AudioCodec& c) const { in operator ==() 193 bool AudioCodec::Matches(const AudioCodec& codec) const { in Matches() 210 std::string AudioCodec::ToString() const { in ToString()
|
D | fakemediaengine.h | 249 const std::vector<AudioCodec>& recv_codecs() const { return recv_codecs_; } in recv_codecs() 250 const std::vector<AudioCodec>& send_codecs() const { return send_codecs_; } in send_codecs() 251 const std::vector<AudioCodec>& codecs() const { return send_codecs(); } in codecs() 312 for (std::vector<AudioCodec>::const_iterator it = send_codecs_.begin(); in CanInsertDtmf() 380 bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) { in SetRecvCodecs() 388 bool SetSendCodecs(const std::vector<AudioCodec>& codecs) { in SetSendCodecs() 421 std::vector<AudioCodec> recv_codecs_; 422 std::vector<AudioCodec> send_codecs_; 726 codecs_.push_back(AudioCodec(101, "fake_audio_codec", 0, 0, 1, 0)); in FakeVoiceEngine() 751 const std::vector<AudioCodec>& codecs() { return codecs_; } in codecs() [all …]
|
D | mediaengine.h | 100 virtual const std::vector<AudioCodec>& audio_codecs() = 0; 175 virtual const std::vector<AudioCodec>& audio_codecs() { in audio_codecs()
|
D | mediachannel.h | 974 struct AudioSendParameters : RtpSendParameters<AudioCodec, AudioOptions> { 977 struct AudioRecvParameters : RtpParameters<AudioCodec> {
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvoiceengine.h | 61 static bool ToCodecInst(const AudioCodec& in, webrtc::CodecInst* out); 78 const std::vector<AudioCodec>& codecs(); 133 std::vector<AudioCodec> codecs_; 224 bool SetSendCodecs(const std::vector<AudioCodec>& codecs); 227 bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); 234 bool GetRedSendCodec(const AudioCodec& red_codec, 235 const std::vector<AudioCodec>& all_codecs, 248 bool SetSendCodecs(int channel, const std::vector<AudioCodec>& codecs); 254 std::vector<AudioCodec> recv_codecs_; 255 std::vector<AudioCodec> send_codecs_;
|
D | webrtcvoiceengine.cc | 148 std::string ToString(const AudioCodec& codec) { in ToString() 162 bool IsCodec(const AudioCodec& codec, const char* ref_name) { in IsCodec() 170 bool FindCodec(const std::vector<AudioCodec>& codecs, in FindCodec() 171 const AudioCodec& codec, in FindCodec() 172 AudioCodec* found_codec) { in FindCodec() 173 for (const AudioCodec& c : codecs) { in FindCodec() 184 bool VerifyUniquePayloadTypes(const std::vector<AudioCodec>& codecs) { in VerifyUniquePayloadTypes() 189 for (const AudioCodec& codec : codecs) { in VerifyUniquePayloadTypes() 197 bool IsNackEnabled(const AudioCodec& codec) { in IsNackEnabled() 203 bool IsCodecFeatureEnabled(const AudioCodec& codec, const char* feature) { in IsCodecFeatureEnabled() [all …]
|
D | webrtcvoiceengine_unittest.cc | 47 const cricket::AudioCodec kPcmuCodec(0, "PCMU", 8000, 64000, 1, 0); 48 const cricket::AudioCodec kIsacCodec(103, "ISAC", 16000, 32000, 1, 0); 49 const cricket::AudioCodec kOpusCodec(111, "opus", 48000, 64000, 2, 0); 50 const cricket::AudioCodec kG722CodecVoE(9, "G722", 16000, 64000, 1, 0); 51 const cricket::AudioCodec kG722CodecSdp(9, "G722", 8000, 64000, 1, 0); 52 const cricket::AudioCodec kRedCodec(117, "red", 8000, 0, 1, 0); 53 const cricket::AudioCodec kCn8000Codec(13, "CN", 8000, 0, 1, 0); 54 const cricket::AudioCodec kCn16000Codec(105, "CN", 16000, 0, 1, 0); 55 const cricket::AudioCodec kTelephoneEventCodec(106, "telephone-event", 8000, 0, 186 void TestSendBandwidth(const cricket::AudioCodec& codec, in TestSendBandwidth() [all …]
|
/external/webrtc/talk/session/media/ |
D | channelmanager_unittest.cc | 42 static const AudioCodec kAudioCodecs[] = { 43 AudioCodec(97, "voice", 1, 2, 3, 0), 44 AudioCodec(111, "OPUS", 48000, 32000, 2, 0),
|
D | mediasession_unittest.cc | 79 using cricket::AudioCodec; 93 static const AudioCodec kAudioCodecs1[] = { 94 AudioCodec(103, "ISAC", 16000, -1, 1, 6), 95 AudioCodec(102, "iLBC", 8000, 13300, 1, 5), 96 AudioCodec(0, "PCMU", 8000, 64000, 1, 4), 97 AudioCodec(8, "PCMA", 8000, 64000, 1, 3), 98 AudioCodec(117, "red", 8000, 0, 1, 2), 99 AudioCodec(107, "CN", 48000, 0, 1, 1) 102 static const AudioCodec kAudioCodecs2[] = { 103 AudioCodec(126, "speex", 16000, 22000, 1, 3), [all …]
|
D | channel_unittest.cc | 65 static const cricket::AudioCodec kPcmuCodec(0, "PCMU", 64000, 8000, 1, 0); 66 static const cricket::AudioCodec kPcmaCodec(8, "PCMA", 64000, 8000, 1, 0); 67 static const cricket::AudioCodec kIsacCodec(103, "ISAC", 40000, 16000, 1, 0); 100 cricket::AudioCodec, 402 const cricket::AudioCodec& audio_codec, in CreateContent() 1813 const cricket::AudioCodec& audio_codec, in CreateContent() 1833 bool ChannelTest<VoiceTraits>::CodecMatches(const cricket::AudioCodec& c1, in CodecMatches() 1834 const cricket::AudioCodec& c2) { in CodecMatches() 1885 const cricket::AudioCodec& audio_codec, in CreateContent() 2601 const cricket::AudioCodec& audio_codec, in CreateContent()
|
D | channelmanager.h | 85 void GetSupportedAudioCodecs(std::vector<AudioCodec>* codecs) const;
|
D | mediasession.h | 51 typedef std::vector<AudioCodec> AudioCodecs; 359 class AudioContentDescription : public MediaContentDescriptionImpl<AudioCodec> {
|
D | channelmanager.cc | 146 std::vector<AudioCodec>* codecs) const { in GetSupportedAudioCodecs() 149 for (std::vector<AudioCodec>::const_iterator it = in GetSupportedAudioCodecs()
|
D | mediasession.cc | 1446 used_pltypes.FindAndSetIdUsed<AudioCodec>(audio_codecs); in GetCodecsToOffer() 1463 FindCodecsToOffer<AudioCodec>(audio_codecs_, audio_codecs, &used_pltypes); in GetCodecsToOffer()
|
D | channel.cc | 1521 for (const AudioCodec& codec : audio->codecs()) { in SetLocalContent_w()
|
/external/webrtc/talk/app/webrtc/ |
D | webrtcsdp_unittest.cc | 48 using cricket::AudioCodec; 78 typedef std::vector<AudioCodec> AudioCodecs; 555 AudioCodec opus(111, "opus", 48000, 0, 2, 3); in WebRtcSdpTest() 557 audio_desc_->AddCodec(AudioCodec(103, "ISAC", 16000, 32000, 1, 2)); in WebRtcSdpTest() 558 audio_desc_->AddCodec(AudioCodec(104, "ISAC", 32000, 56000, 1, 1)); in WebRtcSdpTest() 1276 cricket::AudioCodec opus = acd->codecs()[0]; in TestDeserializeCodecParams() 1286 cricket::AudioCodec codec = acd->codecs()[i]; in TestDeserializeCodecParams() 1345 cricket::AudioCodec opus = acd->codecs()[0]; in TestDeserializeRtcpFb() 1852 ref_codecs.push_back(AudioCodec(0, "PCMU", 8000, 0, 1, 3)); in TEST_F() 1853 ref_codecs.push_back(AudioCodec(18, "G729", 16000, 0, 1, 2)); in TEST_F() [all …]
|
D | webrtcsdp.cc | 1218 for (std::vector<cricket::AudioCodec>::const_iterator it = in BuildMediaDescription() 1663 for (std::vector<cricket::AudioCodec>::const_iterator it = in BuildRtpMap() 2107 media_desc->AddCodec(cricket::AudioCodec(payload_type, encoding_name, in MaybeCreateStaticPayloadAudioCodecs() 2299 const std::vector<cricket::AudioCodec>& codecs = audio_desc->codecs(); in VerifyAudioCodecs() 2300 for (std::vector<cricket::AudioCodec>::const_iterator iter = codecs.begin(); in VerifyAudioCodecs() 2430 std::vector<cricket::AudioCodec> codecs = audio_desc->codecs(); in AddAudioAttribute() 2431 for (std::vector<cricket::AudioCodec>::iterator iter = codecs.begin(); in AddAudioAttribute() 2845 cricket::AudioCodec codec = in UpdateCodec() 2852 AddOrReplaceCodec<AudioContentDescription, cricket::AudioCodec>(audio_desc, in UpdateCodec() 3035 UpdateCodec<AudioContentDescription, cricket::AudioCodec>( in ParseFmtpAttributes() [all …]
|
D | jsepsessiondescription_unittest.cc | 68 audio->AddCodec(cricket::AudioCodec(103, "ISAC", 16000, 0, 0, 0)); in CreateCricketSessionDescription()
|
D | webrtcsession_unittest.cc | 485 const cricket::AudioCodec kTelephoneEventCodec( in InitWithDtmfCodec() 487 std::vector<cricket::AudioCodec> codecs; in InitWithDtmfCodec() 1343 const cricket::AudioCodec kCNCodec1(102, "CN", 8000, 0, 1, 0); in AddCNCodecs() 1344 const cricket::AudioCodec kCNCodec2(103, "CN", 16000, 0, 1, 0); in AddCNCodecs() 1347 std::vector<cricket::AudioCodec> codecs = media_engine_->audio_codecs();; in AddCNCodecs()
|
/external/webrtc/webrtc/modules/utility/source/ |
D | file_player_impl.h | 55 virtual int32_t AudioCodec(CodecInst& audioCodec) const;
|
D | file_player_impl.cc | 90 int32_t FilePlayerImpl::AudioCodec(CodecInst& audioCodec) const in AudioCodec() function in webrtc::FilePlayerImpl
|
/external/webrtc/webrtc/modules/utility/include/ |
D | file_player.h | 75 virtual int32_t AudioCodec(CodecInst& audioCodec) const = 0;
|