Home
last modified time | relevance | path

Searched refs:kRtpHeaderSize (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dproducer_fec_unittest.cc28 EXPECT_GT(packet->length(), kRtpHeaderSize); in VerifyHeader()
38 EXPECT_EQ(static_cast<uint8_t>(fec_pltype), data[kRtpHeaderSize]); in VerifyHeader()
124 kRtpHeaderSize)); in TEST_F()
132 kRtpHeaderSize); in TEST_F()
166 kRtpHeaderSize)); in TEST_F()
175 kRtpHeaderSize); in TEST_F()
191 packet->data, packet->length - kRtpHeaderSize, kRtpHeaderSize, in TEST_F()
201 EXPECT_EQ(i, red_packet->data()[kRtpHeaderSize + 1 + i]); in TEST_F()
Dforward_error_correction.cc134 if (media_packet->length < kRtpHeaderSize) { in GenerateFEC()
217 kFecHeaderSize + ulp_header_size - kRtpHeaderSize; in GenerateFecBitStrings()
234 media_payload_length, media_packet->length - kRtpHeaderSize); in GenerateFecBitStrings()
248 &media_packet->data[kRtpHeaderSize], in GenerateFecBitStrings()
249 media_packet->length - kRtpHeaderSize); in GenerateFecBitStrings()
665 sizeof(recovered->pkt->data) - kRtpHeaderSize, in InitRecovery()
671 memcpy(&recovered->pkt->data[kRtpHeaderSize], in InitRecovery()
697 kRtpHeaderSize; in FinishRecovery()
698 if (recovered->pkt->length > sizeof(recovered->pkt->data) - kRtpHeaderSize) in FinishRecovery()
717 src_packet->length - kRtpHeaderSize); in XorPackets()
[all …]
Dfec_test_helper.cc31 rtp_packet->data[i + kRtpHeaderSize] = offset + i; in NextPacket()
32 rtp_packet->length = length + kRtpHeaderSize; in NextPacket()
35 rtp_packet->header.header.headerLength = kRtpHeaderSize; in NextPacket()
Drtp_sender_unittest.cc206 ASSERT_EQ(kRtpHeaderSize + rtp_sender_->RtpHeaderExtensionTotalLength(), in VerifyCVOPacket()
209 ASSERT_EQ(kRtpHeaderSize, length); in VerifyCVOPacket()
332 ASSERT_EQ(kRtpHeaderSize, length); in TEST_F()
363 ASSERT_EQ(kRtpHeaderSize + rtp_sender_->RtpHeaderExtensionTotalLength(), in TEST_F()
403 ASSERT_EQ(kRtpHeaderSize + rtp_sender_->RtpHeaderExtensionTotalLength(), in TEST_F()
431 ASSERT_EQ(kRtpHeaderSize + rtp_sender_->RtpHeaderExtensionTotalLength(), in TEST_F()
472 ASSERT_EQ(kRtpHeaderSize + rtp_sender_->RtpHeaderExtensionTotalLength(), in TEST_F()
501 ASSERT_EQ(kRtpHeaderSize, length); in TEST_F()
520 ASSERT_EQ(kRtpHeaderSize + rtp_sender_->RtpHeaderExtensionTotalLength(), in TEST_F()
574 ASSERT_EQ(kRtpHeaderSize + rtp_sender_->RtpHeaderExtensionTotalLength(), in TEST_F()
[all …]
Drtp_fec_unittest.cc21 const uint8_t kRtpHeaderSize = 12; variable
904 const uint32_t kMinPacketSize = kRtpHeaderSize; in ConstructMediaPacketsSeqNum()
905 const uint32_t kMaxPacketSize = IP_PACKET_SIZE - kRtpHeaderSize - in ConstructMediaPacketsSeqNum()
Drtp_sender_video.cc211 (_rtpSender.RTPHeaderLength() - kRtpHeaderSize); in FECPacketOverhead()
Dfec_receiver_unittest.cc55 generator_->NextPacket(frame_offset + i, kRtpHeaderSize + 10)); in GenerateFrame()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_send_test_oldapi.cc126 const size_t kRtpHeaderSize = 12; in CreatePacket() local
127 size_t allocated_bytes = last_payload_vec_.size() + kRtpHeaderSize; in CreatePacket()
147 memcpy(packet_memory + kRtpHeaderSize, in CreatePacket()
/external/webrtc/webrtc/audio/
Daudio_receive_stream_unittest.cc188 header.resize(webrtc::kRtpHeaderSize + kOneByteExtensionHeaderLength + in CreateRtpHeaderWithOneByteExtension()
198 BuildOneByteExtension(header.begin() + webrtc::kRtpHeaderSize, extension_id, in CreateRtpHeaderWithOneByteExtension()
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp_defines.h34 const uint8_t kRtpHeaderSize = 12; variable