Home
last modified time | relevance | path

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

/external/webrtc/modules/rtp_rtcp/source/
Dflexfec_header_reader_writer.cc263 uint8_t* const written_packet_mask = in FinalizeFecHeader() local
273 ByteWriter<uint16_t>::WriteBigEndian(&written_packet_mask[0], in FinalizeFecHeader()
276 ByteWriter<uint32_t>::WriteBigEndian(&written_packet_mask[2], in FinalizeFecHeader()
280 written_packet_mask[2] |= 0x40; // Set bit 15. in FinalizeFecHeader()
284 written_packet_mask[2] |= 0x80; // Set K-bit 1. in FinalizeFecHeader()
286 memset(&written_packet_mask[6], 0, 8); // Clear all trailing bits. in FinalizeFecHeader()
287 written_packet_mask[6] |= 0x80; // Set K-bit 2. in FinalizeFecHeader()
289 written_packet_mask[6] |= 0x40; // Set bit 46. in FinalizeFecHeader()
291 written_packet_mask[6] |= 0x20; // Set bit 47. in FinalizeFecHeader()
299 ByteWriter<uint16_t>::WriteBigEndian(&written_packet_mask[0], in FinalizeFecHeader()
[all …]