Home
last modified time | relevance | path

Searched refs:restored_packet (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_payload_registry.cc235 bool RTPPayloadRegistry::RestoreOriginalPacket(uint8_t** restored_packet, in RestoreOriginalPacket() argument
240 return RestoreOriginalPacket(*restored_packet, packet, packet_length, in RestoreOriginalPacket()
244 bool RTPPayloadRegistry::RestoreOriginalPacket(uint8_t* restored_packet, in RestoreOriginalPacket() argument
257 memcpy(restored_packet, packet, header.headerLength); in RestoreOriginalPacket()
258 memcpy(restored_packet + header.headerLength, in RestoreOriginalPacket()
264 ByteWriter<uint16_t>::WriteBigEndian(restored_packet + 2, in RestoreOriginalPacket()
266 ByteWriter<uint32_t>::WriteBigEndian(restored_packet + 8, original_ssrc); in RestoreOriginalPacket()
289 restored_packet[1] = static_cast<uint8_t>(associated_payload_type); in RestoreOriginalPacket()
291 restored_packet[1] |= kRtpMarkerBitMask; // Marker bit is set. in RestoreOriginalPacket()
Dnack_rtx_unittest.cc106 uint8_t restored_packet[1500]; in SendRtp() local
130 restored_packet, ptr, &packet_length, rtp_receiver_->SSRC(), header)); in SendRtp()
131 if (!parser->Parse(restored_packet, packet_length, &header)) { in SendRtp()
134 ptr = restored_packet; in SendRtp()
Drtp_payload_registry_unittest.cc301 rtc::scoped_ptr<uint8_t[]> restored_packet( in TestRtxPacket() local
305 restored_packet.get(), packet.get(), &length, original_ssrc, header); in TestRtxPacket()
318 header_parser->Parse(restored_packet.get(), length, &restored_header)); in TestRtxPacket()
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Drtp_payload_registry.h91 bool RestoreOriginalPacket(uint8_t** restored_packet,
97 bool RestoreOriginalPacket(uint8_t* restored_packet,