Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_impl.cc77 uint16_t payload_data_length = packet_length - header.headerLength; in AddReceivedRedPacket()
88 incoming_rtp_packet[header.headerLength] & 0x7f; in AddReceivedRedPacket()
94 if (incoming_rtp_packet[header.headerLength] & 0x80) { in AddReceivedRedPacket()
98 (incoming_rtp_packet[header.headerLength + 1]) << 8; in AddReceivedRedPacket()
100 incoming_rtp_packet[header.headerLength + 2]; in AddReceivedRedPacket()
111 (0x03 & incoming_rtp_packet[header.headerLength + 2]) << 8; in AddReceivedRedPacket()
112 blockLength += (incoming_rtp_packet[header.headerLength + 3]); in AddReceivedRedPacket()
115 if (incoming_rtp_packet[header.headerLength + 4] & 0x80) { in AddReceivedRedPacket()
136 header.headerLength); in AddReceivedRedPacket()
145 received_packet->pkt->data + header.headerLength, in AddReceivedRedPacket()
[all …]
Dfec_test_helper.cc34 rtp_packet->header.header.headerLength = kRtpHeaderSize; in NextPacket()
47 const int kHeaderLength = packet->header.header.headerLength; in BuildMediaRedPacket()
68 const int kHeaderLength = red_packet->header.header.headerLength; in BuildFecRedPacket()
Drtp_payload_registry.cc250 if (kRtxHeaderSize + header.headerLength > *packet_length) { 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.cc48 return packet + rtp_header.headerLength; in GetPayloadData()
53 uint16_t length = packet_length - rtp_header.headerLength - in GetPayloadDataLength()
215 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
249 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
259 EXPECT_EQ(length, rtp_header2.headerLength); in TEST_F()
290 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
319 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
329 EXPECT_EQ(length, rtp_header2.headerLength); in TEST_F()
361 EXPECT_EQ(length, rtp_header.headerLength); in TEST_F()
373 EXPECT_EQ(length, rtp_header2.headerLength); in TEST_F()
[all …]
Drtp_sender.cc462 bytes_left -= length - rtp_header.headerLength; in SendRedundantPayloads()
617 length - header.headerLength, in ReSendPacket()
844 counters->bytes += size - (header.headerLength + header.paddingLength); in UpdateRtpStats()
845 counters->header_bytes += header.headerLength; in UpdateRtpStats()
865 buffer[header.headerLength] == pt_fec; in IsFecPacket()
1255 rtp_header.headerLength < in UpdateTransmissionTimeOffset()
1302 rtp_header.headerLength < block_pos + kAudioLevelLength) { in UpdateAudioLevel()
1344 rtp_header.headerLength < block_pos + kAbsoluteSendTimeLength) { in UpdateAbsoluteSendTime()
1600 memcpy(data_buffer_rtx, buffer, rtp_header.headerLength); in BuildRtxPacket()
1618 ptr = data_buffer_rtx + rtp_header.headerLength; in BuildRtxPacket()
[all …]
Drtp_utility.cc326 header->headerLength = 4 + (len << 2); in ParseRtcp()
390 header.headerLength = 12 + CSRCocts; in Parse()
420 header.headerLength += 4; in Parse()
439 header.headerLength += XLen; in Parse()
Dreceive_statistics_impl.cc84 bytes - (header.paddingLength + header.headerLength); in UpdateCounters()
85 receive_counters_.header_bytes += header.headerLength; in UpdateCounters()
126 uint16_t packet_oh = header.headerLength + header.paddingLength; in UpdateCounters()
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
Dpacket.cc127 assert(header_.headerLength <= packet_length_bytes_); in ParseHeader()
128 payload_ = &payload_memory_[header_.headerLength]; in ParseHeader()
129 assert(packet_length_bytes_ >= header_.headerLength); in ParseHeader()
130 payload_length_bytes_ = packet_length_bytes_ - header_.headerLength; in ParseHeader()
131 assert(virtual_packet_length_bytes_ >= header_.headerLength); in ParseHeader()
133 virtual_packet_length_bytes_ - header_.headerLength; in ParseHeader()
145 destination->headerLength = header_.headerLength; in CopyToHeader()
/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()
413 headerLength=(int32_t)(4+sizeof(dataInfo)); in Package()
414 if(headerLength&0xf) { in Package()
[all …]
Dpkg_imp.h32 int32_t &infoLength, int32_t &headerLength,
Dpackage.h162 int32_t inLength, headerLength; variable
/external/chromium_org/third_party/icu/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.h32 int32_t &infoLength, int32_t &headerLength,
Dpackage.h147 int32_t inLength, headerLength; variable
/external/chromium_org/third_party/webrtc/video_engine/
Dvie_receiver.cc229 int payload_length = rtp_packet_length - header.headerLength; in InsertRTPPacket()
260 const uint8_t* payload = packet + header.headerLength; in ReceivePacket()
261 int payload_length = packet_length - header.headerLength; in ReceivePacket()
277 if (packet[header.headerLength] == ulpfec_pt) in ParseAndHandleEncapsulatingHeader()
285 if (header.headerLength + header.paddingLength == packet_length) { in ParseAndHandleEncapsulatingHeader()
291 if (packet_length < header.headerLength) in ParseAndHandleEncapsulatingHeader()
/external/icu/icu4c/source/i18n/
Dcollationfastlatinbuilder.cpp93 headerLength(0) { in CollationFastLatinBuilder()
153 headerLength = result.length(); in loadGroups()
154 uint32_t r0 = (CollationFastLatin::VERSION << 8) | headerLength; in loadGroups()
201 U_ASSERT(p <= result[headerLength - 1]); // the loop will terminate in inSameGroup()
217 result.truncate(headerLength); in resetCEs()
475 if(++group < headerLength) { // group is 1-based in encodeUniqueCEs()
615 int32_t indexBase = headerLength + CollationFastLatin::NUM_FAST_CHARS; in encodeContractions()
622 result.setCharAt(headerLength + i, CollationFastLatin::BAIL_OUT); in encodeContractions()
646 result.setCharAt(headerLength + i, in encodeContractions()
661 for(; i < headerLength; ++i) { in encodeContractions()
[all …]
Dcollationdatareader.cpp64 int32_t headerLength = header->dataHeader.headerSize; in read() local
65 inBytes += headerLength; in read()
67 inLength -= headerLength; in read()
Dcollationfastlatinbuilder.h87 int32_t headerLength; variable
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dvideo_receiver_unittest.cc99 header.header.headerLength = 12; in TEST_F()
123 header.header.headerLength = 12; in TEST_F()
175 header.header.headerLength = 12; in TEST_F()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc179 const uint8_t* payload = padding_packet + header.headerLength; in TEST_F()
180 const int payload_length = packet_size - header.headerLength; in TEST_F()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketHandshake.h103 … int readStatusLine(const char* header, size_t headerLength, int& statusCode, String& statusText);
DWebSocketHandshake.cpp377 int WebSocketHandshake::readStatusLine(const char* header, size_t headerLength, int& statusCode, St… in readStatusLine() argument
391 for (p = header, consumedLength = 0; consumedLength < headerLength; p++, consumedLength++) { in readStatusLine()
407 if (consumedLength == headerLength) in readStatusLine()
/external/chromium_org/third_party/icu/source/tools/makeconv/
Dgenmbcs.c1409 uint32_t headerLength; in MBCSWrite() local
1489 headerLength=10; /* include fullStage2Length */ in MBCSWrite()
1491 headerLength=MBCS_HEADER_V5_MIN_LENGTH; /* 9 */ in MBCSWrite()
1495 headerLength=MBCS_HEADER_V4_LENGTH; /* 8 */ in MBCSWrite()
1500 header.options|=(uint32_t)headerLength; in MBCSWrite()
1506 headerLength*4+ in MBCSWrite()
1535 udata_writeBlock(pData, &header, headerLength*4); in MBCSWrite()
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp1414 uint32_t headerLength; in MBCSWrite() local
1494 headerLength=10; /* include fullStage2Length */ in MBCSWrite()
1496 headerLength=MBCS_HEADER_V5_MIN_LENGTH; /* 9 */ in MBCSWrite()
1500 headerLength=MBCS_HEADER_V4_LENGTH; /* 8 */ in MBCSWrite()
1505 header.options|=(uint32_t)headerLength; in MBCSWrite()
1511 headerLength*4+ in MBCSWrite()
1540 udata_writeBlock(pData, &header, headerLength*4); in MBCSWrite()
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/tools/
Dbwe_rtp_play.cc94 packet_length - header.headerLength, in main()

12