Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_unittest.cc300 WebRtcRTPHeader* rtp_info);
303 WebRtcRTPHeader* rtp_info,
496 WebRtcRTPHeader* rtp_info) { in PopulateRtpInfo() argument
497 rtp_info->header.sequenceNumber = frame_index; in PopulateRtpInfo()
498 rtp_info->header.timestamp = timestamp; in PopulateRtpInfo()
499 rtp_info->header.ssrc = 0x1234; // Just an arbitrary SSRC. in PopulateRtpInfo()
500 rtp_info->header.payloadType = 94; // PCM16b WB codec. in PopulateRtpInfo()
501 rtp_info->header.markerBit = 0; in PopulateRtpInfo()
506 WebRtcRTPHeader* rtp_info, in PopulateCng() argument
509 rtp_info->header.sequenceNumber = frame_index; in PopulateCng()
[all …]
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dinitial_delay_manager.cc35 const WebRtcRTPHeader& rtp_info, in UpdateLastReceivedPacket() argument
45 rtp_info.header.payloadType != audio_payload_type_)); in UpdateLastReceivedPacket()
48 const RTPHeader* current_header = &rtp_info.header; in UpdateLastReceivedPacket()
68 audio_payload_type_ = rtp_info.header.payloadType; in UpdateLastReceivedPacket()
72 RecordLastPacket(rtp_info, receive_timestamp, type); in UpdateLastReceivedPacket()
107 RecordLastPacket(rtp_info, receive_timestamp, type); in UpdateLastReceivedPacket()
130 memcpy(&sync_stream->rtp_info, &rtp_info, sizeof(rtp_info)); in UpdateLastReceivedPacket()
131 sync_stream->rtp_info.header.payloadType = audio_payload_type_; in UpdateLastReceivedPacket()
142 sync_stream->rtp_info.header.sequenceNumber -= sequence_number_update; in UpdateLastReceivedPacket()
144 sync_stream->rtp_info.header.timestamp -= timestamp_update; in UpdateLastReceivedPacket()
[all …]
Dinitial_delay_manager_unittest.cc32 void InitRtpInfo(WebRtcRTPHeader* rtp_info) { in InitRtpInfo() argument
33 memset(rtp_info, 0, sizeof(*rtp_info)); in InitRtpInfo()
34 rtp_info->header.markerBit = false; in InitRtpInfo()
35 rtp_info->header.payloadType = kAudioPayloadType; in InitRtpInfo()
36 rtp_info->header.sequenceNumber = 1234; in InitRtpInfo()
37 rtp_info->header.timestamp = 0xFFFFFFFD; // Close to wrap around. in InitRtpInfo()
38 rtp_info->header.ssrc = 0x87654321; // Arbitrary. in InitRtpInfo()
39 rtp_info->header.numCSRCs = 0; // Arbitrary. in InitRtpInfo()
40 rtp_info->header.paddingLength = 0; in InitRtpInfo()
41 rtp_info->header.headerLength = sizeof(RTPHeader); in InitRtpInfo()
[all …]
Dinitial_delay_manager.h32 memset(&rtp_info, 0, sizeof(rtp_info)); in SyncStream()
38 WebRtcRTPHeader rtp_info; member
91 void RecordLastPacket(const WebRtcRTPHeader& rtp_info,
Daudio_coding_module_impl.h136 const WebRtcRTPHeader& rtp_info) override;
/external/webrtc/webrtc/modules/video_coding/
Dvideo_coding_robustness_unittest.cc58 WebRtcRTPHeader rtp_info; in InsertPacket() local
59 memset(&rtp_info, 0, sizeof(rtp_info)); in InsertPacket()
60 rtp_info.frameType = frame_type; in InsertPacket()
61 rtp_info.header.timestamp = timestamp; in InsertPacket()
62 rtp_info.header.sequenceNumber = seq_no; in InsertPacket()
63 rtp_info.header.markerBit = marker_bit; in InsertPacket()
64 rtp_info.header.payloadType = video_codec_.plType; in InsertPacket()
65 rtp_info.type.Video.codec = kRtpVideoVp8; in InsertPacket()
66 rtp_info.type.Video.codecHeader.VP8.InitRTPVideoHeaderVP8(); in InsertPacket()
67 rtp_info.type.Video.isFirstPacket = first; in InsertPacket()
[all …]
/external/webrtc/webrtc/modules/audio_coding/test/
DTestAllCodecs.cc64 WebRtcRTPHeader rtp_info; in SendData() local
67 rtp_info.header.markerBit = false; in SendData()
68 rtp_info.header.ssrc = 0; in SendData()
69 rtp_info.header.sequenceNumber = sequence_number_++; in SendData()
70 rtp_info.header.payloadType = payload_type; in SendData()
71 rtp_info.header.timestamp = timestamp; in SendData()
73 rtp_info.type.Audio.isCNG = true; in SendData()
75 rtp_info.type.Audio.isCNG = false; in SendData()
83 rtp_info.type.Audio.channel = 1; in SendData()
86 status = receiver_acm_->IncomingPacket(payload_data_, payload_size, rtp_info); in SendData()
DTestStereo.cc53 WebRtcRTPHeader rtp_info; in SendData() local
56 rtp_info.header.markerBit = false; in SendData()
57 rtp_info.header.ssrc = 0; in SendData()
58 rtp_info.header.sequenceNumber = seq_no_++; in SendData()
59 rtp_info.header.payloadType = payload_type; in SendData()
60 rtp_info.header.timestamp = timestamp; in SendData()
68 rtp_info.type.Audio.isCNG = false; in SendData()
69 rtp_info.type.Audio.channel = static_cast<int>(codec_mode_); in SendData()
71 rtp_info.type.Audio.isCNG = true; in SendData()
72 rtp_info.type.Audio.channel = static_cast<int>(kMono); in SendData()
[all …]
/external/webrtc/webrtc/modules/audio_coding/include/
Daudio_coding_module.h531 const WebRtcRTPHeader& rtp_info) = 0;