/external/webrtc/modules/video_coding/ |
D | packet_buffer_unittest.cc | 107 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 …]
|
D | session_info_unittest.cc | 23 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/ |
D | neteq_impl.cc | 135 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 …]
|
D | neteq_impl_unittest.cc | 114 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 …]
|
D | neteq_impl.h | 342 const std::unique_ptr<PacketBuffer> packet_buffer_ RTC_GUARDED_BY(mutex_);
|
/external/webrtc/modules/video_coding/test/ |
D | stream_generator.cc | 29 memset(packet_buffer_, 0, sizeof(packet_buffer_)); in Init() 66 packet.dataPtr = packet_buffer_; in GeneratePacket()
|
D | stream_generator.h | 66 uint8_t packet_buffer_[kMaxPacketSize]; variable
|
/external/pigweed/pw_rpc/raw/public/pw_rpc/ |
D | raw_test_method_context.h | 103 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/ |
D | sender_packet_router.cc | 37 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()
|
D | sender_packet_router.h | 175 const std::unique_ptr<uint8_t[]> packet_buffer_; variable
|
/external/webrtc/video/ |
D | rtp_video_stream_receiver2.cc | 248 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()
|
D | rtp_video_stream_receiver.cc | 270 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()
|
D | rtp_video_stream_receiver2.h | 302 video_coding::PacketBuffer packet_buffer_; variable
|
D | rtp_video_stream_receiver.h | 339 video_coding::PacketBuffer packet_buffer_; variable
|