Home
last modified time | relevance | path

Searched refs:kPayloadType (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddecoder_database_unittest.cc33 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 …]
Dneteq_impl_unittest.cc261 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 …]
Dpayload_splitter_unittest.cc428 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 …]
Dneteq_network_stats_unittest.cc185 rtp_generator_->GetRtpHeader(kPayloadType, frame_size_samples_, in RunTest()
190 next_send_time = rtp_generator_->GetRtpHeader(kPayloadType, in RunTest()
Dneteq_external_decoder_unittest.cc77 kPayloadType, frame_size_samples_, &rtp_header_); in GetNewPacket()
185 "pcm16-swb32", kPayloadType)); in SetUp()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dpacket_unittest.cc46 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()
Dneteq_performance_test.cc38 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()
Dneteq_quality_test.cc25 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()
Dneteq_external_decoder_test.h26 static const uint8_t kPayloadType = 95;
Dneteq_external_decoder_test.cc35 kPayloadType, sample_rate_hz_)); in Init()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dnack_rtx_unittest.cc35 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()
Drtp_sender_unittest.cc1322 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()
Drtcp_sender_unittest.cc453 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/
Dtest_api_video.cc27 const unsigned char kPayloadType = 100; variable
88 dataBuffer[1] = static_cast<uint8_t>(kPayloadType); in BuildRTPheader()
160 codec.plType = kPayloadType; in TEST_F()
Dtest_api.cc174 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/
Dmixing_test.cc23 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/
Daudio_coding_module_unittest_oldapi.cc57 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/
Dtransport_feedback.h59 static const uint8_t kPayloadType = 205; // RTPFB, see RFC4585. variable
Dtransport_feedback.cc581 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()