Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_RTPpacket.cc617 void NETEQTEST_RTPpacket::makeRTPheader(unsigned char* rtp_data, in makeRTPheader() argument
624 rtp_data[0] = markerBit ? 0x81 : 0x80; in makeRTPheader()
625 rtp_data[1] = payloadType; in makeRTPheader()
626 rtp_data[2] = seqNo >> 8; in makeRTPheader()
627 rtp_data[3] = seqNo & 0xFF; in makeRTPheader()
628 rtp_data[4] = timestamp >> 24; in makeRTPheader()
629 rtp_data[5] = (timestamp >> 16) & 0xFF; in makeRTPheader()
630 rtp_data[6] = (timestamp >> 8) & 0xFF; in makeRTPheader()
631 rtp_data[7] = timestamp & 0xFF; in makeRTPheader()
632 rtp_data[8] = ssrc >> 24; in makeRTPheader()
[all …]
DRTPencode.cc108 void makeRTPheader(unsigned char* rtp_data,
113 int makeRedundantHeader(unsigned char* rtp_data,
290 unsigned char rtp_data[kRtpDataSize]; in main() local
630 makeRTPheader(rtp_data, NETEQ_CODEC_AVT_PT, seqNo, DTMFtimestamp, ssrc); in main()
632 &rtp_data[12], NTone % 12, 0, 4, in main()
636 makeRTPheader(rtp_data, NETEQ_CODEC_AVT_PT, seqNo, DTMFtimestamp, ssrc); in main()
637 enc_len = makeDTMFpayload(&rtp_data[12], NTone % 12, 1, 4, in main()
657 if (fwrite(rtp_data, 12 + enc_len, 1, out_file) != 1) { in main()
674 NetEQTest_encode(usedCodec, org_data, packet_size, &rtp_data[12], fs, in main()
679 stereoInterleave(&rtp_data[12], enc_len, stereoMode); in main()
[all …]
DNETEQTEST_RTPpacket.h91 void makeRTPheader(unsigned char* rtp_data, uint8_t payloadType,
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dpacket_unittest.cc27 uint8_t* rtp_data) { in MakeRtpHeader() argument
28 rtp_data[0] = 0x80; in MakeRtpHeader()
29 rtp_data[1] = static_cast<uint8_t>(payload_type); in MakeRtpHeader()
30 rtp_data[2] = (seq_number >> 8) & 0xFF; in MakeRtpHeader()
31 rtp_data[3] = (seq_number) & 0xFF; in MakeRtpHeader()
32 rtp_data[4] = timestamp >> 24; in MakeRtpHeader()
33 rtp_data[5] = (timestamp >> 16) & 0xFF; in MakeRtpHeader()
34 rtp_data[6] = (timestamp >> 8) & 0xFF; in MakeRtpHeader()
35 rtp_data[7] = timestamp & 0xFF; in MakeRtpHeader()
36 rtp_data[8] = ssrc >> 24; in MakeRtpHeader()
[all …]
/external/webrtc/webrtc/test/
Drtp_file_reader.cc175 uint8_t* rtp_data = packet->data; in NextPacket() local
193 if (fread(rtp_data, 1, len, file_) != len) { in NextPacket()
/external/webrtc/webrtc/video/
Dvie_channel.cc818 StreamDataCounters rtp_data; in GetSendStreamDataCounters() local
820 rtp_rtcp->GetSendStreamDataCounters(&rtp_data, &rtx_data); in GetSendStreamDataCounters()
821 rtp_counters->Add(rtp_data); in GetSendStreamDataCounters()
/external/webrtc/talk/session/media/
Dchannel_unittest.cc131 const uint8_t* rtp_data, in ChannelTest() argument
140 rtp_packet_(reinterpret_cast<const char*>(rtp_data), rtp_len), in ChannelTest()