webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Enumerations | Functions
forward_error_correction_internal.cc File Reference
#include "webrtc/modules/rtp_rtcp/source/forward_error_correction_internal.h"
#include <assert.h>
#include <string.h>
#include <algorithm>
#include "webrtc/base/checks.h"
#include "webrtc/modules/rtp_rtcp/source/fec_private_tables_bursty.h"
#include "webrtc/modules/rtp_rtcp/source/fec_private_tables_random.h"

Namespaces

 webrtc
 
 webrtc::internal
 

Enumerations

enum  ProtectionMode
 

Functions

void webrtc::internal::RemainingPacketProtection (int num_media_packets, int num_fec_remaining, int num_fec_for_imp_packets, int num_mask_bytes, ProtectionMode mode, uint8_t *packet_mask, const PacketMaskTable &mask_table)
 
void webrtc::internal::ImportantPacketProtection (int num_fec_for_imp_packets, int num_imp_packets, int num_mask_bytes, uint8_t *packet_mask, const PacketMaskTable &mask_table)
 
int webrtc::internal::SetProtectionAllocation (int num_media_packets, int num_fec_packets, int num_imp_packets)
 
void webrtc::internal::UnequalProtectionMask (int num_media_packets, int num_fec_packets, int num_imp_packets, int num_mask_bytes, uint8_t *packet_mask, const PacketMaskTable &mask_table)
 
void webrtc::internal::GeneratePacketMasks (int num_media_packets, int num_fec_packets, int num_imp_packets, bool use_unequal_protection, const PacketMaskTable &mask_table, uint8_t *packet_mask)
 
size_t webrtc::internal::PacketMaskSize (size_t num_sequence_numbers)
 
void webrtc::internal::InsertZeroColumns (int num_zeros, uint8_t *new_mask, int new_mask_bytes, int num_fec_packets, int new_bit_index)
 
void webrtc::internal::CopyColumn (uint8_t *new_mask, int new_mask_bytes, uint8_t *old_mask, int old_mask_bytes, int num_fec_packets, int new_bit_index, int old_bit_index)
 

Enumeration Type Documentation

◆ ProtectionMode