Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction_internal.cc46 uint8_t* packet_mask) { in FitSubMask() argument
48 memcpy(packet_mask, sub_mask, num_rows * num_sub_mask_bytes); in FitSubMask()
54 packet_mask[pkt_mask_idx] = sub_mask[pkt_mask_idx2]; in FitSubMask()
86 uint8_t* packet_mask) { in ShiftFitSubMask() argument
112 packet_mask[pkt_mask_idx + 1] = shift_left_prev_byte; in ShiftFitSubMask()
131 packet_mask[pkt_mask_idx] = comb_new_byte; in ShiftFitSubMask()
137 packet_mask[pkt_mask_idx] = shift_right_curr_byte; in ShiftFitSubMask()
198 uint8_t* packet_mask, in RemainingPacketProtection() argument
216 packet_mask_sub_21, packet_mask); in RemainingPacketProtection()
227 &packet_mask[num_fec_for_imp_packets * num_mask_bytes]); in RemainingPacketProtection()
[all …]
Dforward_error_correction.cc166 rtc::scoped_ptr<uint8_t[]> packet_mask( in GenerateFEC() local
168 memset(packet_mask.get(), 0, num_fec_packets * num_mask_bytes); in GenerateFEC()
171 mask_table, packet_mask.get()); in GenerateFEC()
174 media_packet_list, packet_mask.get(), num_mask_bytes, num_fec_packets); in GenerateFEC()
184 GenerateFecBitStrings(media_packet_list, packet_mask.get(), num_fec_packets, in GenerateFEC()
186 GenerateFecUlpHeaders(media_packet_list, packet_mask.get(), l_bit, in GenerateFEC()
206 uint8_t* packet_mask, in GenerateFecBitStrings() argument
229 if (packet_mask[pkt_mask_idx] & (1 << (7 - media_pkt_idx))) { in GenerateFecBitStrings()
290 uint8_t* packet_mask, in InsertZerosInBitMasks() argument
323 CopyColumn(new_mask, new_mask_bytes, packet_mask, num_mask_bytes, in InsertZerosInBitMasks()
[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/webrtc/webrtc/modules/rtp_rtcp/test/testFec/
Dtest_packet_masks_metrics.cc708 void GetPacketMaskConvertToBitMask(uint8_t* packet_mask, in GetPacketMaskConvertToBitMask() argument
716 packet_mask[i * mask_bytes_fec_packet + j / 8]; in GetPacketMaskConvertToBitMask()
732 uint8_t* packet_mask = new uint8_t[packet_mask_max * kMaskSizeLBitSet]; in ProcessXORPacketMasks() local
741 memset(packet_mask, 0, num_media_packets * mask_bytes_fec_packet); in ProcessXORPacketMasks()
742 memcpy(packet_mask, mask_table.fec_packet_mask_table() in ProcessXORPacketMasks()
746 GetPacketMaskConvertToBitMask(packet_mask, in ProcessXORPacketMasks()
761 delete [] packet_mask; in ProcessXORPacketMasks()