Home
last modified time | relevance | path

Searched refs:header_length (Results 1 – 25 of 35) 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()
/external/flac/libFLAC/
Dogg_decoder_aspect.c164 const unsigned header_length = in FLAC__ogg_decoder_aspect_read_callback_wrapper() local
170 if (aspect->working_packet.bytes < (long)header_length) in FLAC__ogg_decoder_aspect_read_callback_wrapper()
181 aspect->working_packet.packet += header_length; in FLAC__ogg_decoder_aspect_read_callback_wrapper()
182 aspect->working_packet.bytes -= header_length; in FLAC__ogg_decoder_aspect_read_callback_wrapper()
/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/python/cpython3/Lib/email/
Dcharset.py343 length = encoder_module.header_length(_encode(this_line, charset))
368 len64 = email.base64mime.header_length(header_bytes)
369 lenqp = email.quoprimime.header_length(header_bytes)
Dbase64mime.py50 def header_length(bytearray): function
Dquoprimime.py84 def header_length(bytearray): function
/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/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/mesa3d/src/intel/tools/
Daubinator.c856 int header_length = p[0] & 0xffff; in handle_trace_block() local
857 uint32_t *data = p + header_length + 2; in handle_trace_block()
1049 int header_length, bias; in aub_file_decode_batch() local
1056 header_length = h & 0xffff; in aub_file_decode_batch()
1072 new_cursor = p + header_length + bias; in aub_file_decode_batch()
/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/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)
/external/libxaac/decoder/
Dixheaacd_api.c905 WORD32 header_length; in ixheaacd_decoder_flush_api() local
908 header_length = p_obj_exhaacplus_dec->p_state_aac->header_length; in ixheaacd_decoder_flush_api()
975 p_obj_exhaacplus_dec->p_state_aac->ui_in_bytes = header_length; in ixheaacd_decoder_flush_api()
976 p_obj_exhaacplus_dec->p_state_aac->header_length = header_length; in ixheaacd_decoder_flush_api()
1468 p_state_enhaacplus_dec->header_length = header_bytes_consumed; in ixheaacd_dec_init()

12