Searched refs:protection_factor (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/modules/rtp_rtcp/source/ |
D | forward_error_correction.h | 193 uint8_t protection_factor, 226 static int NumFecPackets(int num_media_packets, int protection_factor);
|
D | forward_error_correction.cc | 108 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()
|
D | ulpfec_receiver_unittest.cc | 98 const uint8_t protection_factor = in EncodeFec() local 106 0, fec_->EncodeFec(media_packets, protection_factor, kNumImportantPackets, in EncodeFec()
|
D | flexfec_receiver_unittest.cc | 99 const uint8_t protection_factor = in EncodeFec() local 106 media_packets, protection_factor, kNumImportantPackets, in EncodeFec()
|
/external/webrtc/modules/rtp_rtcp/test/testFec/ |
D | test_fec.cc | 183 uint8_t protection_factor = in RunTest() local 290 ASSERT_EQ(0, fec->EncodeFec(media_packet_list, protection_factor, in RunTest()
|