/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | audio_decoder_impl.cc | 76 bool CodecSupported(NetEqDecoder codec_type) { in CodecSupported() 78 case NetEqDecoder::kDecoderPCMu: in CodecSupported() 79 case NetEqDecoder::kDecoderPCMa: in CodecSupported() 80 case NetEqDecoder::kDecoderPCMu_2ch: in CodecSupported() 81 case NetEqDecoder::kDecoderPCMa_2ch: in CodecSupported() 83 case NetEqDecoder::kDecoderILBC: in CodecSupported() 86 case NetEqDecoder::kDecoderISAC: in CodecSupported() 89 case NetEqDecoder::kDecoderISACswb: in CodecSupported() 91 case NetEqDecoder::kDecoderPCM16B: in CodecSupported() 92 case NetEqDecoder::kDecoderPCM16Bwb: in CodecSupported() [all …]
|
D | audio_decoder_unittest.cc | 682 EXPECT_EQ(8000, CodecSampleRateHz(NetEqDecoder::kDecoderPCMu)); in TEST() 683 EXPECT_EQ(8000, CodecSampleRateHz(NetEqDecoder::kDecoderPCMa)); in TEST() 684 EXPECT_EQ(8000, CodecSampleRateHz(NetEqDecoder::kDecoderPCMu_2ch)); in TEST() 685 EXPECT_EQ(8000, CodecSampleRateHz(NetEqDecoder::kDecoderPCMa_2ch)); in TEST() 687 CodecSampleRateHz(NetEqDecoder::kDecoderILBC)); in TEST() 689 CodecSampleRateHz(NetEqDecoder::kDecoderISAC)); in TEST() 691 CodecSampleRateHz(NetEqDecoder::kDecoderISACswb)); in TEST() 692 EXPECT_EQ(8000, CodecSampleRateHz(NetEqDecoder::kDecoderPCM16B)); in TEST() 693 EXPECT_EQ(16000, CodecSampleRateHz(NetEqDecoder::kDecoderPCM16Bwb)); in TEST() 694 EXPECT_EQ(32000, CodecSampleRateHz(NetEqDecoder::kDecoderPCM16Bswb32kHz)); in TEST() [all …]
|
D | decoder_database_unittest.cc | 37 db.RegisterPayload(kPayloadType, NetEqDecoder::kDecoderPCMu, kCodecName)); in TEST() 51 db.RegisterPayload(kPayloadType, NetEqDecoder::kDecoderPCMu, kCodecName)); in TEST() 55 EXPECT_EQ(NetEqDecoder::kDecoderPCMu, info->codec_type); in TEST() 70 db.RegisterPayload(kPayloadType, NetEqDecoder::kDecoderPCMu, kCodecName)); in TEST() 71 EXPECT_EQ(kPayloadType, db.GetRtpPayloadType(NetEqDecoder::kDecoderPCMu)); in TEST() 75 NetEqDecoder::kDecoderISAC)); // iSAC is not registered. in TEST() 83 db.RegisterPayload(kPayloadType, NetEqDecoder::kDecoderPCM16B, in TEST() 99 db.RegisterPayload(kPayloadTypePcmU, NetEqDecoder::kDecoderPCMu, "pcmu")); in TEST() 101 db.RegisterPayload(kPayloadTypeCng, NetEqDecoder::kDecoderCNGnb, in TEST() 105 db.RegisterPayload(kPayloadTypeDtmf, NetEqDecoder::kDecoderAVT, "avt")); in TEST() [all …]
|
D | payload_splitter_unittest.cc | 313 decoder_database.RegisterPayload(0, NetEqDecoder::kDecoderCNGnb, "cng-nb"); in TEST() 314 decoder_database.RegisterPayload(1, NetEqDecoder::kDecoderPCMu, "pcmu"); in TEST() 315 decoder_database.RegisterPayload(2, NetEqDecoder::kDecoderAVT, "avt"); in TEST() 316 decoder_database.RegisterPayload(3, NetEqDecoder::kDecoderILBC, "ilbc"); in TEST() 375 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderISAC, 16000, NULL, in TEST() 380 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderISACswb, 32000, in TEST() 385 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderRED, 8000, NULL, in TEST() 390 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderAVT, 8000, NULL, in TEST() 395 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderCNGnb, 8000, NULL, in TEST() 400 new DecoderDatabase::DecoderInfo(NetEqDecoder::kDecoderArbitrary, 8000, in TEST() [all …]
|
D | decoder_database.h | 41 DecoderInfo(NetEqDecoder ct, int fs, AudioDecoder* dec, bool ext) in DecoderInfo() 43 DecoderInfo(NetEqDecoder ct, in DecoderInfo() 56 NetEqDecoder codec_type = NetEqDecoder::kDecoderArbitrary; 88 NetEqDecoder codec_type, 94 NetEqDecoder codec_type, 111 virtual uint8_t GetRtpPayloadType(NetEqDecoder codec_type) const; 120 NetEqDecoder codec_type) const;
|
D | timestamp_scaler.cc | 47 case NetEqDecoder::kDecoderG722: in ToInternal() 48 case NetEqDecoder::kDecoderG722_2ch: { in ToInternal() 55 case NetEqDecoder::kDecoderAVT: in ToInternal() 56 case NetEqDecoder::kDecoderCNGnb: in ToInternal() 57 case NetEqDecoder::kDecoderCNGwb: in ToInternal() 58 case NetEqDecoder::kDecoderCNGswb32kHz: in ToInternal() 59 case NetEqDecoder::kDecoderCNGswb48kHz: { in ToInternal()
|
D | payload_splitter.cc | 155 case NetEqDecoder::kDecoderOpus: in SplitFec() 156 case NetEqDecoder::kDecoderOpus_2ch: { in SplitFec() 239 case NetEqDecoder::kDecoderPCMu: in SplitAudio() 240 case NetEqDecoder::kDecoderPCMa: { in SplitAudio() 245 case NetEqDecoder::kDecoderPCMu_2ch: in SplitAudio() 246 case NetEqDecoder::kDecoderPCMa_2ch: { in SplitAudio() 251 case NetEqDecoder::kDecoderG722: { in SplitAudio() 256 case NetEqDecoder::kDecoderPCM16B: { in SplitAudio() 261 case NetEqDecoder::kDecoderPCM16Bwb: { in SplitAudio() 266 case NetEqDecoder::kDecoderPCM16Bswb32kHz: { in SplitAudio() [all …]
|
D | audio_decoder_impl.h | 60 using NetEqDecoder = acm2::RentACodec::NetEqDecoder; variable 63 bool CodecSupported(NetEqDecoder codec_type); 66 int CodecSampleRateHz(NetEqDecoder codec_type); 71 AudioDecoder* CreateAudioDecoder(NetEqDecoder codec_type);
|
D | decoder_database.cc | 42 NetEqDecoder codec_type, in RegisterPayload() 61 NetEqDecoder codec_type, in InsertExternal() 112 NetEqDecoder codec_type) const { in GetRtpPayloadType() 145 NetEqDecoder codec_type) const { in IsType() 155 if (IsType(rtp_payload_type, NetEqDecoder::kDecoderCNGnb) || in IsComfortNoise() 156 IsType(rtp_payload_type, NetEqDecoder::kDecoderCNGwb) || in IsComfortNoise() 157 IsType(rtp_payload_type, NetEqDecoder::kDecoderCNGswb32kHz) || in IsComfortNoise() 158 IsType(rtp_payload_type, NetEqDecoder::kDecoderCNGswb48kHz)) { in IsComfortNoise() 166 return IsType(rtp_payload_type, NetEqDecoder::kDecoderAVT); in IsDtmf() 170 return IsType(rtp_payload_type, NetEqDecoder::kDecoderRED); in IsRed()
|
D | neteq_stereo_unittest.cc | 89 NetEqDecoder mono_decoder; in SetUp() 90 NetEqDecoder multi_decoder; in SetUp() 93 mono_decoder = NetEqDecoder::kDecoderPCM16B; in SetUp() 95 multi_decoder = NetEqDecoder::kDecoderPCM16B_2ch; in SetUp() 97 multi_decoder = NetEqDecoder::kDecoderPCM16B_5ch; in SetUp() 103 mono_decoder = NetEqDecoder::kDecoderPCM16Bwb; in SetUp() 105 multi_decoder = NetEqDecoder::kDecoderPCM16Bwb_2ch; in SetUp() 111 mono_decoder = NetEqDecoder::kDecoderPCM16Bswb32kHz; in SetUp() 113 multi_decoder = NetEqDecoder::kDecoderPCM16Bswb32kHz_2ch; in SetUp() 119 mono_decoder = NetEqDecoder::kDecoderPCM16Bswb48kHz; in SetUp() [all …]
|
D | timestamp_scaler_unittest.cc | 28 NetEqDecoder::kDecoderPCMu; // Does not use scaled timestamps. in TEST() 49 NetEqDecoder::kDecoderPCMu; // Does not use scaled timestamps. in TEST() 74 info.codec_type = NetEqDecoder::kDecoderG722; // Uses a factor 2 scaling. in TEST() 98 info.codec_type = NetEqDecoder::kDecoderG722; // Uses a factor 2 scaling. in TEST() 127 NetEqDecoder::kDecoderG722; // Uses a factor 2 scaling. in TEST() 128 info_cng.codec_type = NetEqDecoder::kDecoderCNGwb; in TEST() 169 NetEqDecoder::kDecoderG722; // Does uses a factor 2 scaling. in TEST() 197 info.codec_type = NetEqDecoder::kDecoderG722; // Uses a factor 2 scaling. in TEST() 226 info.codec_type = NetEqDecoder::kDecoderG722; // Uses a factor 2 scaling. in TEST() 266 info.codec_type = NetEqDecoder::kDecoderOpus; in TEST()
|
D | delay_manager.cc | 375 void DelayManager::LastDecoderType(NetEqDecoder decoder_type) { in LastDecoderType() 376 if (decoder_type == NetEqDecoder::kDecoderAVT || in LastDecoderType() 377 decoder_type == NetEqDecoder::kDecoderCNGnb || in LastDecoderType() 378 decoder_type == NetEqDecoder::kDecoderCNGwb || in LastDecoderType() 379 decoder_type == NetEqDecoder::kDecoderCNGswb32kHz || in LastDecoderType() 380 decoder_type == NetEqDecoder::kDecoderCNGswb48kHz) { in LastDecoderType()
|
D | neteq_external_decoder_unittest.cc | 30 NetEqExternalDecoderUnitTest(NetEqDecoder codec, in NetEqExternalDecoderUnitTest() 172 : NetEqExternalDecoderUnitTest(NetEqDecoder::kDecoderPCM16Bswb32kHz, in NetEqExternalVsInternalDecoderTest() 175 CodecSampleRateHz(NetEqDecoder::kDecoderPCM16Bswb32kHz)) { in NetEqExternalVsInternalDecoderTest() 178 CodecSampleRateHz(NetEqDecoder::kDecoderPCM16Bswb32kHz); in NetEqExternalVsInternalDecoderTest() 184 NetEqDecoder::kDecoderPCM16Bswb32kHz, in SetUp() 251 : NetEqExternalDecoderUnitTest(NetEqDecoder::kDecoderPCM16B, in LargeTimestampJumpTest()
|
D | neteq_unittest.cc | 288 void SelectDecoders(NetEqDecoder* used_codec); 365 neteq_->RegisterPayloadType(NetEqDecoder::kDecoderPCMu, "pcmu", 0)); in LoadDecoders() 368 neteq_->RegisterPayloadType(NetEqDecoder::kDecoderPCMa, "pcma", 8)); in LoadDecoders() 372 0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderILBC, "ilbc", 102)); in LoadDecoders() 377 0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderISAC, "isac", 103)); in LoadDecoders() 381 ASSERT_EQ(0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderISACswb, in LoadDecoders() 385 ASSERT_EQ(0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderOpus, in LoadDecoders() 389 ASSERT_EQ(0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderPCM16B, in LoadDecoders() 392 ASSERT_EQ(0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderPCM16Bwb, in LoadDecoders() 395 ASSERT_EQ(0, neteq_->RegisterPayloadType(NetEqDecoder::kDecoderPCM16Bswb32kHz, in LoadDecoders() [all …]
|
D | neteq_network_stats_unittest.cc | 110 NetEqNetworkStatsTest(NetEqDecoder codec, in NetEqNetworkStatsTest() 276 NetEqNetworkStatsTest test(NetEqDecoder::kDecoderOpus, &decoder); in TEST() 283 NetEqNetworkStatsTest test(NetEqDecoder::kDecoderOpus, &decoder); in TEST() 290 NetEqNetworkStatsTest test(NetEqDecoder::kDecoderOpus, &decoder); in TEST()
|
D | neteq_impl_unittest.cc | 242 NetEqDecoder codec_type = NetEqDecoder::kDecoderPCMu; in TEST_F() 304 info.codec_type = NetEqDecoder::kDecoderPCMu; in TEST_F() 339 LastDecoderType(NetEqDecoder::kDecoderPCMu)) in TEST_F() 349 LastDecoderType(NetEqDecoder::kDecoderPCMu)) in TEST_F() 387 NetEqDecoder::kDecoderPCM16B, "", kPayloadType)); in TEST_F() 458 &decoder_, NetEqDecoder::kDecoderPCM16B, in TEST_F() 537 &mock_decoder, NetEqDecoder::kDecoderPCM16B, in TEST_F() 637 NetEqDecoder::kDecoderPCM16B, "", kPayloadType)); in TEST_F() 720 &mock_decoder, NetEqDecoder::kDecoderOpus, in TEST_F() 857 &decoder_, NetEqDecoder::kDecoderPCM16B, in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_codec_database.cc | 169 const NetEqDecoder ACMCodecDB::neteq_decoders_[] = { 171 NetEqDecoder::kDecoderISAC, 173 NetEqDecoder::kDecoderISACswb, 177 NetEqDecoder::kDecoderPCM16B, NetEqDecoder::kDecoderPCM16Bwb, 178 NetEqDecoder::kDecoderPCM16Bswb32kHz, 180 NetEqDecoder::kDecoderPCM16B_2ch, NetEqDecoder::kDecoderPCM16Bwb_2ch, 181 NetEqDecoder::kDecoderPCM16Bswb32kHz_2ch, 184 NetEqDecoder::kDecoderPCMu, NetEqDecoder::kDecoderPCMa, 186 NetEqDecoder::kDecoderPCMu_2ch, NetEqDecoder::kDecoderPCMa_2ch, 188 NetEqDecoder::kDecoderILBC, [all …]
|
D | rent_a_codec.cc | 99 rtc::Optional<NetEqDecoder> RentACodec::NetEqDecoderFromCodecId( in NetEqDecoderFromCodecId() 104 return rtc::Optional<NetEqDecoder>(); in NetEqDecoderFromCodecId() 105 const NetEqDecoder ned = ACMCodecDB::neteq_decoders_[*i]; in NetEqDecoderFromCodecId() 106 return rtc::Optional<NetEqDecoder>( in NetEqDecoderFromCodecId() 107 (ned == NetEqDecoder::kDecoderOpus && num_channels == 2) in NetEqDecoderFromCodecId() 108 ? NetEqDecoder::kDecoderOpus_2ch in NetEqDecoderFromCodecId()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_rtpplay.cc | 148 std::string CodecName(webrtc::NetEqDecoder codec) { in CodecName() 150 case webrtc::NetEqDecoder::kDecoderPCMu: in CodecName() 152 case webrtc::NetEqDecoder::kDecoderPCMa: in CodecName() 154 case webrtc::NetEqDecoder::kDecoderILBC: in CodecName() 156 case webrtc::NetEqDecoder::kDecoderISAC: in CodecName() 158 case webrtc::NetEqDecoder::kDecoderISACswb: in CodecName() 160 case webrtc::NetEqDecoder::kDecoderOpus: in CodecName() 162 case webrtc::NetEqDecoder::kDecoderPCM16B: in CodecName() 164 case webrtc::NetEqDecoder::kDecoderPCM16Bwb: in CodecName() 166 case webrtc::NetEqDecoder::kDecoderPCM16Bswb32kHz: in CodecName() [all …]
|
D | neteq_external_decoder_test.h | 30 NetEqExternalDecoderTest(NetEqDecoder codec, AudioDecoder* decoder); 53 NetEqDecoder codec_;
|
D | neteq_quality_test.h | 69 NetEqDecoder decoder_type); 101 NetEqDecoder decoder_type_;
|
D | neteq_performance_test.cc | 35 const webrtc::NetEqDecoder kDecoderType = in Run() 36 webrtc::NetEqDecoder::kDecoderPCM16Bswb32kHz; in Run()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | RTPencode.cc | 85 webrtc::NetEqDecoder* codec, 91 int NetEQTest_init_coders(webrtc::NetEqDecoder coder, 97 void defineCodecs(webrtc::NetEqDecoder* usedCodec, int* noOfCodecs); 98 int NetEQTest_free_coders(webrtc::NetEqDecoder coder, size_t numChannels); 99 size_t NetEQTest_encode(webrtc::NetEqDecoder coder, 283 webrtc::NetEqDecoder usedCodec; in main() 507 case webrtc::NetEqDecoder::kDecoderPCMu: in main() 508 case webrtc::NetEqDecoder::kDecoderPCMa: in main() 509 case webrtc::NetEqDecoder::kDecoderG722: { in main() 514 case webrtc::NetEqDecoder::kDecoderPCM16B: in main() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_decoder_database.h | 33 int(uint8_t rtp_payload_type, NetEqDecoder codec_type, 36 int(uint8_t rtp_payload_type, NetEqDecoder codec_type, 44 uint8_t(NetEqDecoder codec_type)); 48 bool(uint8_t rtp_payload_type, NetEqDecoder codec_type));
|
D | mock_audio_decoder.h | 35 MOCK_CONST_METHOD0(codec_type, NetEqDecoder()); 36 MOCK_METHOD1(CodecSupported, bool(NetEqDecoder));
|