Home
last modified time | relevance | path

Searched refs:packet_ (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/
Djitter_buffer_unittest.cc34 Vp9SsMapTest() : packet_(data_, 1400, 1234, 1, true) {} in Vp9SsMapTest()
37 packet_.isFirstPacket = true; in SetUp()
38 packet_.markerBit = true; in SetUp()
39 packet_.frameType = kVideoFrameKey; in SetUp()
40 packet_.codec = kVideoCodecVP9; in SetUp()
41 packet_.codecSpecificHeader.codec = kRtpVideoVp9; in SetUp()
42 packet_.codecSpecificHeader.codecHeader.VP9.flexible_mode = false; in SetUp()
43 packet_.codecSpecificHeader.codecHeader.VP9.gof_idx = 0; in SetUp()
44 packet_.codecSpecificHeader.codecHeader.VP9.temporal_idx = kNoTemporalIdx; in SetUp()
45 packet_.codecSpecificHeader.codecHeader.VP9.temporal_up_switch = false; in SetUp()
[all …]
Dsession_info_unittest.cc26 packet_.Reset(); in SetUp()
27 packet_.frameType = kVideoFrameDelta; in SetUp()
28 packet_.sizeBytes = packet_buffer_size(); in SetUp()
29 packet_.dataPtr = packet_buffer_; in SetUp()
30 packet_.seqNum = 0; in SetUp()
31 packet_.timestamp = 0; in SetUp()
60 VCMPacket packet_; member in webrtc::TestSessionInfo
101 packet_.codec = kVideoCodecVP8; in SetUp()
150 packet_.isFirstPacket = true; in TEST_F()
151 packet_.seqNum = 0xFFFE; in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history_unittest.cc39 uint8_t packet_[kMaxPacketLength]; member in webrtc::RtpPacketHistoryTest
71 CreateRtpPacket(kSeqNum, kSsrc, kPayload, kTimestamp, packet_, &len); in TEST_F()
72 EXPECT_EQ(0, hist_->PutRTPPacket(packet_, len, capture_time_ms, in TEST_F()
77 EXPECT_FALSE(hist_->GetPacketAndSetSendTime(kSeqNum, 0, false, packet_, &len, in TEST_F()
84 EXPECT_EQ(-1, hist_->PutRTPPacket(packet_, kMaxPacketLength + 1, in TEST_F()
92 EXPECT_FALSE(hist_->GetPacketAndSetSendTime(0, 0, false, packet_, &len, in TEST_F()
99 CreateRtpPacket(kSeqNum, kSsrc, kPayload, kTimestamp, packet_, &len); in TEST_F()
103 EXPECT_EQ(0, hist_->PutRTPPacket(packet_, len, capture_time_ms, in TEST_F()
112 CreateRtpPacket(kSeqNum, kSsrc, kPayload, kTimestamp, packet_, &len); in TEST_F()
113 EXPECT_EQ(0, hist_->PutRTPPacket(packet_, len, capture_time_ms, in TEST_F()
[all …]
Drtp_sender_unittest.cc148 uint8_t packet_[kMaxPacketLength]; member in webrtc::RtpSenderTest
167 packet_, kPayload, kMarkerBit, timestamp, capture_time_ms); in SendPacket()
172 packet_, payload_length, rtp_length, capture_time_ms, in SendPacket()
204 packet_, kPayload, expect_cvo /* marker_bit */, kTimestamp, 0)); in VerifyCVOPacket()
331 packet_, kPayload, kMarkerBit, kTimestamp, 0)); in TEST_F()
335 webrtc::RtpUtility::RtpHeaderParser rtp_parser(packet_, length); in TEST_F()
362 packet_, kPayload, kMarkerBit, kTimestamp, 0)); in TEST_F()
367 webrtc::RtpUtility::RtpHeaderParser rtp_parser(packet_, length); in TEST_F()
402 packet_, kPayload, kMarkerBit, kTimestamp, 0)); in TEST_F()
407 webrtc::RtpUtility::RtpHeaderParser rtp_parser(packet_, length); in TEST_F()
[all …]
Drtp_format_vp9_unittest.cc130 rtc::scoped_ptr<uint8_t[]> packet_; member in webrtc::RtpPacketizerVp9Test
146 packet_.reset(new uint8_t[payload_size_ + kMaxPayloadDescriptorLength]); in Init()
166 EXPECT_FALSE(packetizer_->NextPacket(packet_.get(), &length, &last)); in CreateParseAndCheckPackets()
170 EXPECT_TRUE(packetizer_->NextPacket(packet_.get(), &length, &last)); in CreateParseAndCheckPackets()
175 ParseAndCheckPacket(packet_.get(), hdr, expected_hdr_sizes[i], length); in CreateParseAndCheckPackets()
176 CheckPayload(packet_.get(), expected_hdr_sizes[i], length, last); in CreateParseAndCheckPackets()
Drtcp_packet.cc309 : called_(false), packet_(packet) {} in Build()
314 packet_->SetLength(length); in Build()
319 RawPacket* const packet_; in Build() member in webrtc::rtcp::RtcpPacket::Build::PacketVerifier
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc324 rtc::scoped_ptr<test::Packet> packet_; member in webrtc::NetEqDecodingTest
411 while (packet_ && sim_clock_ >= packet_->time_ms()) { in Process()
412 if (packet_->payload_length_bytes() > 0) { in Process()
414 packet_->ConvertHeader(&rtp_header); in Process()
418 packet_->payload(), packet_->payload_length_bytes()), in Process()
419 static_cast<uint32_t>(packet_->time_ms() * in Process()
423 packet_.reset(rtp_source_->NextPacket()); in Process()
466 packet_.reset(rtp_source_->NextPacket()); in DecodeAndCompare()
468 while (packet_) { in DecodeAndCompare()