/external/webrtc/modules/rtp_rtcp/source/ |
D | byte_io_unittest.cc | 133 TestWrite<uint16_t, ByteWriter<uint16_t>::WriteBigEndian, sizeof(uint16_t)>( in TEST_F() 139 TestWrite<uint32_t, ByteWriter<uint32_t, 3>::WriteBigEndian, 3>(true); in TEST_F() 145 TestWrite<uint32_t, ByteWriter<uint32_t>::WriteBigEndian, sizeof(uint32_t)>( in TEST_F() 152 TestWrite<uint64_t, ByteWriter<uint64_t>::WriteBigEndian, sizeof(uint64_t)>( in TEST_F() 158 TestWrite<int16_t, ByteWriter<int16_t>::WriteBigEndian, sizeof(int16_t)>( in TEST_F() 164 TestWrite<int32_t, ByteWriter<int32_t, 3>::WriteBigEndian, 3>(true); in TEST_F() 169 TestWrite<int32_t, ByteWriter<int32_t>::WriteBigEndian, sizeof(int32_t)>( in TEST_F() 175 TestWrite<int64_t, ByteWriter<int64_t>::WriteBigEndian, sizeof(int64_t)>( in TEST_F() 182 TestWrite<uint16_t, ByteWriter<uint16_t>::WriteLittleEndian, in TEST_F() 188 TestWrite<uint32_t, ByteWriter<uint32_t, 3>::WriteLittleEndian, 3>(false); in TEST_F() [all …]
|
D | flexfec_header_reader_writer.cc | 132 ByteWriter<uint16_t>::WriteBigEndian(&packet_mask[0], mask_part0); in ReadFecHeader() 153 ByteWriter<uint32_t>::WriteBigEndian(&packet_mask[2], mask_part1); in ReadFecHeader() 187 ByteWriter<uint64_t>::WriteBigEndian(&packet_mask[6], mask_part2); in ReadFecHeader() 255 ByteWriter<uint8_t>::WriteBigEndian(&data[8], kSsrcCount); in FinalizeFecHeader() 256 ByteWriter<uint32_t, 3>::WriteBigEndian(&data[9], kReservedBits); in FinalizeFecHeader() 257 ByteWriter<uint32_t>::WriteBigEndian(&data[12], media_ssrc); in FinalizeFecHeader() 258 ByteWriter<uint16_t>::WriteBigEndian(&data[16], seq_num_base); in FinalizeFecHeader() 273 ByteWriter<uint16_t>::WriteBigEndian(&written_packet_mask[0], in FinalizeFecHeader() 276 ByteWriter<uint32_t>::WriteBigEndian(&written_packet_mask[2], in FinalizeFecHeader() 299 ByteWriter<uint16_t>::WriteBigEndian(&written_packet_mask[0], in FinalizeFecHeader()
|
D | rtp_header_extensions.cc | 57 ByteWriter<uint32_t, 3>::WriteBigEndian(data.data(), time_24bits); in Write() 133 ByteWriter<uint64_t>::WriteBigEndian(data.data(), in Write() 137 ByteWriter<int64_t>::WriteBigEndian( in Write() 220 ByteWriter<int32_t, 3>::WriteBigEndian(data.data(), rtp_time); in Write() 246 ByteWriter<uint16_t>::WriteBigEndian(data.data(), transport_sequence_number); in Write() 307 ByteWriter<uint16_t>::WriteBigEndian(data.data(), transport_sequence_number); in Write() 315 ByteWriter<uint16_t>::WriteBigEndian(data.data() + 2, feedback_request_raw); in Write() 397 ByteWriter<uint32_t, 3>::WriteBigEndian(data.data(), in Write() 500 ByteWriter<uint8_t>::WriteBigEndian(data.data() + kFlagsOffset, timing.flags); in Write() 501 ByteWriter<uint16_t>::WriteBigEndian(data.data() + kEncodeStartDeltaOffset, in Write() [all …]
|
D | byte_io.h | 173 class ByteWriter; variable 177 class ByteWriter<T, B, false> { 196 class ByteWriter<T, B, true> { 201 ByteWriter<U, B, false>::WriteBigEndian(data, ReinterpretAsUnsigned(val)); in WriteBigEndian() 205 ByteWriter<U, B, false>::WriteLittleEndian(data, in WriteLittleEndian() 261 class ByteWriter<T, 1, false> { 290 class ByteWriter<T, 2, false> { 329 class ByteWriter<T, 4, false> { 373 class ByteWriter<T, 8, false> {
|
D | fec_test_helper.cc | 78 webrtc::ByteWriter<uint16_t>::WriteBigEndian(&data[2], seq_num); in ConstructMediaPackets() 79 webrtc::ByteWriter<uint32_t>::WriteBigEndian(&data[4], time_stamp); in ConstructMediaPackets() 80 webrtc::ByteWriter<uint32_t>::WriteBigEndian(&data[8], ssrc_); in ConstructMediaPackets() 147 ByteWriter<uint16_t>::WriteBigEndian(data + 2, header.sequenceNumber); in WriteRtpHeader() 148 ByteWriter<uint32_t>::WriteBigEndian(data + 4, header.timestamp); in WriteRtpHeader() 149 ByteWriter<uint32_t>::WriteBigEndian(data + 8, header.ssrc); in WriteRtpHeader()
|
D | video_rtp_depacketizer_h264_unittest.cc | 197 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kOriginalSps)); in TEST() 200 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kRewrittenSps)); in TEST() 204 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kIdrOne)); in TEST() 210 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kIdrTwo)); in TEST() 233 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kOriginalSps)); in TEST() 240 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kOriginalSps)); in TEST() 243 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kRewrittenSps)); in TEST() 247 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kIdrOne)); in TEST() 253 ByteWriter<uint16_t>::WriteBigEndian(kHeader, sizeof(kIdrTwo)); in TEST()
|
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | report_block.cc | 71 ByteWriter<uint32_t>::WriteBigEndian(&buffer[0], source_ssrc()); in Create() 72 ByteWriter<uint8_t>::WriteBigEndian(&buffer[4], fraction_lost()); in Create() 73 ByteWriter<int32_t, 3>::WriteBigEndian(&buffer[5], cumulative_lost_signed()); in Create() 74 ByteWriter<uint32_t>::WriteBigEndian(&buffer[8], extended_high_seq_num()); in Create() 75 ByteWriter<uint32_t>::WriteBigEndian(&buffer[12], jitter()); in Create() 76 ByteWriter<uint32_t>::WriteBigEndian(&buffer[16], last_sr()); in Create() 77 ByteWriter<uint32_t>::WriteBigEndian(&buffer[20], delay_since_last_sr()); in Create()
|
D | sender_report.cc | 102 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 0], sender_ssrc()); in Create() 103 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 4], ntp_.seconds()); in Create() 104 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 8], ntp_.fractions()); in Create() 105 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 12], rtp_timestamp_); in Create() 106 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 16], in Create() 108 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 20], in Create()
|
D | dlrr.cc | 79 ByteWriter<uint16_t>::WriteBigEndian( in Create() 84 ByteWriter<uint32_t>::WriteBigEndian(&write_at[0], sub_block.ssrc); in Create() 85 ByteWriter<uint32_t>::WriteBigEndian(&write_at[4], sub_block.last_rr); in Create() 86 ByteWriter<uint32_t>::WriteBigEndian(&write_at[8], in Create()
|
D | rrtr.cc | 43 ByteWriter<uint16_t>::WriteBigEndian(&buffer[2], kBlockLength); in Create() 44 ByteWriter<uint32_t>::WriteBigEndian(&buffer[4], ntp_.seconds()); in Create() 45 ByteWriter<uint32_t>::WriteBigEndian(&buffer[8], ntp_.fractions()); in Create()
|
D | fir.cc | 104 ByteWriter<uint32_t>::WriteBigEndian(packet + *index, request.ssrc); in Create() 105 ByteWriter<uint8_t>::WriteBigEndian(packet + *index + 4, request.seq_nr); in Create() 106 ByteWriter<uint32_t, 3>::WriteBigEndian(packet + *index + 5, kReserved); in Create()
|
D | loss_notification.cc | 73 ByteWriter<uint32_t>::WriteBigEndian(packet + *index, kUniqueIdentifier); in Create() 76 ByteWriter<uint16_t>::WriteBigEndian(packet + *index, last_decoded_); in Create() 84 ByteWriter<uint16_t>::WriteBigEndian(packet + *index, in Create()
|
D | rtpfb.cc | 40 ByteWriter<uint32_t>::WriteBigEndian(&payload[0], sender_ssrc()); in CreateCommonFeedback() 41 ByteWriter<uint32_t>::WriteBigEndian(&payload[4], media_ssrc()); in CreateCommonFeedback()
|
D | psfb.cc | 42 ByteWriter<uint32_t>::WriteBigEndian(&payload[0], sender_ssrc()); in CreateCommonFeedback() 43 ByteWriter<uint32_t>::WriteBigEndian(&payload[4], media_ssrc()); in CreateCommonFeedback()
|
D | remb.cc | 121 ByteWriter<uint32_t>::WriteBigEndian(packet + *index, kUniqueIdentifier); in Create() 132 ByteWriter<uint16_t>::WriteBigEndian(packet + *index, mantissa & 0xffff); in Create() 136 ByteWriter<uint32_t>::WriteBigEndian(packet + *index, ssrc); in Create()
|
D | tmmb_item.cc | 61 ByteWriter<uint32_t>::WriteBigEndian(&buffer[0], ssrc_); in Create() 63 ByteWriter<uint32_t>::WriteBigEndian(&buffer[4], compact); in Create()
|
D | sdes.cc | 178 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 0], chunk.ssrc); in Create() 179 ByteWriter<uint8_t>::WriteBigEndian(&packet[*index + 4], kCnameTag); in Create() 180 ByteWriter<uint8_t>::WriteBigEndian( in Create()
|
/external/webrtc/modules/video_coding/utility/ |
D | ivf_file_writer.cc | 62 ByteWriter<uint16_t>::WriteLittleEndian(&ivf_header[4], 0); // Version. in WriteHeader() 63 ByteWriter<uint16_t>::WriteLittleEndian(&ivf_header[6], 32); // Header size. in WriteHeader() 89 ByteWriter<uint16_t>::WriteLittleEndian(&ivf_header[12], width_); in WriteHeader() 90 ByteWriter<uint16_t>::WriteLittleEndian(&ivf_header[14], height_); in WriteHeader() 93 ByteWriter<uint32_t>::WriteLittleEndian( in WriteHeader() 95 ByteWriter<uint32_t>::WriteLittleEndian(&ivf_header[20], 1); in WriteHeader() 96 ByteWriter<uint32_t>::WriteLittleEndian(&ivf_header[24], in WriteHeader() 98 ByteWriter<uint32_t>::WriteLittleEndian(&ivf_header[28], 0); // Reserved. in WriteHeader() 196 ByteWriter<uint32_t>::WriteLittleEndian(&frame_header[0], in WriteOneSpatialLayer() 198 ByteWriter<uint64_t>::WriteLittleEndian(&frame_header[4], timestamp); in WriteOneSpatialLayer()
|
/external/webrtc/modules/video_coding/codecs/multiplex/ |
D | multiplex_encoded_image_packer.cc | 22 ByteWriter<uint8_t>::WriteBigEndian(buffer + offset, header.component_count); in PackHeader() 25 ByteWriter<uint16_t>::WriteBigEndian(buffer + offset, header.image_index); in PackHeader() 28 ByteWriter<uint16_t>::WriteBigEndian(buffer + offset, in PackHeader() 32 ByteWriter<uint32_t>::WriteBigEndian(buffer + offset, in PackHeader() 36 ByteWriter<uint32_t>::WriteBigEndian(buffer + offset, in PackHeader() 72 ByteWriter<uint32_t>::WriteBigEndian( in PackFrameHeader() 76 ByteWriter<uint8_t>::WriteBigEndian(buffer + offset, in PackFrameHeader() 80 ByteWriter<uint32_t>::WriteBigEndian(buffer + offset, in PackFrameHeader() 84 ByteWriter<uint32_t>::WriteBigEndian(buffer + offset, in PackFrameHeader() 88 ByteWriter<uint8_t>::WriteBigEndian(buffer + offset, frame_header.codec_type); in PackFrameHeader() [all …]
|
/external/webrtc/test/fuzzers/ |
D | flexfec_receiver_fuzzer.cc | 57 ByteWriter<uint16_t>::WriteBigEndian(packet.get() + 2, flexfec_seq_num++); in FuzzOneInput() 58 ByteWriter<uint32_t>::WriteBigEndian(packet.get() + 8, flexfec_ssrc); in FuzzOneInput() 61 ByteWriter<uint16_t>::WriteBigEndian(packet.get() + 2, media_seq_num++); in FuzzOneInput() 62 ByteWriter<uint32_t>::WriteBigEndian(packet.get() + 8, media_ssrc); in FuzzOneInput()
|
D | forward_error_correction_fuzzer.cc | 101 ByteWriter<uint8_t>::WriteBigEndian(&packet_buffer[8], 1); // SSRCCount. in FuzzOneInput() 102 ByteWriter<uint32_t>::WriteBigEndian(&packet_buffer[12], in FuzzOneInput() 104 ByteWriter<uint16_t>::WriteBigEndian( in FuzzOneInput()
|
D | ulpfec_generator_fuzzer.cc | 48 ByteWriter<uint8_t>::WriteBigEndian(&packet[0], 2 << 6); in FuzzOneInput() 50 ByteWriter<uint16_t>::WriteBigEndian(&packet[2], seq_num++); in FuzzOneInput()
|
D | flexfec_sender_fuzzer.cc | 57 ByteWriter<uint16_t>::WriteBigEndian(&packet[2], seq_num++); in FuzzOneInput() 58 ByteWriter<uint32_t>::WriteBigEndian(&packet[8], kMediaSsrc); in FuzzOneInput()
|
/external/webrtc/audio/ |
D | audio_receive_stream_unittest.cc | 177 ByteWriter<uint16_t>::WriteBigEndian(&(*it), kRtpOneByteHeaderExtensionId); in BuildOneByteExtension() 180 ByteWriter<uint16_t>::WriteBigEndian(&(*it), kOneByteExtensionLength / 4); in BuildOneByteExtension() 187 ByteWriter<uint32_t, kExtensionDataLength>::WriteBigEndian(&(*it), in BuildOneByteExtension() 202 ByteWriter<uint16_t>::WriteBigEndian(&header[2], 0x1234); // Sequence number. in CreateRtpHeaderWithOneByteExtension() 203 ByteWriter<uint32_t>::WriteBigEndian(&header[4], 0x5678); // Timestamp. in CreateRtpHeaderWithOneByteExtension() 204 ByteWriter<uint32_t>::WriteBigEndian(&header[8], 0x4321); // SSRC. in CreateRtpHeaderWithOneByteExtension() 218 ByteWriter<uint16_t>::WriteBigEndian(&packet[2], 6); in CreateRtcpSenderReport() 219 ByteWriter<uint32_t>::WriteBigEndian(&packet[4], kLocalSsrc); in CreateRtcpSenderReport()
|
/external/webrtc/modules/audio_coding/neteq/tools/ |
D | fake_decode_from_file.cc | 158 ByteWriter<uint32_t>::WriteLittleEndian(&encoded[0], timestamp); in PrepareEncoded() 159 ByteWriter<uint32_t>::WriteLittleEndian(&encoded[4], in PrepareEncoded() 161 ByteWriter<uint32_t>::WriteLittleEndian( in PrepareEncoded()
|