Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.h193 uint8_t protection_factor,
226 static int NumFecPackets(int num_media_packets, int protection_factor);
Dforward_error_correction.cc108 uint8_t protection_factor, in EncodeFec() argument
148 int num_fec_packets = NumFecPackets(num_media_packets, protection_factor); in EncodeFec()
190 int protection_factor) { in NumFecPackets() argument
192 int num_fec_packets = (num_media_packets * protection_factor + (1 << 7)) >> 8; in NumFecPackets()
194 if (protection_factor > 0 && num_fec_packets == 0) { in NumFecPackets()
Dulpfec_receiver_unittest.cc98 const uint8_t protection_factor = in EncodeFec() local
106 0, fec_->EncodeFec(media_packets, protection_factor, kNumImportantPackets, in EncodeFec()
Dflexfec_receiver_unittest.cc99 const uint8_t protection_factor = in EncodeFec() local
106 media_packets, protection_factor, kNumImportantPackets, in EncodeFec()
/external/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_fec.cc183 uint8_t protection_factor = in RunTest() local
290 ASSERT_EQ(0, fec->EncodeFec(media_packet_list, protection_factor, in RunTest()