/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | decoder_database_unittest.cc | 33 const uint8_t kPayloadType = 0; in TEST() local 37 db.RegisterPayload(kPayloadType, NetEqDecoder::kDecoderPCMu, kCodecName)); in TEST() 40 EXPECT_EQ(DecoderDatabase::kOK, db.Remove(kPayloadType)); in TEST() 47 const uint8_t kPayloadType = 0; in TEST() local 51 db.RegisterPayload(kPayloadType, NetEqDecoder::kDecoderPCMu, kCodecName)); in TEST() 53 info = db.GetDecoderInfo(kPayloadType); in TEST() 60 info = db.GetDecoderInfo(kPayloadType + 1); // Other payload type. in TEST() 66 const uint8_t kPayloadType = 0; in TEST() local 70 db.RegisterPayload(kPayloadType, NetEqDecoder::kDecoderPCMu, kCodecName)); in TEST() 71 EXPECT_EQ(kPayloadType, db.GetRtpPayloadType(NetEqDecoder::kDecoderPCMu)); in TEST() [all …]
|
D | neteq_impl_unittest.cc | 261 const uint8_t kPayloadType = 0; in TEST_F() local 268 rtp_header.header.payloadType = kPayloadType; in TEST_F() 291 EXPECT_CALL(*mock_decoder_database_, IsRed(kPayloadType)) in TEST_F() 296 EXPECT_CALL(*mock_decoder_database_, IsDtmf(kPayloadType)) in TEST_F() 298 EXPECT_CALL(*mock_decoder_database_, GetDecoder(kPayloadType)) in TEST_F() 301 EXPECT_CALL(*mock_decoder_database_, IsComfortNoise(kPayloadType)) in TEST_F() 305 EXPECT_CALL(*mock_decoder_database_, GetDecoderInfo(kPayloadType)) in TEST_F() 319 .WillRepeatedly(DoAll(SetArgPointee<2>(kPayloadType), in TEST_F() 377 const uint8_t kPayloadType = 17; // Just an arbitrary number. in TEST_F() local 381 rtp_header.header.payloadType = kPayloadType; in TEST_F() [all …]
|
D | payload_splitter_unittest.cc | 428 static const uint8_t kPayloadType = 17; // Just a random number. in TEST() local 430 packet_list.push_back(CreatePacket(kPayloadType, kPayloadLengthBytes, 0)); in TEST() 435 EXPECT_CALL(decoder_database, GetDecoderInfo(kPayloadType)) in TEST() 524 static const uint8_t kPayloadType = 17; // Just a random number. in TEST_P() local 529 packet_list.push_back(CreatePacket(kPayloadType, payload_size_bytes, in TEST_P() 540 EXPECT_CALL(decoder_database, GetDecoderInfo(kPayloadType)) in TEST_P() 565 VerifyPacket((*it), length_bytes, kPayloadType, kSequenceNumber, in TEST_P() 611 static const uint8_t kPayloadType = 17; // Just a random number. in TEST_P() local 614 Packet* packet = CreatePacket(kPayloadType, payload_length_bytes, 0); in TEST_P() 628 EXPECT_CALL(decoder_database, GetDecoderInfo(kPayloadType)) in TEST_P() [all …]
|
D | neteq_network_stats_unittest.cc | 185 rtp_generator_->GetRtpHeader(kPayloadType, frame_size_samples_, in RunTest() 190 next_send_time = rtp_generator_->GetRtpHeader(kPayloadType, in RunTest()
|
D | neteq_external_decoder_unittest.cc | 77 kPayloadType, frame_size_samples_, &rtp_header_); in GetNewPacket() 185 "pcm16-swb32", kPayloadType)); in SetUp()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | packet_unittest.cc | 46 const uint8_t kPayloadType = 17; in TEST() local 51 kPayloadType, kSequenceNumber, kTimestamp, kSsrc, packet_memory); in TEST() 56 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST() 74 const uint8_t kPayloadType = 17; in TEST() local 79 kPayloadType, kSequenceNumber, kTimestamp, kSsrc, packet_memory); in TEST() 87 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
|
D | neteq_performance_test.cc | 38 const int kPayloadType = 95; in Run() local 45 if (neteq->RegisterPayloadType(kDecoderType, kDecoderName, kPayloadType) != 0) in Run() 65 rtp_gen.GetRtpHeader(kPayloadType, kInputBlockSizeSamples, &rtp_header); in Run() 94 packet_input_time_ms = rtp_gen.GetRtpHeader(kPayloadType, in Run()
|
D | neteq_quality_test.cc | 25 const uint8_t kPayloadType = 95; variable 296 neteq_->RegisterPayloadType(decoder_type_, "noname", kPayloadType)); in SetUp() 372 rtp_generator_->GetRtpHeader(kPayloadType, in_size_samples_, in Transmit()
|
D | neteq_external_decoder_test.h | 26 static const uint8_t kPayloadType = 95;
|
D | neteq_external_decoder_test.cc | 35 kPayloadType, sample_rate_hz_)); in Init()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | nack_rtx_unittest.cc | 35 const int kPayloadType = 123; variable 205 video_codec.plType = kPayloadType; in SetUp() 209 rtp_rtcp_module_->SetRtxSendPayloadType(kRtxPayloadType, kPayloadType); in SetUp() 213 rtp_payload_registry_.SetRtxPayloadType(kRtxPayloadType, kPayloadType); in SetUp() 265 webrtc::kVideoFrameDelta, kPayloadType, timestamp, in RunRtxTest() 310 webrtc::kVideoFrameDelta, kPayloadType, timestamp, in TEST_F()
|
D | rtp_sender_unittest.cc | 1322 const uint8_t kPayloadType = 127; in TEST_F() local 1325 rtp_sender_->SetRtxPayloadType(kPayloadType - 1, kPayloadType); in TEST_F() 1328 ASSERT_EQ(0, rtp_sender_->RegisterPayload(kPayloadName, kPayloadType, 90000, in TEST_F() 1333 0, rtp_sender_->SendOutgoingData(kVideoFrameKey, kPayloadType, 1234, 4321, in TEST_F()
|
D | rtcp_sender_unittest.cc | 453 const int8_t kPayloadType = 100; in TEST_F() local 456 feedback_state.send_payload_type = kPayloadType; in TEST_F() 459 EXPECT_EQ(kPayloadType, parser()->rpsi()->PayloadType()); in TEST_F()
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
D | test_api_video.cc | 27 const unsigned char kPayloadType = 100; variable 88 dataBuffer[1] = static_cast<uint8_t>(kPayloadType); in BuildRTPheader() 160 codec.plType = kPayloadType; in TEST_F()
|
D | test_api.cc | 174 const int kPayloadType = 100; in TEST_F() local 177 rtp_payload_registry_->SetRtxPayloadType(kRtxPayloadType, kPayloadType); in TEST_F()
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | mixing_test.cc | 23 const int kPayloadType = 105; variable 27 const CodecInst kCodecL16 = {kPayloadType, "L16", 16000, 160, 1, 256000}; 28 const CodecInst kCodecOpus = {kPayloadType, "opus", 48000, 960, 1, 32000};
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | audio_coding_module_unittest_oldapi.cc | 57 const uint8_t kPayloadType = 111; variable 158 rtp_utility_(new RtpUtility(kFrameSizeSamples, kPayloadType)), in AudioCodingModuleTestOldApi() 187 codec_.pltype = kPayloadType; in SetUpL16Codec() 639 codec_.pltype = kPayloadType; in RegisterCodec() 729 config.payload_type = kPayloadType; in AcmReRegisterIsacMtTestOldApi() 748 codec_.pltype = kPayloadType; in RegisterCodec() 1683 static const int kPayloadType = 108; // Default payload type for PCM16b-wb. member in webrtc::AcmSwitchingOutputFrequencyOldApi 1691 kPayloadType), in AcmSwitchingOutputFrequencyOldApi()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | transport_feedback.h | 59 static const uint8_t kPayloadType = 205; // RTPFB, see RFC4585. variable
|
D | transport_feedback.cc | 581 CreateHeader(kFeedbackMessageType, kPayloadType, HeaderLength(), packet, in Create() 677 if (header.packet_type != kPayloadType) { in ParseFrom() 678 LOG(LS_WARNING) << "Invalid RTCP header: PT must be " << kPayloadType in ParseFrom()
|