Home
last modified time | relevance | path

Searched refs:protection_factor (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.h161 uint8_t protection_factor, int num_important_packets,
198 int GetNumberOfFecPackets(int num_media_packets, int protection_factor);
Dforward_error_correction.cc109 uint8_t protection_factor, in GenerateFEC() argument
149 GetNumberOfFecPackets(num_media_packets, protection_factor); in GenerateFEC()
193 int protection_factor) { in GetNumberOfFecPackets() argument
195 int num_fec_packets = (num_media_packets * protection_factor + (1 << 7)) >> 8; in GetNumberOfFecPackets()
197 if (protection_factor > 0 && num_fec_packets == 0) { in GetNumberOfFecPackets()
Dfec_receiver_unittest.cc43 uint8_t protection_factor = num_fec_packets * 255 / media_packets->size(); in GenerateFEC() local
44 EXPECT_EQ(0, fec_->GenerateFEC(*media_packets, protection_factor, in GenerateFEC()