Home
last modified time | relevance | path

Searched refs:kFlexfecPacketMaskSizes (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Dflexfec_header_reader_writer.cc32 constexpr size_t kFlexfecPacketMaskSizes[] = {2, 6, 14}; variable
43 kBaseHeaderSize + kStreamSpecificHeaderSize + kFlexfecPacketMaskSizes[0],
44 kBaseHeaderSize + kStreamSpecificHeaderSize + kFlexfecPacketMaskSizes[1],
45 kBaseHeaderSize + kStreamSpecificHeaderSize + kFlexfecPacketMaskSizes[2]};
63 RTC_DCHECK_LE(packet_mask_size, kFlexfecPacketMaskSizes[2]); in FlexfecHeaderSize()
64 if (packet_mask_size <= kFlexfecPacketMaskSizes[0]) { in FlexfecHeaderSize()
66 } else if (packet_mask_size <= kFlexfecPacketMaskSizes[1]) { in FlexfecHeaderSize()
138 packet_mask_size = kFlexfecPacketMaskSizes[0]; in ReadFecHeader()
158 packet_mask_size = kFlexfecPacketMaskSizes[1]; in ReadFecHeader()
169 packet_mask_size = kFlexfecPacketMaskSizes[2]; in ReadFecHeader()
[all …]
Dflexfec_header_reader_writer_unittest.cc42 constexpr size_t kFlexfecPacketMaskSizes[] = {2, 6, 14}; variable
43 constexpr size_t kFlexfecMaxPacketSize = kFlexfecPacketMaskSizes[2];
392 EXPECT_EQ(kFlexfecPacketMaskSizes[0], min_packet_mask_size); in TEST()
405 EXPECT_EQ(kFlexfecPacketMaskSizes[1], min_packet_mask_size); in TEST()
420 EXPECT_EQ(kFlexfecPacketMaskSizes[1], min_packet_mask_size); in TEST()
435 EXPECT_EQ(kFlexfecPacketMaskSizes[2], min_packet_mask_size); in TEST()
450 EXPECT_EQ(kFlexfecPacketMaskSizes[2], min_packet_mask_size); in TEST()
464 EXPECT_EQ(kFlexfecPacketMaskSizes[2], min_packet_mask_size); in TEST()
478 kFlexfecPacketMaskSizes[0], *written_packet, in TEST()
492 kFlexfecPacketMaskSizes[1], *written_packet, in TEST()
[all …]