Home
last modified time | relevance | path

Searched refs:kHeaderLength (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dfec_test_helper.cc48 const size_t kHeaderLength = packet->header.header.headerLength; in BuildMediaRedPacket() local
54 memcpy(red_packet->data, packet->data, kHeaderLength); in BuildMediaRedPacket()
55 SetRedHeader(red_packet, red_packet->data[1] & 0x7f, kHeaderLength); in BuildMediaRedPacket()
56 memcpy(red_packet->data + kHeaderLength + 1, packet->data + kHeaderLength, in BuildMediaRedPacket()
57 packet->length - kHeaderLength); in BuildMediaRedPacket()
69 const size_t kHeaderLength = red_packet->header.header.headerLength; in BuildFecRedPacket() local
70 SetRedHeader(red_packet, kFecPayloadType, kHeaderLength); in BuildFecRedPacket()
71 memcpy(red_packet->data + kHeaderLength + 1, packet->data, packet->length); in BuildFecRedPacket()
72 red_packet->length = kHeaderLength + 1 + packet->length; in BuildFecRedPacket()
Dreceive_statistics_unittest.cc281 const size_t kHeaderLength = 20; in TEST_F() local
285 header1_.headerLength = kHeaderLength; in TEST_F()
287 header1_, kPacketSize1 + kHeaderLength, false); in TEST_F()
290 expected.transmitted.header_bytes = kHeaderLength; in TEST_F()
305 header1_, kPacketSize1 + kHeaderLength + kPaddingLength, false); in TEST_F()
307 expected.transmitted.header_bytes = kHeaderLength * 2; in TEST_F()
315 header1_, kPacketSize1 + kHeaderLength + kPaddingLength, true); in TEST_F()
317 expected.transmitted.header_bytes = kHeaderLength * 3; in TEST_F()
321 expected.retransmitted.header_bytes = kHeaderLength; in TEST_F()
331 header1_, kPacketSize1 + kHeaderLength, false); in TEST_F()
[all …]
Drtp_format_vp8_unittest.cc428 const uint8_t kHeaderLength = 1; in TEST_F() local
436 &payload, packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
480 const uint8_t kHeaderLength = 3; in TEST_F() local
490 &payload, packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
499 const uint8_t kHeaderLength = 3; in TEST_F() local
508 &payload, packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
517 const uint8_t kHeaderLength = 3; in TEST_F() local
527 &payload, packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
536 const uint8_t kHeaderLength = 6; in TEST_F() local
548 &payload, packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
[all …]
Drtp_format_vp9_unittest.cc476 const uint8_t kHeaderLength = 1; in TEST_F() local
481 ParseAndCheckPacket(packet, expected_, kHeaderLength, sizeof(packet)); in TEST_F()
485 const uint8_t kHeaderLength = 2; in TEST_F() local
492 ParseAndCheckPacket(packet, expected_, kHeaderLength, sizeof(packet)); in TEST_F()
496 const uint8_t kHeaderLength = 3; in TEST_F() local
504 ParseAndCheckPacket(packet, expected_, kHeaderLength, sizeof(packet)); in TEST_F()
508 const uint8_t kHeaderLength = 3; in TEST_F() local
526 ParseAndCheckPacket(packet, expected_, kHeaderLength, sizeof(packet)); in TEST_F()
530 const uint8_t kHeaderLength = 2; in TEST_F() local
547 ParseAndCheckPacket(packet, expected_, kHeaderLength, sizeof(packet)); in TEST_F()
[all …]
Drtcp_packet.h118 static const size_t kHeaderLength = 4; variable
Drtp_sender.cc1238 const uint32_t kHeaderLength = kRtpOneByteHeaderLength; in BuildRTPHeaderExtension() local
1250 uint8_t* extension_data = &data_buffer[kHeaderLength + total_block_length]; in BuildRTPHeaderExtension()
1282 memset(&data_buffer[kHeaderLength + total_block_length], 0, padding_bytes); in BuildRTPHeaderExtension()
1289 return kHeaderLength + total_block_length; in BuildRTPHeaderExtension()
Drtcp_packet.cc453 size_t length = kHeaderLength; in BlockLength()
/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c323 static const size_t kHeaderLength = 13; in EVP_tls_cbc_digest_record() local
336 size_t len = data_plus_mac_plus_padding_size + kHeaderLength; in EVP_tls_cbc_digest_record()
355 size_t mac_end_offset = data_plus_mac_size + kHeaderLength - md_size; in EVP_tls_cbc_digest_record()
421 if (k < kHeaderLength) { in EVP_tls_cbc_digest_record()
423 } else if (k < data_plus_mac_plus_padding_size + kHeaderLength) { in EVP_tls_cbc_digest_record()
424 b = data[k - kHeaderLength]; in EVP_tls_cbc_digest_record()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Debsc_table.h32 kHeaderLength = kNumSizes + DataSize::kULONG, enumerator
33 kBitmapScaleTableStart = kHeaderLength,
Deblc_table.h36 kHeaderLength = kNumSizes + DataSize::kULONG, enumerator
39 kBitmapSizeTableArrayStart = kHeaderLength,
Debdt_table.cc75 int32_t size = Offset::kHeaderLength; in SubDataSizeToSerialize()
135 int start_offset = Offset::kHeaderLength; in GenerateLocaList()
Debdt_table.h32 kHeaderLength = DataSize::kFixed, enumerator
Deblc_table.cc212 int32_t size = Offset::kHeaderLength; in SubDataSizeToSerialize()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dnack.cc82 const size_t kCommonFbFmtLength = kHeaderLength + kCommonFeedbackLength; in Create()
116 kHeaderLength; in BlockLength()
Dpli.h41 return kHeaderLength + kCommonFeedbackLength; in BlockLength()
Dextended_jitter_report.h53 return kHeaderLength + 4 * inter_arrival_jitters_.size(); in BlockLength()
Dreceiver_report.h54 return kHeaderLength + kRrBaseLength + in BlockLength()
Dsli.h70 return RtcpPacket::kHeaderLength + Psfb::kCommonFeedbackLength + in BlockLength()
Dbye.cc129 return kHeaderLength + 4 * (src_count + reason_size_in_32bits); in BlockLength()
Dtransport_feedback.cc690 const size_t end_index = kHeaderLength + header.payload_size_bytes; in ParseFrom()
/external/webrtc/talk/media/base/
Drtpdump.h63 static const size_t kHeaderLength = 16; member
96 static const size_t kHeaderLength = 8; member
Drtpdump.cc128 char header[RtpDumpPacket::kHeaderLength]; in ReadPacket()
174 char header[RtpDumpFileHeader::kHeaderLength]; in ReadFileHeader()
377 static_cast<uint16_t>(RtpDumpPacket::kHeaderLength + write_len)); in WritePacket()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc508 int32_t image_data_offset = EbdtTable::Offset::kHeaderLength; in SubsetEBLC()