Home
last modified time | relevance | path

Searched refs:headerLength (Results 1 – 25 of 45) sorted by relevance

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_impl.cc82 size_t payload_data_length = packet_length - header.headerLength; in AddReceivedRedPacket()
98 incoming_rtp_packet[header.headerLength] & 0x7f; in AddReceivedRedPacket()
104 if (incoming_rtp_packet[header.headerLength] & 0x80) { in AddReceivedRedPacket()
113 (incoming_rtp_packet[header.headerLength + 1]) << 8; in AddReceivedRedPacket()
115 incoming_rtp_packet[header.headerLength + 2]; in AddReceivedRedPacket()
123 (0x03 & incoming_rtp_packet[header.headerLength + 2]) << 8; in AddReceivedRedPacket()
124 blockLength += (incoming_rtp_packet[header.headerLength + 3]); in AddReceivedRedPacket()
127 if (incoming_rtp_packet[header.headerLength + 4] & 0x80) { in AddReceivedRedPacket()
148 header.headerLength); in AddReceivedRedPacket()
157 received_packet->pkt->data + header.headerLength, in AddReceivedRedPacket()
[all …]
Drtp_utility.cc178 header->headerLength = 4 + (len << 2); in ParseRtcp()
236 header->headerLength = 12 + CSRCocts; in Parse()
271 header->headerLength += 4; in Parse()
291 header->headerLength += XLen; in Parse()
293 if (header->headerLength + header->paddingLength > in Parse()
Dfec_test_helper.cc35 rtp_packet->header.header.headerLength = kRtpHeaderSize; in NextPacket()
48 const size_t kHeaderLength = packet->header.header.headerLength; in BuildMediaRedPacket()
69 const size_t kHeaderLength = red_packet->header.header.headerLength; in BuildFecRedPacket()
Drtp_payload_registry.cc249 if (kRtxHeaderSize + header.headerLength + header.paddingLength > in RestoreOriginalPacket()
253 const uint8_t* rtx_header = packet + header.headerLength; in RestoreOriginalPacket()
257 memcpy(restored_packet, packet, header.headerLength); in RestoreOriginalPacket()
258 memcpy(restored_packet + header.headerLength, in RestoreOriginalPacket()
259 packet + header.headerLength + kRtxHeaderSize, in RestoreOriginalPacket()
260 *packet_length - header.headerLength - kRtxHeaderSize); in RestoreOriginalPacket()
Drtp_sender_unittest.cc60 return packet + rtp_header.headerLength; in GetPayloadData()
65 return packet_length - rtp_header.headerLength - rtp_header.paddingLength; in GetPayloadDataLength()
343 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
378 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
388 EXPECT_EQ(length, rtp_header2.headerLength); in TEST_F()
418 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
445 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
455 EXPECT_EQ(length, rtp_header2.headerLength); in TEST_F()
482 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
510 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
[all …]
Drtp_sender.cc583 bytes_left -= static_cast<int>(length - rtp_header.headerLength); in TrySendRedundantPayloads()
734 corrected_capture_tims_ms, length - header.headerLength, true); in ReSendPacket()
1007 buffer[header.headerLength] == pt_fec; in IsFecPacket()
1462 rtp_header.headerLength < block_pos + header_extension.length) { in FindHeaderExtensionPosition()
1832 memcpy(data_buffer_rtx, buffer, rtp_header.headerLength); in BuildRtxPacket()
1850 ptr = data_buffer_rtx + rtp_header.headerLength; in BuildRtxPacket()
1855 memcpy(ptr, buffer + rtp_header.headerLength, in BuildRtxPacket()
1856 *length - rtp_header.headerLength); in BuildRtxPacket()
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp113 int32_t &infoLength, int32_t &headerLength, in getDataInfo() argument
140 headerLength=pHeader->dataHeader.headerSize; in getDataInfo()
143 headerLength=readSwapUInt16(pHeader->dataHeader.headerSize); in getDataInfo()
147 if( headerLength<(int32_t)sizeof(DataHeader) || in getDataInfo()
149 headerLength<(int32_t)(sizeof(pHeader->dataHeader)+infoLength) || in getDataInfo()
150 (length>=0 && length<headerLength) in getDataInfo()
163 int32_t infoLength, headerLength; in getTypeEnumForInputData() local
166 pInfo=getDataInfo(data, length, infoLength, headerLength, pErrorCode); in getTypeEnumForInputData()
410 headerLength=(int32_t)(4+sizeof(dataInfo)); in Package()
411 if(headerLength&0xf) { in Package()
[all …]
Dpkg_imp.h35 int32_t &infoLength, int32_t &headerLength,
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dpacket.cc139 assert(header_.headerLength <= packet_length_bytes_); in ParseHeader()
140 payload_ = &payload_memory_[header_.headerLength]; in ParseHeader()
141 assert(packet_length_bytes_ >= header_.headerLength); in ParseHeader()
142 payload_length_bytes_ = packet_length_bytes_ - header_.headerLength; in ParseHeader()
143 assert(virtual_packet_length_bytes_ >= header_.headerLength); in ParseHeader()
145 virtual_packet_length_bytes_ - header_.headerLength; in ParseHeader()
157 destination->headerLength = header_.headerLength; in CopyToHeader()
/external/webrtc/webrtc/test/
Dlayer_filtering_transport.cc58 const uint8_t* payload = packet + header.headerLength; in SendRtp()
59 RTC_DCHECK_GT(length, header.headerLength); in SendRtp()
60 const size_t payload_length = length - header.headerLength; in SendRtp()
84 length = header.headerLength + 1; in SendRtp()
88 temp_buffer[header.headerLength] = 1; // One byte of padding. in SendRtp()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationFastLatinBuilder.java78 headerLength = 0; in CollationFastLatinBuilder()
121 char[] resultArray = new char[headerLength]; in getHeader()
122 result.getChars(0, headerLength, resultArray, 0); in getHeader()
127 char[] resultArray = new char[result.length() - headerLength]; in getTable()
128 result.getChars(headerLength, result.length(), resultArray, 0); in getTable()
133 headerLength = 1 + NUM_SPECIAL_GROUPS; in loadGroups()
134 int r0 = (CollationFastLatin.VERSION << 8) | headerLength; in loadGroups()
191 result.setLength(headerLength); in resetCEs()
562 int indexBase = headerLength + CollationFastLatin.NUM_FAST_CHARS; in encodeContractions()
569 result.setCharAt(headerLength + i, (char) CollationFastLatin.BAIL_OUT); in encodeContractions()
[all …]
DCollationDataReader.java385 int headerLength = header0 & 0xff; in read() local
386 data.fastLatinTableHeader = new char[headerLength]; in read()
388 for(int i = 1; i < headerLength; ++i) { in read()
391 int tableLength = length / 2 - headerLength; in read()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatinBuilder.java77 headerLength = 0; in CollationFastLatinBuilder()
120 char[] resultArray = new char[headerLength]; in getHeader()
121 result.getChars(0, headerLength, resultArray, 0); in getHeader()
126 char[] resultArray = new char[result.length() - headerLength]; in getTable()
127 result.getChars(headerLength, result.length(), resultArray, 0); in getTable()
132 headerLength = 1 + NUM_SPECIAL_GROUPS; in loadGroups()
133 int r0 = (CollationFastLatin.VERSION << 8) | headerLength; in loadGroups()
190 result.setLength(headerLength); in resetCEs()
561 int indexBase = headerLength + CollationFastLatin.NUM_FAST_CHARS; in encodeContractions()
568 result.setCharAt(headerLength + i, (char) CollationFastLatin.BAIL_OUT); in encodeContractions()
[all …]
DCollationDataReader.java384 int headerLength = header0 & 0xff; in read() local
385 data.fastLatinTableHeader = new char[headerLength]; in read()
387 for(int i = 1; i < headerLength; ++i) { in read()
390 int tableLength = length / 2 - headerLength; in read()
/external/webrtc/webrtc/video/
Dvie_receiver.cc276 size_t payload_length = rtp_packet_length - header.headerLength; in InsertRTPPacket()
326 const uint8_t* payload = packet + header.headerLength; in ReceivePacket()
327 assert(packet_length >= header.headerLength); in ReceivePacket()
328 size_t payload_length = packet_length - header.headerLength; in ReceivePacket()
343 if (packet[header.headerLength] == ulpfec_pt) { in ParseAndHandleEncapsulatingHeader()
354 if (header.headerLength + header.paddingLength == packet_length) { in ParseAndHandleEncapsulatingHeader()
360 if (packet_length < header.headerLength) in ParseAndHandleEncapsulatingHeader()
/external/icu/icu4c/source/i18n/
Dcollationfastlatinbuilder.cpp95 headerLength(0) { in CollationFastLatinBuilder()
141 headerLength = 1 + NUM_SPECIAL_GROUPS; in loadGroups()
142 uint32_t r0 = (CollationFastLatin::VERSION << 8) | headerLength; in loadGroups()
201 result.truncate(headerLength); in resetCEs()
598 int32_t indexBase = headerLength + CollationFastLatin::NUM_FAST_CHARS; in encodeContractions()
605 result.setCharAt(headerLength + i, CollationFastLatin::BAIL_OUT); in encodeContractions()
629 result.setCharAt(headerLength + i, in encodeContractions()
644 for(; i < headerLength; ++i) { in encodeContractions()
650 UChar32 c = i - headerLength; in encodeContractions()
Dcollationdatareader.cpp65 int32_t headerLength = header->dataHeader.headerSize; in read() local
66 inBytes += headerLength; in read()
68 inLength -= headerLength; in read()
Dcollationfastlatinbuilder.h94 int32_t headerLength; variable
/external/webrtc/webrtc/modules/video_coding/
Dvideo_receiver_unittest.cc94 header.header.headerLength = 12; in TEST_F()
118 header.header.headerLength = 12; in TEST_F()
170 header.header.headerLength = 12; in TEST_F()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc178 const uint8_t* payload = padding_packet + header.headerLength; in TEST_F()
179 const size_t payload_length = packet_size - header.headerLength; in TEST_F()
/external/sonivox/arm-wt-22k/lib_src/
Deas_xmf.c563 EAS_I32 headerLength; in XMF_ReadNode() local
583 if ((result = XMF_ReadVLQ(hwInstData, pXMFData->fileHandle, &headerLength)) != EAS_SUCCESS) in XMF_ReadNode()
594 if (offset - nodeOffset > headerLength) in XMF_ReadNode()
598 …if ((result = EAS_HWFileSeek(hwInstData, pXMFData->fileHandle, nodeOffset + headerLength)) != EAS_… in XMF_ReadNode()
/external/webrtc/webrtc/
Dcommon_types.cc45 headerLength(0), in RTPHeader()
Dcommon_types.h819 size_t headerLength; member
840 header_bytes += header.headerLength; in AddPacket()
843 packet_length - (header.headerLength + header.paddingLength); in AddPacket()
/external/libxaac/test/
Dixheaacd_fileifc.h37 unsigned int headerLength; member
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp1428 uint32_t headerLength; in MBCSWrite() local
1508 headerLength=10; /* include fullStage2Length */ in MBCSWrite()
1510 headerLength=MBCS_HEADER_V5_MIN_LENGTH; /* 9 */ in MBCSWrite()
1514 headerLength=MBCS_HEADER_V4_LENGTH; /* 8 */ in MBCSWrite()
1519 header.options|=(uint32_t)headerLength; in MBCSWrite()
1525 headerLength*4+ in MBCSWrite()
1554 udata_writeBlock(pData, &header, headerLength*4); in MBCSWrite()

12