Home
last modified time | relevance | path

Searched refs:AudioCodec (Results 1 – 25 of 27) sorted by relevance

12

/external/webrtc/talk/media/base/
Dcodec_unittest.cc31 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 …]
Dcodec.h129 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 {
Dcodec.cc166 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()
Dfakemediaengine.h249 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 …]
Dmediaengine.h100 virtual const std::vector<AudioCodec>& audio_codecs() = 0;
175 virtual const std::vector<AudioCodec>& audio_codecs() { in audio_codecs()
Dmediachannel.h974 struct AudioSendParameters : RtpSendParameters<AudioCodec, AudioOptions> {
977 struct AudioRecvParameters : RtpParameters<AudioCodec> {
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.h61 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_;
Dwebrtcvoiceengine.cc148 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 …]
Dwebrtcvoiceengine_unittest.cc47 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/
Dchannelmanager_unittest.cc42 static const AudioCodec kAudioCodecs[] = {
43 AudioCodec(97, "voice", 1, 2, 3, 0),
44 AudioCodec(111, "OPUS", 48000, 32000, 2, 0),
Dmediasession_unittest.cc79 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 …]
Dchannelmanager.h85 void GetSupportedAudioCodecs(std::vector<AudioCodec>* codecs) const;
Dchannel_unittest.cc65 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()
Dchannelmanager.cc146 std::vector<AudioCodec>* codecs) const { in GetSupportedAudioCodecs()
149 for (std::vector<AudioCodec>::const_iterator it = in GetSupportedAudioCodecs()
Dmediasession.h51 typedef std::vector<AudioCodec> AudioCodecs;
359 class AudioContentDescription : public MediaContentDescriptionImpl<AudioCodec> {
Dmediasession.cc1446 used_pltypes.FindAndSetIdUsed<AudioCodec>(audio_codecs); in GetCodecsToOffer()
1463 FindCodecsToOffer<AudioCodec>(audio_codecs_, audio_codecs, &used_pltypes); in GetCodecsToOffer()
Dchannel.cc1521 for (const AudioCodec& codec : audio->codecs()) { in SetLocalContent_w()
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_impl.h55 virtual int32_t AudioCodec(CodecInst& audioCodec) const;
Dfile_player_impl.cc90 int32_t FilePlayerImpl::AudioCodec(CodecInst& audioCodec) const in AudioCodec() function in webrtc::FilePlayerImpl
/external/webrtc/webrtc/modules/utility/include/
Dfile_player.h75 virtual int32_t AudioCodec(CodecInst& audioCodec) const = 0;
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp_unittest.cc48 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 …]
Dwebrtcsdp.cc1218 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 …]
Djsepsessiondescription_unittest.cc68 audio->AddCodec(cricket::AudioCodec(103, "ISAC", 16000, 0, 0, 0)); in CreateCricketSessionDescription()
Dwebrtcsession_unittest.cc485 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/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...

12