/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | byte_io_unittest.cc | 108 TestWrite<uint16_t, ByteWriter<uint16_t>::WriteBigEndian, in TEST_F() 114 TestWrite<uint32_t, ByteWriter<uint32_t, 3>::WriteBigEndian, 3>(true); in TEST_F() 120 TestWrite<uint32_t, ByteWriter<uint32_t>::WriteBigEndian, in TEST_F() 127 TestWrite<uint64_t, ByteWriter<uint64_t>::WriteBigEndian, in TEST_F() 134 TestWrite<int16_t, ByteWriter<int16_t>::WriteBigEndian, in TEST_F() 140 TestWrite<int32_t, ByteWriter<int32_t, 3>::WriteBigEndian, 3>(true); in TEST_F() 146 TestWrite<int32_t, ByteWriter<int32_t>::WriteBigEndian, in TEST_F() 153 TestWrite<int64_t, ByteWriter<int64_t>::WriteBigEndian, in TEST_F() 160 TestWrite<uint16_t, ByteWriter<uint16_t>::WriteLittleEndian, in TEST_F() 166 TestWrite<uint32_t, ByteWriter<uint32_t, 3>::WriteLittleEndian, 3>(false); in TEST_F() [all …]
|
D | byte_io.h | 175 class ByteWriter; variable 179 class ByteWriter<T, B, false> { 198 class ByteWriter<T, B, true> { 203 ByteWriter<U, B, false>::WriteBigEndian(data, ReinterpretAsUnsigned(val)); in WriteBigEndian() 207 ByteWriter<U, B, false>::WriteLittleEndian(data, in WriteLittleEndian() 263 class ByteWriter<T, 1, false> { 292 class ByteWriter<T, 2, false> { 324 class ByteWriter<T, 4, false> { 372 class ByteWriter<T, 8, false> {
|
D | fec_test_helper.cc | 90 ByteWriter<uint16_t>::WriteBigEndian(data + 2, header->sequenceNumber); in BuildRtpHeader() 91 ByteWriter<uint32_t>::WriteBigEndian(data + 4, header->timestamp); in BuildRtpHeader() 92 ByteWriter<uint32_t>::WriteBigEndian(data + 8, header->ssrc); in BuildRtpHeader()
|
D | rtp_sender.cc | 1171 ByteWriter<uint16_t>::WriteBigEndian(header + 2, sequence_number); in CreateRtpHeader() 1172 ByteWriter<uint32_t>::WriteBigEndian(header + 4, timestamp); in CreateRtpHeader() 1173 ByteWriter<uint32_t>::WriteBigEndian(header + 8, ssrc); in CreateRtpHeader() 1179 ByteWriter<uint32_t>::WriteBigEndian(ptr, csrcs[i]); in CreateRtpHeader() 1241 ByteWriter<uint16_t>::WriteBigEndian(data_buffer, in BuildRTPHeaderExtension() 1286 ByteWriter<uint16_t>::WriteBigEndian(data_buffer + kPosLength, in BuildRTPHeaderExtension() 1321 ByteWriter<int32_t, 3>::WriteBigEndian(data_buffer + pos, in BuildTransmissionTimeOffsetExtension() 1383 ByteWriter<uint32_t, 3>::WriteBigEndian(data_buffer + pos, in BuildAbsoluteSendTimeExtension() 1437 ByteWriter<uint16_t>::WriteBigEndian(data_buffer + pos, sequence_number); in BuildTransportSequenceNumberExtension() 1535 ByteWriter<int32_t, 3>::WriteBigEndian(rtp_packet + offset + 1, in UpdateTransmissionTimeOffset() [all …]
|
D | rtcp_utility_unittest.cc | 108 ByteWriter<uint16_t>::WriteBigEndian(&buffer[2], kBlockSize); in TEST_F() 123 ByteWriter<uint16_t>::WriteBigEndian(&buffer[2], kBlockSize); in TEST_F()
|
D | rtp_payload_registry_unittest.cc | 270 ByteWriter<uint16_t>::WriteBigEndian(packet + 2, 9999); in GenerateRtxPacket() 273 ByteWriter<uint32_t>::WriteBigEndian(packet + 8, 9999); in GenerateRtxPacket() 277 ByteWriter<uint16_t>::WriteBigEndian(packet + header_length, in GenerateRtxPacket()
|
D | forward_error_correction.cc | 233 ByteWriter<uint16_t>::WriteBigEndian( in GenerateFecBitStrings() 442 ByteWriter<uint16_t>::WriteBigEndian( in GenerateFecUlpHeaders() 681 ByteWriter<uint32_t>::WriteBigEndian(&recovered->pkt->data[8], in InitRecovery() 692 ByteWriter<uint16_t>::WriteBigEndian(&recovered->pkt->data[2], in FinishRecovery() 716 ByteWriter<uint16_t>::WriteBigEndian(media_payload_length, in XorPackets()
|
D | rtp_sender_audio.cc | 305 ByteWriter<uint32_t>::WriteBigEndian(dataBuffer + rtpHeaderLength, in SendAudio() 451 ByteWriter<uint16_t>::WriteBigEndian(dtmfbuffer + 14, duration); in SendTelephoneEventPacket()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | voip_metric.cc | 79 ByteWriter<uint16_t>::WriteBigEndian(&buffer[2], kBlockLength); in Create() 80 ByteWriter<uint32_t>::WriteBigEndian(&buffer[4], ssrc_); in Create() 85 ByteWriter<uint16_t>::WriteBigEndian(&buffer[12], voip_metric_.burstDuration); in Create() 86 ByteWriter<uint16_t>::WriteBigEndian(&buffer[14], voip_metric_.gapDuration); in Create() 87 ByteWriter<uint16_t>::WriteBigEndian(&buffer[16], in Create() 89 ByteWriter<uint16_t>::WriteBigEndian(&buffer[18], in Create() 101 ByteWriter<uint16_t>::WriteBigEndian(&buffer[30], voip_metric_.JBnominal); in Create() 102 ByteWriter<uint16_t>::WriteBigEndian(&buffer[32], voip_metric_.JBmax); in Create() 103 ByteWriter<uint16_t>::WriteBigEndian(&buffer[34], voip_metric_.JBabsMax); in Create()
|
D | report_block.cc | 70 ByteWriter<uint32_t>::WriteBigEndian(&buffer[0], source_ssrc()); in Create() 71 ByteWriter<uint8_t>::WriteBigEndian(&buffer[4], fraction_lost()); in Create() 72 ByteWriter<uint32_t, 3>::WriteBigEndian(&buffer[5], cumulative_lost()); in Create() 73 ByteWriter<uint32_t>::WriteBigEndian(&buffer[8], extended_high_seq_num()); in Create() 74 ByteWriter<uint32_t>::WriteBigEndian(&buffer[12], jitter()); in Create() 75 ByteWriter<uint32_t>::WriteBigEndian(&buffer[16], last_sr()); in Create() 76 ByteWriter<uint32_t>::WriteBigEndian(&buffer[20], delay_since_last_sr()); in Create()
|
D | dlrr.cc | 71 ByteWriter<uint16_t>::WriteBigEndian(&buffer[2], 3 * sub_blocks_.size()); in Create() 75 ByteWriter<uint32_t>::WriteBigEndian(&write_at[0], sub_block.ssrc); in Create() 76 ByteWriter<uint32_t>::WriteBigEndian(&write_at[4], sub_block.last_rr); in Create() 77 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 | 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 | 40 ByteWriter<uint32_t>::WriteBigEndian(&payload[0], sender_ssrc_); in CreateCommonFeedback() 41 ByteWriter<uint32_t>::WriteBigEndian(&payload[4], media_ssrc_); in CreateCommonFeedback()
|
D | app.cc | 70 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 0], ssrc_); in Create() 71 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index + 4], name_); in Create()
|
D | transport_feedback.cc | 583 ByteWriter<uint32_t>::WriteBigEndian(&packet[*position], packet_sender_ssrc_); in Create() 585 ByteWriter<uint32_t>::WriteBigEndian(&packet[*position], media_source_ssrc_); in Create() 589 ByteWriter<uint16_t>::WriteBigEndian(&packet[*position], base_seq_); in Create() 594 ByteWriter<uint16_t>::WriteBigEndian(&packet[*position], status_count); in Create() 597 ByteWriter<int32_t, 3>::WriteBigEndian(&packet[*position], in Create() 614 ByteWriter<int16_t>::WriteBigEndian(&packet[*position], delta); in Create()
|
D | bye.cc | 88 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index], sender_ssrc_); in Create() 91 ByteWriter<uint32_t>::WriteBigEndian(&packet[*index], csrc); in Create()
|
D | nack.cc | 104 ByteWriter<uint16_t>::WriteBigEndian(packet + *index + 0, item.first_pid); in Create() 105 ByteWriter<uint16_t>::WriteBigEndian(packet + *index + 2, item.bitmask); in Create()
|
D | extended_jitter_report.cc | 86 ByteWriter<uint32_t>::WriteBigEndian(packet + *index, jitter); in Create()
|
D | receiver_report.cc | 70 ByteWriter<uint32_t>::WriteBigEndian(packet + *index, sender_ssrc_); in Create()
|
D | sli.cc | 58 ByteWriter<uint32_t>::WriteBigEndian(buffer, item_); in Create()
|
/external/webrtc/webrtc/audio/ |
D | audio_receive_stream_unittest.cc | 169 ByteWriter<uint16_t>::WriteBigEndian(&(*it), kRtpOneByteHeaderExtensionId); in BuildOneByteExtension() 172 ByteWriter<uint16_t>::WriteBigEndian(&(*it), kOneByteExtensionLength / 4); in BuildOneByteExtension() 179 ByteWriter<uint32_t, kExtensionDataLength>::WriteBigEndian(&(*it), in BuildOneByteExtension() 194 ByteWriter<uint16_t>::WriteBigEndian(&header[2], 0x1234); // Sequence number. in CreateRtpHeaderWithOneByteExtension() 195 ByteWriter<uint32_t>::WriteBigEndian(&header[4], 0x5678); // Timestamp. in CreateRtpHeaderWithOneByteExtension() 196 ByteWriter<uint32_t>::WriteBigEndian(&header[8], 0x4321); // SSRC. in CreateRtpHeaderWithOneByteExtension()
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
D | test_api_video.cc | 89 ByteWriter<uint16_t>::WriteBigEndian(dataBuffer + 2, sequence_number); in BuildRTPheader() 90 ByteWriter<uint32_t>::WriteBigEndian(dataBuffer + 4, timestamp); in BuildRTPheader() 91 ByteWriter<uint32_t>::WriteBigEndian(dataBuffer + 8, 0x1234); // SSRC. in BuildRTPheader()
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testFec/ |
D | test_fec.cc | 257 ByteWriter<uint16_t>::WriteBigEndian(&mediaPacket->data[2], in TEST() 259 ByteWriter<uint32_t>::WriteBigEndian(&mediaPacket->data[4], in TEST() 261 ByteWriter<uint32_t>::WriteBigEndian(&mediaPacket->data[8], ssrc); in TEST()
|
/external/webrtc/webrtc/test/fuzzers/ |
D | producer_fec_fuzzer.cc | 37 ByteWriter<uint16_t>::WriteBigEndian(&packet[2], seq_num++); in FuzzOneInput()
|