Home
last modified time | relevance | path

Searched refs:packet_length (Results 1 – 25 of 69) sorted by relevance

123

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_packet_history.cc97 void RTPPacketHistory::VerifyAndAllocatePacketLength(uint16_t packet_length) { in VerifyAndAllocatePacketLength() argument
98 assert(packet_length > 0); in VerifyAndAllocatePacketLength()
103 if (packet_length <= max_packet_length_) { in VerifyAndAllocatePacketLength()
109 it->resize(packet_length); in VerifyAndAllocatePacketLength()
111 max_packet_length_ = packet_length; in VerifyAndAllocatePacketLength()
115 uint16_t packet_length, in PutRTPPacket() argument
129 assert(packet_length > 3); in PutRTPPacket()
133 if (packet_length > max_packet_length_) { in PutRTPPacket()
135 << packet_length; in PutRTPPacket()
144 std::copy(packet, packet + packet_length, it->begin()); in PutRTPPacket()
[all …]
Drtp_packet_history.h39 uint16_t packet_length,
59 uint16_t* packet_length,
62 bool GetBestFittingPacket(uint8_t* packet, uint16_t* packet_length,
68 void GetPacket(int index, uint8_t* packet, uint16_t* packet_length,
72 void VerifyAndAllocatePacketLength(uint16_t packet_length);
Drtp_format_h264.cc144 size_t packet_length = avg_size; in PacketizeFuA() local
146 packet_length = fragment_length; in PacketizeFuA()
149 packet_length, in PacketizeFuA()
151 fragment_length == packet_length, in PacketizeFuA()
154 offset += packet_length; in PacketizeFuA()
155 fragment_length -= packet_length; in PacketizeFuA()
Dnack_rtx_unittest.cc114 int packet_length = len; in SendPacket() local
128 &restored_packet_ptr, ptr, &packet_length, rtp_receiver_->SSRC(), in SendPacket()
130 if (!parser->Parse(restored_packet_ptr, packet_length, &header)) { in SendPacket()
135 packet_length -= header.headerLength; in SendPacket()
142 packet_length, payload_specific, in SendPacket()
Drtcp_sender_unittest.cc356 uint16_t packet_length = 0; in TEST_F() local
358 &packet_length); in TEST_F()
359 EXPECT_EQ(25, packet_length); in TEST_F()
374 EXPECT_TRUE(parser->Parse(packet_, packet_length, &header)); in TEST_F()
378 receive_statistics_->IncomingPacket(header, packet_length, false); in TEST_F()
379 EXPECT_TRUE(rtp_receiver_->IncomingRtpPacket(header, packet_, packet_length, in TEST_F()
Drtp_payload_registry.cc245 int* packet_length, in RestoreOriginalPacket() argument
248 if (kRtxHeaderSize + header.headerLength > *packet_length) { in RestoreOriginalPacket()
258 *packet_length - header.headerLength - kRtxHeaderSize); in RestoreOriginalPacket()
259 *packet_length -= kRtxHeaderSize; in RestoreOriginalPacket()
Dfec_receiver_impl.h33 int packet_length,
Dfec_receiver_impl.cc74 int packet_length, uint8_t ulpfec_payload_type) { in AddReceivedRedPacket() argument
77 uint16_t payload_data_length = packet_length - header.headerLength; in AddReceivedRedPacket()
/external/chromium_org/third_party/webrtc/test/channel_transport/
Dchannel_transport.cc53 const int32_t packet_length, in IncomingRTPPacket() argument
57 channel_, incoming_rtp_packet, packet_length, PacketTime()); in IncomingRTPPacket()
62 const int32_t packet_length, in IncomingRTCPPacket() argument
66 packet_length); in IncomingRTCPPacket()
106 const int32_t packet_length, in IncomingRTPPacket() argument
110 channel_, incoming_rtp_packet, packet_length, PacketTime()); in IncomingRTPPacket()
115 const int32_t packet_length, in IncomingRTCPPacket() argument
119 packet_length); in IncomingRTCPPacket()
/external/openssl/ssl/
Ds23_pkt.c98 if (s->packet_length < (unsigned int)n) in ssl23_read_bytes()
105 j=BIO_read(s->rbio,(char *)&(p[s->packet_length]), in ssl23_read_bytes()
106 n-s->packet_length); in ssl23_read_bytes()
110 s->packet_length+=j; in ssl23_read_bytes()
111 if (s->packet_length >= (unsigned int)n) in ssl23_read_bytes()
112 return(s->packet_length); in ssl23_read_bytes()
Dd1_pkt.c197 s->packet_length = rdata->packet_length; in dtls1_copy_record()
230 rdata->packet_length = s->packet_length; in dtls1_buffer_record()
245 s->packet_length = 0; in dtls1_buffer_record()
362 s->packet_length = rdata->packet_length;
426 s->packet_length = 0; in dtls1_process_record()
496 s->packet_length = 0; in dtls1_process_record()
534 s->packet_length=0; in dtls1_process_record()
578 (s->packet_length < DTLS1_RT_HEADER_LENGTH)) in dtls1_get_record()
585 if (s->packet_length != DTLS1_RT_HEADER_LENGTH) in dtls1_get_record()
587 s->packet_length = 0; in dtls1_get_record()
[all …]
Ds23_srvr.c478 ssl3_finish_mac(s, s->packet+2, s->packet_length-2); in ssl23_get_client_hello()
480 …s->msg_callback(0, SSL2_VERSION, 0, s->packet+2, s->packet_length-2, s, s->msg_callback_arg); /* C… in ssl23_get_client_hello()
488 if ((csl+sil+cl+11) != s->packet_length) /* We can't have TLS extensions in SSL 2.0 format in ssl23_get_client_hello()
536 while (p < s->packet+s->packet_length) in ssl23_get_client_hello()
591 s->packet_length=n; in ssl23_get_client_hello()
622 s->packet_length=n; in ssl23_get_client_hello()
634 s->packet_length=0; in ssl23_get_client_hello()
Ds2_pkt.c222 if (n > (int)s->packet_length) in ssl2_read_internal()
224 n-=s->packet_length; in ssl2_read_internal()
328 s->packet_length+=n; in read_n()
332 s->packet_length=n; in read_n()
347 if ((s->s2->rbuf_left != 0) || ((s->packet_length != 0) && extend)) in read_n()
352 off=s->packet_length; in read_n()
410 s->packet_length+=n; in read_n()
412 s->packet_length=n; in read_n()
/external/chromium_org/third_party/boringssl/src/ssl/
Ds23_pkt.c98 if (s->packet_length < (unsigned int)n) in ssl23_read_bytes()
105 j=BIO_read(s->rbio,(char *)&(p[s->packet_length]), in ssl23_read_bytes()
106 n-s->packet_length); in ssl23_read_bytes()
110 s->packet_length+=j; in ssl23_read_bytes()
111 if (s->packet_length >= (unsigned int)n) in ssl23_read_bytes()
112 return(s->packet_length); in ssl23_read_bytes()
Dd1_pkt.c195 s->packet_length = rdata->packet_length; in dtls1_copy_record()
228 rdata->packet_length = s->packet_length; in dtls1_buffer_record()
235 s->packet_length = 0; in dtls1_buffer_record()
352 s->packet_length = rdata->packet_length;
416 s->packet_length = 0; in dtls1_process_record()
486 s->packet_length = 0; in dtls1_process_record()
507 s->packet_length=0; in dtls1_process_record()
551 (s->packet_length < DTLS1_RT_HEADER_LENGTH)) in dtls1_get_record()
558 if (s->packet_length != DTLS1_RT_HEADER_LENGTH) in dtls1_get_record()
560 s->packet_length = 0; in dtls1_get_record()
[all …]
Ds23_srvr.c378 s->s3->rbuf.left = s->packet_length; in ssl23_get_client_hello()
380 s->packet_length = 0; in ssl23_get_client_hello()
424 assert(n == s->packet_length); in ssl23_get_v2_client_hello()
428 ssl3_finish_mac(s, s->packet + 2, s->packet_length - 2); in ssl23_get_v2_client_hello()
430 …s->msg_callback(0, SSL2_VERSION, 0, s->packet+2, s->packet_length-2, s, s->msg_callback_arg); /* C… in ssl23_get_v2_client_hello()
432 CBS_init(&v2_client_hello, s->packet + 2, s->packet_length - 2); in ssl23_get_v2_client_hello()
516 s->packet_length = 0; in ssl23_get_v2_client_hello()
Ds3_pkt.c178 s->packet_length = 0; in ssl3_read_n()
194 s->packet_length+=n; in ssl3_read_n()
202 len = s->packet_length; in ssl3_read_n()
272 s->packet_length += n; in ssl3_read_n()
323 (s->packet_length < SSL3_RT_HEADER_LENGTH)) in ssl3_get_record()
375 if (rr->length > s->packet_length-SSL3_RT_HEADER_LENGTH) in ssl3_get_record()
516 s->packet_length=0; in ssl3_get_record()
/external/chromium_org/third_party/webrtc/test/channel_transport/include/
Dchannel_transport.h32 const int32_t packet_length,
37 const int32_t packet_length,
63 const int32_t packet_length,
68 const int32_t packet_length,
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_receiver.cc255 int packet_length, in ReceivePacket() argument
259 return ParseAndHandleEncapsulatingHeader(packet, packet_length, header); in ReceivePacket()
262 int payload_length = packet_length - header.headerLength; in ReceivePacket()
274 int packet_length, in ParseAndHandleEncapsulatingHeader() argument
281 header, packet, packet_length, ulpfec_pt) != 0) { in ParseAndHandleEncapsulatingHeader()
286 if (header.headerLength + header.paddingLength == packet_length) { in ParseAndHandleEncapsulatingHeader()
292 if (packet_length < header.headerLength) in ParseAndHandleEncapsulatingHeader()
294 if (packet_length > static_cast<int>(sizeof(restored_packet_))) in ParseAndHandleEncapsulatingHeader()
303 &restored_packet_ptr, packet, &packet_length, rtp_receiver_->SSRC(), in ParseAndHandleEncapsulatingHeader()
309 bool ret = OnRecoveredPacket(restored_packet_ptr, packet_length); in ParseAndHandleEncapsulatingHeader()
Dvie_receiver.h82 int packet_length) OVERRIDE;
95 int packet_length,
101 int packet_length,
/external/chromium_org/chrome/browser/media/
Dwebrtc_rtp_dump_writer.cc61 uint16 packet_length, in WritePacketDumpHeaderBigEndian() argument
71 base::WriteBigEndian(buffer, packet_length); in WritePacketDumpHeaderBigEndian()
72 buffer += sizeof(packet_length); in WritePacketDumpHeaderBigEndian()
280 size_t packet_length, in WriteRtpPacket() argument
310 start_time_, packet_dump_length, packet_length, dest_buffer); in WriteRtpPacket()
Dwebrtc_logging_handler_host.h97 size_t packet_length,
172 size_t packet_length,
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/interface/
Dfec_receiver.h27 int packet_length,
/external/chromium_org/media/base/
Dcontainer_names.cc810 int packet_length = -1; in CheckMpeg2TransportStream() local
851 if (packet_length < 0) { in CheckMpeg2TransportStream()
853 packet_length = 188; in CheckMpeg2TransportStream()
855 packet_length = 192; in CheckMpeg2TransportStream()
857 packet_length = 204; in CheckMpeg2TransportStream()
859 packet_length = 208; in CheckMpeg2TransportStream()
861 offset += packet_length; in CheckMpeg2TransportStream()
/external/chromium_org/third_party/webrtc/test/
Dfake_network_pipe.h64 void SendPacket(const uint8_t* packet, size_t packet_length);

123