Searched refs:generated_fec_packets_ (Results 1 – 2 of 2) sorted by relevance
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | forward_error_correction.cc | 86 : generated_fec_packets_(kMaxMediaPackets), in ForwardErrorCorrection() 160 memset(generated_fec_packets_[i].data, 0, IP_PACKET_SIZE); in GenerateFEC() 161 generated_fec_packets_[i].length = 0; // Use this as a marker for untouched in GenerateFEC() 163 fec_packet_list->push_back(&generated_fec_packets_[i]); in GenerateFEC() 238 if (generated_fec_packets_[i].length == 0) { in GenerateFecBitStrings() 240 memcpy(generated_fec_packets_[i].data, media_packet->data, 2); in GenerateFecBitStrings() 242 memcpy(&generated_fec_packets_[i].data[4], &media_packet->data[4], 4); in GenerateFecBitStrings() 244 memcpy(&generated_fec_packets_[i].data[8], media_payload_length, 2); in GenerateFecBitStrings() 248 &generated_fec_packets_[i].data[kFecHeaderSize + ulp_header_size], in GenerateFecBitStrings() 253 generated_fec_packets_[i].data[0] ^= media_packet->data[0]; in GenerateFecBitStrings() [all …]
|
D | forward_error_correction.h | 306 std::vector<Packet> generated_fec_packets_; variable
|