Home
last modified time | relevance | path

Searched refs:InsertPacket (Results 1 – 25 of 50) sorted by relevance

12

/external/webrtc/modules/video_coding/
Dsession_info_unittest.cc121 EXPECT_EQ(packet_buffer_size(), static_cast<size_t>(session_.InsertPacket( in TEST_F()
129 EXPECT_EQ(packet_buffer_size(), static_cast<size_t>(session_.InsertPacket( in TEST_F()
142 EXPECT_EQ(0, session_.InsertPacket(packet_, frame_buffer_, frame_data)); in TEST_F()
151 EXPECT_EQ(packet_buffer_size(), static_cast<size_t>(session_.InsertPacket( in TEST_F()
158 ASSERT_EQ(packet_buffer_size(), static_cast<size_t>(session_.InsertPacket( in TEST_F()
165 EXPECT_EQ(packet_buffer_size(), static_cast<size_t>(session_.InsertPacket( in TEST_F()
180 EXPECT_EQ(packet_buffer_size(), static_cast<size_t>(session_.InsertPacket( in TEST_F()
187 EXPECT_EQ(-3, session_.InsertPacket(packet_, frame_buffer_, frame_data)); in TEST_F()
192 EXPECT_EQ(-3, session_.InsertPacket(packet_, frame_buffer_, frame_data)); in TEST_F()
200 EXPECT_EQ(packet_buffer_size(), static_cast<size_t>(session_.InsertPacket( in TEST_F()
[all …]
Ddecoding_state_unittest.cc49 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
54 EXPECT_LE(0, frame_key.InsertPacket(packet, 0, frame_data)); in TEST()
62 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
67 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
74 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
78 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
81 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
96 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
106 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
117 EXPECT_LE(0, frame.InsertPacket(packet, 0, frame_data)); in TEST()
[all …]
Djitter_buffer_unittest.cc158 return jitter_buffer_->InsertPacket(packet, &retransmitted); in InsertPacketAndPop()
161 VCMFrameBufferEnum InsertPacket(int index) { in InsertPacket() function in webrtc::TestRunningJitterBuffer
169 return jitter_buffer_->InsertPacket(packet, &retransmitted); in InsertPacket()
251 jitter_buffer_->InsertPacket(*packet_, &retransmitted)); in TEST_F()
265 jitter_buffer_->InsertPacket(*packet_, &retransmitted)); in TEST_F()
276 jitter_buffer_->InsertPacket(*packet_, &retransmitted)); in TEST_F()
292 jitter_buffer_->InsertPacket(*packet_, &retransmitted));
308 jitter_buffer_->InsertPacket(*packet_, &retransmitted));
319 jitter_buffer_->InsertPacket(*packet_, &retransmitted));
336 jitter_buffer_->InsertPacket(*packet_, &retransmitted));
[all …]
Dpacket_buffer_unittest.cc133 packet_buffer_.InsertPacket(std::move(packet)));
432 packet_buffer_.InsertPacket(std::move(packet)));
459 IgnoreResult(packet_buffer_.InsertPacket(std::move(packet)));
529 auto frames = packet_buffer_.InsertPacket(std::move(packet)).packets; in TEST_P()
690 EXPECT_THAT(packet_buffer_.InsertPacket(std::move(packet)).packets, in TEST_F()
703 EXPECT_THAT(packet_buffer_.InsertPacket(std::move(packet)).packets, in TEST_F()
714 EXPECT_THAT(packet_buffer_.InsertPacket(std::move(packet)).packets, in TEST_F()
729 EXPECT_THAT(packet_buffer_.InsertPacket(std::move(packet)).packets, in TEST_F()
813 EXPECT_THAT(packet_buffer_.InsertPacket(std::move(packet)).packets, in TEST_F()
826 EXPECT_THAT(packet_buffer_.InsertPacket(std::move(packet)).packets, in TEST_F()
[all …]
Dreceiver_unittest.cc42 int32_t InsertPacket(int index) { in InsertPacket() function in webrtc::TestVCMReceiver
48 return receiver_.InsertPacket(packet); in InsertPacket()
57 return receiver_.InsertPacket(packet); in InsertPacketAndPop()
325 receiver_->InsertPacket(packet); in GenerateAndInsertFrame()
Dreceiver.cc56 int32_t VCMReceiver::InsertPacket(const VCMPacket& packet) { in InsertPacket() function in webrtc::VCMReceiver
61 jitter_buffer_.InsertPacket(packet, &retransmitted); in InsertPacket()
Dframe_buffer.cc79 VCMFrameBufferEnum VCMFrameBuffer::InsertPacket(const VCMPacket& packet, in InsertPacket() function in webrtc::VCMFrameBuffer
136 int retVal = _sessionInfo.InsertPacket(packet, data(), frame_data); in InsertPacket()
Dreceiver.h44 int32_t InsertPacket(const VCMPacket& packet);
Dframe_buffer.h36 VCMFrameBufferEnum InsertPacket(const VCMPacket& packet,
Dsession_info.h41 int InsertPacket(const VCMPacket& packet,
/external/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc177 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
283 EXPECT_EQ(NetEq::kFail, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
298 EXPECT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
387 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, rtc::ArrayView<const uint8_t>( in CheckBgn()
494 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
511 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, rtc::ArrayView<const uint8_t>( in TEST_F()
525 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, rtc::ArrayView<const uint8_t>( in TEST_F()
544 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
572 neteq_->InsertPacket( in TEST_F()
589 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in TEST_F()
[all …]
Dneteq_impl_unittest.cc197 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TestDtmfPacket()
286 TEST_F(NetEqImplTest, InsertPacket) { in TEST_F() argument
367 neteq_->InsertPacket(rtp_header, payload); in TEST_F()
372 neteq_->InsertPacket(rtp_header, payload); in TEST_F()
394 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F()
402 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F()
488 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F()
581 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F()
610 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F()
617 EXPECT_EQ(NetEq::kOK, neteq_->InsertPacket(rtp_header, payload)); in TEST_F()
[all …]
Dpacket_buffer_unittest.cc115 TEST(PacketBuffer, InsertPacket) { in TEST() argument
123 EXPECT_EQ(0, buffer.InsertPacket(packet.Clone(), &mock_stats)); in TEST()
148 buffer.InsertPacket(gen.NextPacket(payload_len, nullptr), &mock_stats)); in TEST()
172 buffer.InsertPacket(gen.NextPacket(payload_len, nullptr), &mock_stats)); in TEST()
182 buffer.InsertPacket(packet.Clone(), &mock_stats)); in TEST()
324 buffer.InsertPacket(packet.Clone(), &mock_stats)); in TEST()
354 buffer.InsertPacket(gen.NextPacket(payload_len, nullptr), &mock_stats); in TEST()
533 buffer->InsertPacket(std::move(packet), &mock_stats)); in TEST()
551 buffer->InsertPacket(gen.NextPacket(payload_len, nullptr), &mock_stats)); in TEST()
719 buffer.InsertPacket(std::move(packet_1), &mock_stats)); in TEST()
[all …]
Dpacket_buffer.cc84 int PacketBuffer::InsertPacket(Packet&& packet, StatisticsCalculator* stats) { in InsertPacket() function in webrtc::PacketBuffer
164 int return_val = InsertPacket(std::move(packet), stats); in InsertPacketList()
Dpacket_buffer.h55 virtual int InsertPacket(Packet&& packet, StatisticsCalculator* stats);
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sequence_number_map_unittest.cc150 uut.InsertPacket(kKnownSequenceNumber, {kArbitrary, false, false}); in TEST_F()
164 uut.InsertPacket(association.sequence_number, association.info); in TEST_F()
182 uut.InsertPacket(association.sequence_number, association.info); in TEST_P()
242 uut.InsertPacket(associations[0].sequence_number, associations[0].info); in TEST_F()
247 uut.InsertPacket(associations[1].sequence_number, associations[1].info); in TEST_F()
253 uut.InsertPacket(associations[2].sequence_number, associations[2].info); in TEST_F()
279 uut.InsertPacket(association.sequence_number, association.info); in GetObsoleteSequenceNumberReturnsNullOptMultipleEntriesObsoleted()
309 uut.InsertPacket(new_association.sequence_number, new_association.info); in GetObsoleteSequenceNumberReturnsNullOptMultipleEntriesObsoleted()
368 uut.InsertPacket(association.sequence_number, association.info); in RepeatedSequenceNumberInvalidatesAll()
373 uut.InsertPacket(new_association.sequence_number, new_association.info); in RepeatedSequenceNumberInvalidatesAll()
[all …]
Drtp_sequence_number_map.cc32 void RtpSequenceNumberMap::InsertPacket(uint16_t sequence_number, Info info) { in InsertPacket() function in webrtc::RtpSequenceNumberMap
92 InsertPacket(static_cast<uint16_t>(first_sequence_number + i), in InsertFrame()
Drtp_sequence_number_map.h55 void InsertPacket(uint16_t sequence_number, Info info);
/external/webrtc/modules/audio_coding/neteq/test/
Dneteq_decoding_test.cc109 0, neteq_->InsertPacket( in Process()
243 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in WrapTest()
310 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in LongCngWithClockDrift()
337 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, rtc::ArrayView<const uint8_t>( in LongCngWithClockDrift()
379 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, rtc::ArrayView<const uint8_t>( in LongCngWithClockDrift()
396 ASSERT_EQ(0, neteq_->InsertPacket(rtp_info, payload)); in LongCngWithClockDrift()
/external/webrtc/test/fuzzers/
Dpacket_buffer_fuzzer.cc45 IgnoreResult(packet_buffer.InsertPacket(std::move(packet))); in FuzzOneInput()
/external/webrtc/modules/audio_coding/neteq/mock/
Dmock_packet_buffer.h28 InsertPacket,
/external/webrtc/modules/audio_coding/acm2/
Dacm_receiver.h61 int InsertPacket(const RTPHeader& rtp_header,
Dacm_receiver.cc100 int AcmReceiver::InsertPacket(const RTPHeader& rtp_header, in InsertPacket() function in webrtc::acm2::AcmReceiver
136 if (neteq_->InsertPacket(rtp_header, incoming_payload) < 0) { in InsertPacket()
/external/webrtc/modules/pacing/
Dpacing_controller_unittest.cc340 void InsertPacket(PacingController* pacer, MediaStream* stream) { in InsertPacket() function in webrtc::test::PacingControllerFieldTrialTest
371 InsertPacket(&pacer, &video); in TEST_P()
386 InsertPacket(&pacer, &video); in TEST_P()
404 InsertPacket(&pacer, &video); in TEST_P()
408 InsertPacket(&pacer, &audio); in TEST_P()
431 InsertPacket(&pacer, &video); in TEST_P()
435 InsertPacket(&pacer, &audio); in TEST_P()
447 InsertPacket(&pacer, &video); in TEST_P()
451 InsertPacket(&pacer, &audio); in TEST_P()
477 InsertPacket(&pacer, &video); in TEST_P()
[all …]
/external/webrtc/modules/audio_coding/neteq/tools/
Dneteq_performance_test.cc90 int error = neteq->InsertPacket(rtp_header, input_payload); in Run()

12