Home
last modified time | relevance | path

Searched refs:packet_buffer_ (Results 1 – 14 of 14) sorted by relevance

/external/webrtc/modules/video_coding/
Dpacket_buffer_unittest.cc107 packet_buffer_(&clock_, kStartSize, kMaxSize) {} in PacketBufferTest()
133 packet_buffer_.InsertPacket(std::move(packet)));
139 PacketBuffer packet_buffer_; member in webrtc::video_coding::__anonb3610c130111::PacketBufferTest
184 packet_buffer_.ClearTo(102); in TEST_F()
296 packet_buffer_.ClearTo(seq_num); in TEST_F()
305 packet_buffer_.ClearTo(kMaxSize - 1); in TEST_F()
313 packet_buffer_.ClearTo(0); in TEST_F()
318 packet_buffer_.ClearTo(2 * kStartSize); in TEST_F()
432 packet_buffer_.InsertPacket(std::move(packet)));
459 IgnoreResult(packet_buffer_.InsertPacket(std::move(packet)));
[all …]
Dsession_info_unittest.cc23 memset(packet_buffer_, 0, sizeof(packet_buffer_)); in SetUp()
28 packet_.dataPtr = packet_buffer_; in SetUp()
37 packet_buffer_[i] = start_value + i; in FillPacket()
47 return sizeof(packet_buffer_) / sizeof(packet_buffer_[0]); in packet_buffer_size()
55 uint8_t packet_buffer_[kPacketBufferSize]; member in webrtc::TestSessionInfo
/external/webrtc/modules/audio_coding/neteq/
Dneteq_impl.cc135 packet_buffer_(std::move(deps.packet_buffer)), in NetEqImpl()
307 packet_buffer_->DiscardPacketsWithPayloadType(pt, stats_.get()); in SetCodecs()
325 packet_buffer_->DiscardPacketsWithPayloadType(rtp_payload_type, in RemovePayloadType()
391 packet_buffer_->NumSamplesInBuffer(decoder_frame_length_) + in NetworkStatistics()
417 (packet_buffer_->NumSamplesInBuffer(decoder_frame_length_) + in GetOperationsAndState()
421 result.next_packet_available = packet_buffer_->PeekNextPacket() && in GetOperationsAndState()
422 packet_buffer_->PeekNextPacket()->timestamp == in GetOperationsAndState()
485 packet_buffer_->Flush(); in FlushBuffers()
593 packet_buffer_->Flush(); in InsertPacketInternal()
730 const int ret = packet_buffer_->InsertPacketList( in InsertPacketInternal()
[all …]
Dneteq_impl_unittest.cc114 packet_buffer_ = deps.packet_buffer.get(); in CreateInstance()
244 PacketBuffer* packet_buffer_ = nullptr; member in webrtc::NetEqImplTest
397 EXPECT_EQ(i, packet_buffer_->NumPacketsInBuffer()); in TEST_F()
403 EXPECT_EQ(1u, packet_buffer_->NumPacketsInBuffer()); in TEST_F()
404 const Packet* test_packet = packet_buffer_->PeekNextPacket(); in TEST_F()
636 EXPECT_TRUE(packet_buffer_->Empty()); in TEST_F()
694 EXPECT_EQ(i + 1, packet_buffer_->NumPacketsInBuffer()); in TEST_F()
780 EXPECT_EQ(i + 1, packet_buffer_->NumPacketsInBuffer()); in TEST_P()
862 EXPECT_EQ(i + 1, packet_buffer_->NumPacketsInBuffer()); in TEST_P()
1041 EXPECT_TRUE(packet_buffer_->Empty()); in TEST_F()
[all …]
Dneteq_impl.h342 const std::unique_ptr<PacketBuffer> packet_buffer_ RTC_GUARDED_BY(mutex_);
/external/webrtc/modules/video_coding/test/
Dstream_generator.cc29 memset(packet_buffer_, 0, sizeof(packet_buffer_)); in Init()
66 packet.dataPtr = packet_buffer_; in GeneratePacket()
Dstream_generator.h66 uint8_t packet_buffer_[kMaxPacketSize]; variable
/external/pigweed/pw_rpc/raw/public/pw_rpc/
Draw_test_method_context.h103 packet_buffer_(packet_buffer) { in MessageOutput()
123 ByteSpan AcquireBuffer() override { return packet_buffer_; } in AcquireBuffer()
129 ByteSpan packet_buffer_; variable
273 PW_ASSERT(buffer.data() == packet_buffer_.data()); in SendAndReleaseBuffer()
/external/openscreen/cast/streaming/
Dsender_packet_router.cc37 packet_buffer_(new uint8_t[packet_buffer_size_]), in SenderPacketRouter()
187 absl::Span<uint8_t>(packet_buffer_.get(), packet_buffer_size_)); in SendJustTheRtcpPackets()
213 absl::Span<uint8_t>(packet_buffer_.get(), packet_buffer_size_)); in SendJustTheRtpPackets()
Dsender_packet_router.h175 const std::unique_ptr<uint8_t[]> packet_buffer_; variable
/external/webrtc/video/
Drtp_video_stream_receiver2.cc248 packet_buffer_(clock_, kPacketBufferStartSize, PacketBufferMaxSize()), in RtpVideoStreamReceiver2()
601 OnInsertedPacket(packet_buffer_.InsertPacket(std::move(packet))); in OnReceivedPayloadData()
912 return packet_buffer_.LastReceivedPacketMs(); in LastReceivedPacketMs()
917 return packet_buffer_.LastReceivedKeyframePacketMs(); in LastReceivedKeyframePacketMs()
1001 OnInsertedPacket(packet_buffer_.InsertPadding(seq_num)); in NotifyReceiverOfEmptyPacket()
1081 packet_buffer_.ClearTo(seq_num); in FrameDecoded()
Drtp_video_stream_receiver.cc270 packet_buffer_(clock_, kPacketBufferStartSize, PacketBufferMaxSize()), in RtpVideoStreamReceiver()
633 OnInsertedPacket(packet_buffer_.InsertPacket(std::move(packet))); in OnReceivedPayloadData()
940 return packet_buffer_.LastReceivedPacketMs(); in LastReceivedPacketMs()
945 return packet_buffer_.LastReceivedKeyframePacketMs(); in LastReceivedKeyframePacketMs()
1028 OnInsertedPacket(packet_buffer_.InsertPadding(seq_num)); in NotifyReceiverOfEmptyPacket()
1110 packet_buffer_.ClearTo(seq_num); in FrameDecoded()
Drtp_video_stream_receiver2.h302 video_coding::PacketBuffer packet_buffer_; variable
Drtp_video_stream_receiver.h339 video_coding::PacketBuffer packet_buffer_; variable