Home
last modified time | relevance | path

Searched refs:NextPacket (Results 1 – 25 of 55) sorted by relevance

123

/external/webrtc/webrtc/test/testsupport/
Dpacket_reader_unittest.cc44 EXPECT_EQ(-1, reader_->NextPacket(&data_pointer)); in TEST_F()
50 ASSERT_EQ(0, reader_->NextPacket(&packet_data_pointer_)); in TEST_F()
61 int length_to_read = reader_->NextPacket(&data_pointer); in TEST_F()
66 length_to_read = reader_->NextPacket(&data_pointer); in TEST_F()
78 int length_to_read = reader_->NextPacket(&data_pointer); in TEST_F()
83 length_to_read = reader_->NextPacket(&data_pointer); in TEST_F()
93 int length_to_read = reader_->NextPacket(&packet_data_pointer_); in TEST_F()
97 length_to_read = reader_->NextPacket(&packet_data_pointer_); in TEST_F()
101 length_to_read = reader_->NextPacket(&packet_data_pointer_); in TEST_F()
106 length_to_read = reader_->NextPacket(&packet_data_pointer_); in TEST_F()
[all …]
Dpacket_reader.h41 virtual int NextPacket(uint8_t** packet_pointer);
Dpacket_reader.cc37 int PacketReader::NextPacket(uint8_t** packet_pointer) { in NextPacket() function in webrtc::test::PacketReader
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpacket_buffer_unittest.cc31 Packet* NextPacket(int payload_size_bytes);
52 Packet* PacketGenerator::NextPacket(int payload_size_bytes) { in NextPacket() function in webrtc::PacketGenerator
93 Packet* packet = gen.NextPacket(payload_len); in TEST()
116 Packet* packet = gen.NextPacket(payload_len); in TEST()
137 Packet* packet = gen.NextPacket(payload_len); in TEST()
146 Packet* packet = gen.NextPacket(payload_len); in TEST()
166 Packet* packet = gen.NextPacket(payload_len); in TEST()
202 Packet* packet = gen.NextPacket(payload_len); in TEST()
206 Packet* packet = gen.NextPacket(payload_len); in TEST()
270 Packet* packet = gen.NextPacket(kPayloadLength); in TEST()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264_unittest.cc94 ASSERT_TRUE(packetizer->NextPacket(packet.get(), &length, &last)); in TestFua()
100 EXPECT_FALSE(packetizer->NextPacket(packet.get(), &length, &last)); in TestFua()
165 ASSERT_TRUE(packetizer->NextPacket(packet, &length, &last)); in TEST()
170 EXPECT_FALSE(packetizer->NextPacket(packet, &length, &last)); in TEST()
195 ASSERT_TRUE(packetizer->NextPacket(packet, &length, &last)); in TEST()
199 ASSERT_TRUE(packetizer->NextPacket(packet, &length, &last)); in TEST()
204 EXPECT_FALSE(packetizer->NextPacket(packet, &length, &last)); in TEST()
232 ASSERT_TRUE(packetizer->NextPacket(packet, &length, &last)); in TEST()
240 EXPECT_FALSE(packetizer->NextPacket(packet, &length, &last)); in TEST()
267 ASSERT_TRUE(packetizer->NextPacket(packet, &length, &last)); in TEST()
[all …]
Dproducer_fec_unittest.cc120 RtpPacket* rtp_packet = generator_->NextPacket(i, 10); in TEST_F()
162 RtpPacket* rtp_packet = generator_->NextPacket(i * kNumPackets + j, 10); in TEST_F()
189 RtpPacket* packet = generator_->NextPacket(0, 10); in TEST_F()
Dfec_test_helper.cc28 RtpPacket* FrameGenerator::NextPacket(int offset, size_t length) { in NextPacket() function in webrtc::FrameGenerator
67 RtpPacket* red_packet = NextPacket(0, packet->length + 1); in BuildFecRedPacket()
Dfec_test_helper.h37 RtpPacket* NextPacket(int offset, size_t length);
Drtp_format.h42 virtual bool NextPacket(uint8_t* buffer,
Drtp_format_video_generic.h44 bool NextPacket(uint8_t* buffer,
Drtp_format_vp9.h58 bool NextPacket(uint8_t* buffer,
/external/webrtc/webrtc/test/
Drtp_file_reader_unittest.cc35 while (rtp_packet_source_->NextPacket(&packet)) { in CountRtpPackets()
75 while (rtp_packet_source_->NextPacket(&packet)) { in CountRtpPackets()
85 while (rtp_packet_source_->NextPacket(&packet)) { in CountRtpPacketsPerSsrc()
Drtp_file_reader.h45 virtual bool NextPacket(RtpPacket* packet) = 0;
/external/webrtc/webrtc/base/
Dtestclient.cc54 TestClient::Packet* TestClient::NextPacket(int timeout_ms) { in NextPacket() function in rtc::TestClient
91 Packet* packet = NextPacket(kTimeoutMs); in CheckNextPacket()
103 Packet* packet = NextPacket(kNoPacketTimeoutMs); in CheckNoPacket()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtp_file_source.cc56 Packet* RtpFileSource::NextPacket() { in NextPacket() function in webrtc::test::RtpFileSource
59 if (!rtp_reader_->NextPacket(&temp_packet)) { in NextPacket()
Dpacket_source.h31 virtual Packet* NextPacket() = 0;
Dconstant_pcm_packet_source.h36 Packet* NextPacket() override;
Drtc_event_log_source.h46 Packet* NextPacket() override;
Drtp_file_source.h48 Packet* NextPacket() override;
Drtpcat.cc41 while (input->NextPacket(&packet)) in main()
Dconstant_pcm_packet_source.cc38 Packet* ConstantPcmPacketSource::NextPacket() { in NextPacket() function in webrtc::test::ConstantPcmPacketSource
/external/webrtc/webrtc/modules/remote_bitrate_estimator/tools/
Dbwe_rtp_play.cc62 if (!rtp_reader->NextPacket(&packet)) { in main()
88 if (!rtp_reader->NextPacket(&packet)) { in main()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_receive_test_oldapi.cc154 for (rtc::scoped_ptr<Packet> packet(packet_source_->NextPacket()); packet; in Run()
155 packet.reset(packet_source_->NextPacket())) { in Run()
Dacm_send_test_oldapi.h50 Packet* NextPacket();
/external/webrtc/webrtc/modules/video_coding/test/
Dstream_generator.h46 bool NextPacket(VCMPacket* packet);

123