Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction_internal.cc41 const uint8_t* sub_mask, uint8_t* packet_mask) { in FitSubMask() argument
43 memcpy(packet_mask, sub_mask, num_rows * num_sub_mask_bytes); in FitSubMask()
49 packet_mask[pkt_mask_idx] = sub_mask[pkt_mask_idx2]; in FitSubMask()
78 uint8_t* packet_mask) { in ShiftFitSubMask() argument
105 packet_mask[pkt_mask_idx + 1] = shift_left_prev_byte; in ShiftFitSubMask()
124 packet_mask[pkt_mask_idx] = comb_new_byte; in ShiftFitSubMask()
130 packet_mask[pkt_mask_idx] = shift_right_curr_byte; in ShiftFitSubMask()
183 ProtectionMode mode, uint8_t* packet_mask, in RemainingPacketProtection() argument
199 packet_mask_sub_21, packet_mask); in RemainingPacketProtection()
209 &packet_mask[num_fec_for_imp_packets * num_mask_bytes]); in RemainingPacketProtection()
[all …]
Dforward_error_correction.cc170 uint8_t* packet_mask = new uint8_t[num_fec_packets * kMaskSizeLBitSet]; in GenerateFEC() local
171 memset(packet_mask, 0, num_fec_packets * num_maskBytes); in GenerateFEC()
174 mask_table, packet_mask); in GenerateFEC()
176 int num_maskBits = InsertZerosInBitMasks(media_packet_list, packet_mask, in GenerateFEC()
182 delete[] packet_mask; in GenerateFEC()
189 GenerateFecBitStrings(media_packet_list, packet_mask, num_fec_packets, l_bit); in GenerateFEC()
190 GenerateFecUlpHeaders(media_packet_list, packet_mask, l_bit, num_fec_packets); in GenerateFEC()
192 delete[] packet_mask; in GenerateFEC()
209 const PacketList& media_packet_list, uint8_t* packet_mask, in GenerateFecBitStrings() argument
229 if (packet_mask[pkt_mask_idx] & (1 << (7 - media_pkt_idx))) { in GenerateFecBitStrings()
[all …]
Dforward_error_correction.h213 uint8_t* packet_mask, bool l_bit,
223 uint8_t* packet_mask, int num_mask_bytes,
248 uint8_t* packet_mask, int num_fec_packets,
Dforward_error_correction_internal.h66 uint8_t* packet_mask);
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc715 void GetPacketMaskConvertToBitMask(uint8_t* packet_mask, in GetPacketMaskConvertToBitMask() argument
723 packet_mask[i * mask_bytes_fec_packet + j / 8]; in GetPacketMaskConvertToBitMask()
739 uint8_t* packet_mask = new uint8_t[packet_mask_max * kMaskSizeLBitSet]; in ProcessXORPacketMasks() local
748 memset(packet_mask, 0, num_media_packets * mask_bytes_fec_packet); in ProcessXORPacketMasks()
749 memcpy(packet_mask, mask_table.fec_packet_mask_table() in ProcessXORPacketMasks()
753 GetPacketMaskConvertToBitMask(packet_mask, in ProcessXORPacketMasks()
768 delete [] packet_mask; in ProcessXORPacketMasks()