Home
last modified time | relevance | path

Searched refs:header_length (Results 1 – 25 of 27) sorted by relevance

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_payload_registry_unittest.cc259 const uint8_t* GenerateRtxPacket(size_t header_length, in GenerateRtxPacket() argument
263 new uint8_t[kRtxHeaderSize + header_length + payload_length](); in GenerateRtxPacket()
277 ByteWriter<uint16_t>::WriteBigEndian(packet + header_length, in GenerateRtxPacket()
286 size_t header_length = 100; in TestRtxPacket() local
288 size_t original_length = header_length + payload_length + kRtxHeaderSize; in TestRtxPacket()
294 header.headerLength = header_length; in TestRtxPacket()
300 header_length, payload_length, original_sequence_number)); in TestRtxPacket()
302 new uint8_t[header_length + payload_length]); in TestRtxPacket()
Dproducer_fec.cc50 void RedPacket::CreateHeader(const uint8_t* rtp_header, size_t header_length, in CreateHeader() argument
52 assert(header_length + kREDForFECHeaderLength <= length_); in CreateHeader()
53 memcpy(data_, rtp_header, header_length); in CreateHeader()
59 data_[header_length] = static_cast<uint8_t>(pl_type); in CreateHeader()
60 header_length_ = header_length + kREDForFECHeaderLength; in CreateHeader()
Drtp_format_vp9.cc605 size_t header_length; in WriteHeaderAndPayload() local
606 if (!WriteHeader(packet_info, buffer, &header_length)) in WriteHeaderAndPayload()
610 memcpy(&buffer[header_length], in WriteHeaderAndPayload()
613 *bytes_to_send = header_length + packet_info.size; in WriteHeaderAndPayload()
619 size_t* header_length) const { in WriteHeader()
662 *header_length = offset_bytes; in WriteHeader()
Dfec_test_helper.cc77 size_t header_length) const { in SetRedHeader()
83 red_packet->data[header_length] = payload_type; in SetRedHeader()
Dfec_test_helper.h48 size_t header_length) const;
Drtp_format_vp9.h86 size_t* header_length) const;
Dproducer_fec.h27 void CreateHeader(const uint8_t* rtp_header, size_t header_length,
Drtp_sender.cc589 size_t header_length, in BuildPaddingPacket() argument
592 int32_t* data = reinterpret_cast<int32_t*>(&(packet[header_length])); in BuildPaddingPacket()
599 packet[header_length + padding_length - 1] = in BuildPaddingPacket()
664 size_t header_length = in SendPadData() local
667 BuildPaddingPacket(padding_packet, header_length, padding_bytes_in_packet); in SendPadData()
668 size_t length = padding_bytes_in_packet + header_length; in SendPadData()
Drtp_sender.h345 size_t header_length,
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc108 size_t header_length = BuildRTPheader(buffer, timestamp, sequence_number); in PaddingPacket() local
111 reinterpret_cast<int32_t*>(&(buffer[header_length])); in PaddingPacket()
118 buffer[header_length + padding_bytes_in_packet - 1] = in PaddingPacket()
120 return padding_bytes_in_packet + header_length; in PaddingPacket()
/external/webrtc/webrtc/modules/video_coding/utility/
Dvp8_header_parser.cc172 size_t header_length = kCommonPayloadHeaderLength; in GetQp() local
174 header_length = kKeyPayloadHeaderLength; in GetQp()
176 if (header_length + partition_length > length) { in GetQp()
180 buf += header_length; in GetQp()
/external/autotest/client/site_tests/cellular_MbimComplianceDataTransfer/
Dcellular_MbimComplianceDTS0309.py43 if nth.header_length != 12:
48 if nth.header_length != 16:
/external/webrtc/talk/media/base/
Drtpdataengine.cc234 size_t header_length; in OnPacketReceived() local
235 if (!GetRtpHeaderLen(packet->data(), packet->size(), &header_length)) { in OnPacketReceived()
243 packet->data<char>() + header_length + sizeof(kReservedSpace); in OnPacketReceived()
244 size_t data_len = packet->size() - header_length - sizeof(kReservedSpace); in OnPacketReceived()
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dnack.cc96 size_t header_length = ((size_bytes + 3) / 4) - 1; // As 32bit words - 1 in Create() local
97 CreateHeader(kFeedbackMessageType, kPacketType, header_length, packet, in Create()
/external/pdfium/third_party/freetype/src/type1/
Dt1parse.c100 size_t header_length ) in check_type1_format() argument
120 if ( !FT_FRAME_ENTER( header_length ) ) in check_type1_format()
124 if ( ft_memcmp( stream->cursor, header_string, header_length ) != 0 ) in check_type1_format()
/external/elfutils/libdw/
Ddwarf_getsrclines.c239 Dwarf_Word header_length; in read_srclines() local
241 header_length = read_4ubyte_unaligned_inc (dbg, linep); in read_srclines()
243 header_length = read_8ubyte_unaligned_inc (dbg, linep); in read_srclines()
403 if (unlikely (linep != header_start + header_length)) in read_srclines()
/external/sfntly/cpp/src/sfntly/table/
Dtable.h82 virtual int32_t header_length() { return header_->length(); } in header_length() function
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_data_transfer_unittest.py127 self.assertEqual(nth.header_length, 16)
Dmbim_data_transfer.py279 header_length=nth_length,
/external/webrtc/webrtc/call/
Drtc_event_log.cc340 size_t header_length = 12u + cc * 4u;
347 header_length += (x_len + 1) * 4;
357 rtp_event.mutable_rtp_packet()->set_header(header, header_length);
/external/webrtc/webrtc/test/
Drtp_file_reader.cc555 uint16_t header_length = (version & 0x0f00) >> (8 - 2); in ReadXxpIpHeader() local
556 assert(header_length >= kMinIpHeaderLength); in ReadXxpIpHeader()
557 TRY_PCAP(Skip(header_length - kMinIpHeaderLength)); in ReadXxpIpHeader()
/external/kernel-headers/original/uapi/linux/
Dfirewire-cdev.h261 __u32 header_length; member
/external/sfntly/cpp/src/sample/subtly/
Dfont_assembler.cc160 int32_t current_size = loca_table->header_length(); in AssembleGlyphAndLocaTables()
/external/fio/engines/
Dlibaio.c111 unsigned header_length; /** size of aio_ring */ member
/external/libvpx/libvpx/third_party/libwebm/
Dmkvmuxer.cpp2755 const size_t header_length = strlen(filename) + strlen(".hdr") + 1; in SetChunking() local
2756 char* const header = new (std::nothrow) char[header_length]; // NOLINT in SetChunking()
2761 strcpy_s(header, header_length - strlen(".hdr"), chunking_base_name_); in SetChunking()
2762 strcat_s(header, header_length, ".hdr"); in SetChunking()

12