Searched refs:protection_factor (Results 1 – 3 of 3) sorted by relevance
161 uint8_t protection_factor, int num_important_packets,198 int GetNumberOfFecPackets(int num_media_packets, int protection_factor);
109 uint8_t protection_factor, in GenerateFEC() argument149 GetNumberOfFecPackets(num_media_packets, protection_factor); in GenerateFEC()193 int protection_factor) { in GetNumberOfFecPackets() argument195 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()
43 uint8_t protection_factor = num_fec_packets * 255 / media_packets->size(); in GenerateFEC() local44 EXPECT_EQ(0, fec_->GenerateFEC(*media_packets, protection_factor, in GenerateFEC()