/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
fec_receiver.h | 22 num_fec_packets(0), 26 size_t num_fec_packets; // Number of received FEC packets. member in struct:webrtc::FecPacketCounter
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/ |
test_packet_masks_metrics.cc | 81 int num_fec_packets; member in struct:webrtc::CodeSizeParams 82 // Protection level: num_fec_packets / (num_media_packets + num_fec_packets). 130 // k = num_media_packets, m = num_fec_packets. 192 int num_fec_packets, 195 new uint8_t[num_media_packets + num_fec_packets]); 196 memcpy(state_tmp.get(), state, num_media_packets + num_fec_packets); 203 for (int i = 0; i < num_fec_packets; i++) { 325 // = |num_fec_packets|. 328 int num_fec_packets, 394 int num_fec_packets = code_params_[code_index].num_fec_packets; local [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
forward_error_correction_internal.h | 48 // \param[in] num_fec_packets The number of FEC packets which will 61 // of size: num_fec_packets * 63 void GeneratePacketMasks(int num_media_packets, int num_fec_packets,
|
forward_error_correction_internal.cc | 263 int num_fec_packets, 267 // Use at most (alloc_par * num_fec_packets) for important packets. 269 int max_num_fec_for_imp = alloc_par * num_fec_packets; 276 if (num_fec_packets == 1 && (num_media_packets > 2 * num_imp_packets)) { 295 // Let k=num_media_packets, n=total#packets, (n-k)=num_fec_packets, 329 int num_fec_packets, 342 num_media_packets, num_fec_packets, num_imp_packets); 345 int num_fec_remaining = num_fec_packets - num_fec_for_imp_packets; 367 int num_fec_packets, 373 assert(num_fec_packets <= num_media_packets && num_fec_packets > 0) [all...] |
forward_error_correction.h | 214 int num_fec_packets); 220 // Requires that |packet_mask| has at least 6 * |num_fec_packets| bytes 224 int num_fec_packets); 231 int new_mask_bytes, int num_fec_packets, 237 // represent the number of bytes used per row for each mask. |num_fec_packets| 244 int num_fec_packets, int new_bit_index, 248 uint8_t* packet_mask, int num_fec_packets,
|
forward_error_correction.cc | 148 int num_fec_packets = local 150 if (num_fec_packets == 0) { 155 for (int i = 0; i < num_fec_packets; ++i) { 167 new uint8_t[num_fec_packets * kMaskSizeLBitSet]); 168 memset(packet_mask.get(), 0, num_fec_packets * num_mask_bytes); 169 internal::GeneratePacketMasks(num_media_packets, num_fec_packets, 174 media_packet_list, packet_mask.get(), num_mask_bytes, num_fec_packets); 184 GenerateFecBitStrings(media_packet_list, packet_mask.get(), num_fec_packets, 187 num_fec_packets); 195 int num_fec_packets = (num_media_packets * protection_factor + (1 << 7)) >> 8 local [all...] |
rtp_sender_video.cc | 138 uint16_t num_fec_packets = producer_fec_.NumAvailableFecPackets(); local 139 if (num_fec_packets > 0) { 141 _rtpSender.AllocateSequenceNumber(num_fec_packets); 145 RTC_DCHECK_EQ(num_fec_packets, fec_packets.size());
|
producer_fec_unittest.cc | 93 uint16_t num_fec_packets = producer_->NumAvailableFecPackets(); local 95 if (num_fec_packets > 0) { 98 EXPECT_EQ(num_fec_packets, fec_packets.size());
|
fec_receiver_impl.cc | 168 ++packet_counter_.num_fec_packets; 180 ++packet_counter_.num_fec_packets;
|
producer_fec.cc | 252 int num_fec_packets = fec_->GetNumberOfFecPackets(media_packets_fec_.size(), local 255 return (num_fec_packets << 8) / media_packets_fec_.size();
|
fec_receiver_unittest.cc | 42 unsigned int num_fec_packets) { 43 uint8_t protection_factor = num_fec_packets * 255 / media_packets->size(); 46 ASSERT_EQ(num_fec_packets, fec_packets->size()); 126 EXPECT_EQ(1U, counter.num_fec_packets); 153 EXPECT_EQ(1u, counter.num_fec_packets);
|
/external/webrtc/webrtc/test/fuzzers/ |
producer_fec_fuzzer.cc | 48 uint16_t num_fec_packets = producer.NumAvailableFecPackets(); local 50 if (num_fec_packets > 0) { 53 RTC_CHECK_EQ(num_fec_packets, fec_packets.size());
|
/external/webrtc/webrtc/video/ |
vie_receiver.cc | 73 static_cast<int>(counter.num_fec_packets * 100 / counter.num_packets)); 75 if (counter.num_fec_packets > 0) { 79 counter.num_fec_packets));
|