Home
last modified time | relevance | path

Searched refs:packets_ (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dsession_info.cc36 packets_(), in VCMSessionInfo()
45 for (PacketIterator it = packets_.begin(); it != packets_.end(); ++it) in UpdateDataPointers()
53 if (packets_.empty()) in LowSequenceNumber()
55 return packets_.front().seqNum; in LowSequenceNumber()
59 if (packets_.empty()) in HighSequenceNumber()
62 return packets_.back().seqNum; in HighSequenceNumber()
63 return LatestSequenceNumber(packets_.back().seqNum, empty_seq_num_high_); in HighSequenceNumber()
67 if (packets_.empty() || in PictureId()
68 packets_.front().codecSpecificHeader.codec != kRtpVideoVp8) in PictureId()
70 return packets_.front().codecSpecificHeader.codecHeader.VP8.pictureId; in PictureId()
[all …]
Dsession_info.h155 PacketList packets_; variable
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/test/
Dstream_generator.cc27 : packets_(), in StreamGenerator()
35 packets_.clear(); in Init()
51 packets_.push_back(GeneratePacket( in GenerateFrame()
56 packets_.push_back(GeneratePacket( in GenerateFrame()
88 if (it == packets_.end()) in PopPacket()
92 packets_.erase(it); in PopPacket()
98 if (it == packets_.end()) in GetPacket()
106 if (packets_.empty()) in NextPacket()
109 *packet = packets_.front(); in NextPacket()
110 packets_.pop_front(); in NextPacket()
[all …]
Dstream_generator.h64 std::list<VCMPacket> packets_; variable
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
Dfifo_packet.cc25 return packets_.empty(); in IsEmpty()
49 if (packets_.empty()) in PeekPacket()
52 return packets_.back(); in PeekPacket()
56 if (packets_.empty()) in ReadPacket()
59 Packet* out = packets_.back(); in ReadPacket()
60 packets_.pop_back(); in ReadPacket()
68 packets_.push_front(packet); in WritePacket()
Dfifo_packet.h49 std::list<Packet*> packets_;
/external/chromium_org/third_party/webrtc/base/
Dtestclient.cc23 packets_ = new std::vector<Packet*>(); in TestClient()
30 for (unsigned i = 0; i < packets_->size(); i++) in ~TestClient()
31 delete (*packets_)[i]; in ~TestClient()
32 delete packets_; in ~TestClient()
70 if (packets_->size() != 0) { in NextPacket()
80 if (packets_->size() > 0) { in NextPacket()
81 packet = packets_->front(); in NextPacket()
82 packets_->erase(packets_->begin()); in NextPacket()
125 packets_->push_back(new Packet(remote_addr, buf, size)); in OnPacket()
Dtestclient.h86 std::vector<Packet*>* packets_; variable
/external/chromium_org/media/cast/net/rtp/
Dframe_buffer.cc21 packets_() {} in FrameBuffer()
29 if (packets_.empty()) { in InsertPacket()
44 if (packets_.find(rtp_header.packet_id) != packets_.end()) { in InsertPacket()
50 packets_.insert(make_pair(rtp_header.packet_id, data)); in InsertPacket()
87 for (it = packets_.begin(); it != packets_.end(); ++it) in AssembleEncodedFrame()
98 for (PacketMap::const_iterator i = packets_.begin(); in GetMissingPackets()
99 i != packets_.end() && packet <= maximum; in GetMissingPackets()
Dframe_buffer.h50 PacketMap packets_; variable
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_format_h264.cc112 assert(packets_.empty()); in SetPayloadData()
148 packets_.push(Packet(offset, in PacketizeFuA()
170 packets_.push(Packet(fragment_offset, in PacketizeStapA()
194 packets_.back().last_fragment = true; in PacketizeStapA()
202 if (packets_.empty()) { in NextPacket()
208 Packet packet = packets_.front(); in NextPacket()
214 packets_.pop(); in NextPacket()
223 *last_packet = packets_.empty(); in NextPacket()
229 Packet packet = packets_.front(); in NextAggregatePacket()
244 packets_.pop(); in NextAggregatePacket()
[all …]
Drtp_format_vp8.cc308 if (packets_.empty()) { in NextPacket()
311 InfoStruct packet_info = packets_.front(); in NextPacket()
312 packets_.pop(); in NextPacket()
320 *last_packet = packets_.empty(); in NextPacket()
552 packets_.push(packet_info); in QueuePacket()
Drtp_format_h264.h86 PacketQueue packets_; variable
Drtp_format_vp8.h212 InfoQueue packets_; variable
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Drtp_player.cc78 packets_(), in LostPackets()
89 while (!packets_.empty()) { in ~LostPackets()
90 delete packets_.back(); in ~LostPackets()
91 packets_.pop_back(); in ~LostPackets()
103 packets_.push_back(packet); in AddPacket()
111 for (RtpPacketIterator it = packets_.begin(); it != packets_.end(); ++it) { in SetResendTime()
128 for (RtpPacketIterator it = packets_.begin(); it != packets_.end(); ++it) { in NextPacketToResend()
132 packets_.erase(it); in NextPacketToResend()
142 for (ConstRtpPacketIterator it = packets_.begin(); it != packets_.end(); in NumberOfPacketsToResend()
164 printf("Packets still lost: %zd\n", packets_.size()); in Print()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Ddatachannel.cc52 return packets_.empty(); in Empty()
56 return packets_.front(); in Front()
60 if (packets_.empty()) { in Pop()
64 byte_count_ -= packets_.front()->size(); in Pop()
65 packets_.pop_front(); in Pop()
70 packets_.push_back(packet); in Push()
74 while (!packets_.empty()) { in Clear()
75 delete packets_.front(); in Clear()
76 packets_.pop_front(); in Clear()
86 other->packets_.swap(packets_); in Swap()
Ddatachannel.h203 std::deque<DataBuffer*> packets_;
/external/chromium_org/third_party/webrtc/test/
Drtp_file_reader.cc208 packets_(), in PcapReader()
243 } else if (result == kResultSuccess && packets_.size() == 1) { in Initialize()
245 PacketIterator it = packets_.begin(); in Initialize()
257 printf("Total RTP/RTCP packets: %d\n", static_cast<int>(packets_.size())); in Initialize()
263 uint8_t pt = packets_[packet_numbers[0]].rtp_header.payloadType; in Initialize()
284 next_packet_it_ = packets_.begin(); in Initialize()
301 if (next_packet_it_ == packets_.end()) { in NextPcap()
402 packets_.push_back(marker); in ReadPacket()
411 packets_.push_back(marker); in ReadPacket()
578 std::vector<RtpPacketMarker> packets_; member in webrtc::test::PcapReader
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/automated/
Dvie_network_test.cc25 RtcpCollectorTransport() : packets_() {} in RtcpCollectorTransport()
47 packets_.push_back(p); in SendRTCPPacket()
55 for (std::vector<Packet>::const_iterator it = packets_.begin(); in FindREMBFor()
56 it != packets_.end(); ++it) { in FindREMBFor()
100 std::vector<Packet> packets_; member in __anoncbf1b6550111::RtcpCollectorTransport
/external/chromium_org/net/quic/test_tools/
Dcrypto_test_utils.cc204 CHECK_NE(0u, client_conn->packets_.size()); in HandshakeWithFakeServer()
249 CHECK_EQ(1u, client_conn->packets_.size()); in HandshakeWithFakeClient()
303 ASSERT_GT(a_conn->packets_.size(), a_i); in CommunicateHandshakeMessagesAndRunCallbacks()
304 LOG(INFO) << "Processing " << a_conn->packets_.size() - a_i in CommunicateHandshakeMessagesAndRunCallbacks()
311 ASSERT_GT(b_conn->packets_.size(), b_i); in CommunicateHandshakeMessagesAndRunCallbacks()
312 LOG(INFO) << "Processing " << b_conn->packets_.size() - b_i in CommunicateHandshakeMessagesAndRunCallbacks()
329 LOG(INFO) << "Processing " << a_conn->packets_.size() - a_i in AdvanceHandshake()
333 LOG(INFO) << "Processing " << b_conn->packets_.size() - b_i in AdvanceHandshake()
335 if (b_conn->packets_.size() - b_i == 2) { in AdvanceHandshake()
/external/chromium_org/media/cast/test/utility/
Dudp_proxy_main.cc21 ByteCounter() : bytes_(0), packets_(0) { in ByteCounter()
31 packet_data_.push_back(packets_); in push()
52 packets_ ++; in Increment()
57 uint64 packets_; member in ByteCounter
Dtap_proxy.cc125 ByteCounter() : bytes_(0), packets_(0) { in ByteCounter()
135 packet_data_.push_back(packets_); in push()
156 packets_ ++; in Increment()
161 uint64 packets_; member in ByteCounter
/external/chromium_org/media/ffmpeg/
Dffmpeg_unittest.cc48 return packets_.empty(); in empty()
52 return packets_.front(); in peek()
56 AVPacket* packet = packets_.front(); in pop()
57 packets_.pop(); in pop()
64 packets_.push(packet); in push()
74 std::queue<AVPacket*> packets_; member in media::AVPacketQueue
/external/chromium_org/net/quic/
Dquic_network_transaction_unittest.cc69 STLDeleteElements(&packets_); in ~MockQuicData()
75 packets_.push_back(packet.release()); in AddRead()
85 packets_.push_back(packet.release()); in AddWrite()
98 std::vector<QuicEncryptedPacket*> packets_; member in net::test::MockQuicData
Dquic_sent_packet_manager_test.cc67 STLDeleteElements(&packets_); in ~QuicSentPacketManagerTest()
191 packets_.push_back(QuicPacket::NewDataPacket( in CreatePacket()
196 packets_.back(), 0u, in CreatePacket()
201 packets_.push_back(QuicPacket::NewFecPacket( in CreateFecPacket()
205 packets_.back(), 0u, NULL); in CreateFecPacket()
276 vector<QuicPacket*> packets_; member in net::test::__anon5e97cc080111::QuicSentPacketManagerTest

12