Home
last modified time | relevance | path

Searched refs:payloadType (Results 1 – 25 of 98) sorted by relevance

1234

/external/webrtc/webrtc/modules/audio_coding/test/
DChannel.cc23 uint8_t payloadType, in SendData() argument
36 rtpInfo.header.payloadType = payloadType; in SendData()
81 rtpInfo.header.payloadType = fragmentation->fragmentationPlType[0]; in SendData()
132 if ((rtpInfo.header.payloadType != _lastPayloadType) in CalcStatistics()
139 if (_lastPayloadType == _payloadStats[n].payloadType) { in CalcStatistics()
145 _lastPayloadType = rtpInfo.header.payloadType; in CalcStatistics()
150 if (rtpInfo.header.payloadType == _payloadStats[n].payloadType) { in CalcStatistics()
206 currentPayloadStr->payloadType = rtpInfo.header.payloadType; in CalcStatistics()
212 while (_payloadStats[n].payloadType != -1) { in CalcStatistics()
219 _payloadStats[n].payloadType = rtpInfo.header.payloadType; in CalcStatistics()
[all …]
DRTPFile.cc32 rtpInfo->header.payloadType = rtpHeader[1]; in ParseRTPHeader()
43 void RTPStream::MakeRTPheader(uint8_t* rtpHeader, uint8_t payloadType, in MakeRTPheader() argument
47 rtpHeader[1] = payloadType; in MakeRTPheader()
60 RTPPacket::RTPPacket(uint8_t payloadType, uint32_t timeStamp, int16_t seqNo, in RTPPacket() argument
63 : payloadType(payloadType), in RTPPacket()
86 void RTPBuffer::Write(const uint8_t payloadType, const uint32_t timeStamp, in Write() argument
89 RTPPacket *packet = new RTPPacket(payloadType, timeStamp, seqNo, payloadData, in Write()
103 rtpInfo->header.payloadType = packet->payloadType; in Read()
169 void RTPFile::Write(const uint8_t payloadType, const uint32_t timeStamp, in Write() argument
174 MakeRTPheader(rtpHeader, payloadType, seqNo, timeStamp, 0); in Write()
DRTPFile.h29 virtual void Write(const uint8_t payloadType, const uint32_t timeStamp,
40 void MakeRTPheader(uint8_t* rtpHeader, uint8_t payloadType, int16_t seqNo,
48 RTPPacket(uint8_t payloadType, uint32_t timeStamp, int16_t seqNo,
54 uint8_t payloadType; variable
68 void Write(const uint8_t payloadType,
105 void Write(const uint8_t payloadType,
DChannel.h41 int16_t payloadType; member
54 uint8_t payloadType,
68 void Stats(uint8_t* payloadType, uint32_t* payloadLenByte);
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio.cc67 const int8_t payloadType, in RegisterAudioPayload() argument
77 _cngNBPayloadType = payloadType; in RegisterAudioPayload()
80 _cngWBPayloadType = payloadType; in RegisterAudioPayload()
83 _cngSWBPayloadType = payloadType; in RegisterAudioPayload()
86 _cngFBPayloadType = payloadType; in RegisterAudioPayload()
95 _dtmfPayloadType = payloadType; in RegisterAudioPayload()
153 int8_t payloadType, in SendAudio() argument
260 bool markerBit = MarkerBit(frameType, payloadType); in SendAudio()
276 rtpHeaderLength = _rtpSender->BuildRTPheader(dataBuffer, payloadType, in SendAudio()
347 _lastPayloadType = payloadType; in SendAudio()
[all …]
Drtp_sender_audio.h30 int8_t payloadType,
37 int8_t payloadType,
58 int32_t SetRED(int8_t payloadType);
61 int32_t RED(int8_t* payloadType) const;
71 bool MarkerBit(const FrameType frameType, const int8_t payloadType);
Drtp_receiver_impl.cc275 if (rtp_header.payloadType == last_received_payload_type) { in CheckSSRCChanged()
279 rtp_header.payloadType); in CheckSSRCChanged()
304 rtp_header.payloadType, payload_name, in CheckSSRCChanged()
308 << static_cast<int>(rtp_header.payloadType); in CheckSSRCChanged()
327 int8_t payload_type = rtp_header.payloadType; in CheckPayloadChanged()
416 rtp_header.header.payloadType)) { in CheckCSRC()
Drtp_payload_registry_unittest.cc293 header.payloadType = rtx_payload_type; in TestRtxPacket()
322 EXPECT_EQ(expected_payload_type, restored_header.payloadType) in TestRtxPacket()
331 header.payloadType = 90; in TEST_F()
354 header.payloadType = 90; in TEST_F()
370 header.payloadType = 90; in TEST_F()
Drtp_utility.cc133 const uint8_t payloadType = _ptrRTPDataBegin[1]; in RTCP() local
134 switch (payloadType) { in RTCP()
176 header->payloadType = PT; in ParseRtcp()
223 header->payloadType = PT; in Parse()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dinitial_delay_manager.cc28 last_packet_rtp_info_.header.payloadType = kInvalidPayloadType; in InitialDelayManager()
45 rtp_info.header.payloadType != audio_payload_type_)); in UpdateLastReceivedPacket()
65 last_packet_rtp_info_.header.payloadType == kInvalidPayloadType) { in UpdateLastReceivedPacket()
68 audio_payload_type_ = rtp_info.header.payloadType; in UpdateLastReceivedPacket()
131 sync_stream->rtp_info.header.payloadType = audio_payload_type_; in UpdateLastReceivedPacket()
145 sync_stream->rtp_info.header.payloadType = audio_payload_type_; in UpdateLastReceivedPacket()
207 sync_stream->rtp_info.header.payloadType = audio_payload_type_; in LatePackets()
215 last_packet_rtp_info_.header.payloadType = audio_payload_type_; in LatePackets()
Dinitial_delay_manager_unittest.cc35 rtp_info->header.payloadType = kAudioPayloadType; in InitRtpInfo()
99 rtp_info_.header.payloadType = kCngPayloadType; in TEST_F()
105 rtp_info_.header.payloadType = kAvtPayloadType; in TEST_F()
119 rtp_info_.header.payloadType = kAudioPayloadType; in TEST_F()
212 rtp_info_.header.payloadType = kCngPayloadType; in TEST_F()
219 rtp_info_.header.payloadType = kAudioPayloadType; in TEST_F()
335 rtp_info_.header.payloadType = kCngPayloadType; in TEST_F()
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DTransportCryptoOps.java77 for (PayloadType payloadType : PayloadType.values()) { in valueOf()
78 if (payloadType.getType().getNumber() == type) { in valueOf()
79 return payloadType; in valueOf()
90 private final PayloadType payloadType; field in TransportCryptoOps.Payload
93 public Payload(PayloadType payloadType, byte[] message) { in Payload() argument
94 if ((payloadType == null) || (message == null)) { in Payload()
97 this.payloadType = payloadType; in Payload()
102 return payloadType; in getPayloadType()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_RTPpacket.cc159 if (!_blockList.empty() && _blockList.count(payloadType()) > 0) in readFromFile()
199 if (!_blockList.empty() && _blockList.count(payloadType()) > 0) in readFixedFromFile()
289 rtp_header->header.payloadType = _rtpInfo.header.payloadType; in parseHeader()
353 uint8_t NETEQTEST_RTPpacket::payloadType() const in payloadType() function in NETEQTEST_RTPpacket
359 return tempRTPinfo.header.payloadType; in payloadType()
435 _rtpInfo.header.payloadType = pt; in setPayloadType()
543 RTPinfo->header.payloadType, in setRTPheader()
618 uint8_t payloadType, in makeRTPheader() argument
625 rtp_data[1] = payloadType; in makeRTPheader()
675 RTPinfo->header.payloadType = (rtp_data[0] >> 8) & 0x7F; in parseBasicHeader()
[all …]
DRTPencode.cc109 int payloadType,
114 int* payloadType,
284 int payloadType; in main() local
487 NetEQTest_GetCodec_and_PT(argv[4], &usedCodec, &payloadType, packet_size, &fs, in main()
574 printf("Payload type: %i\n", payloadType); in main()
695 red_PT[1] = payloadType; in main()
711 red_PT[1] = payloadType; in main()
724 makeRTPheader(rtp_data, payloadType, seqNo++, timestamp, ssrc); in main()
818 if (payloadType == NETEQ_CODEC_G722_PT) in main()
1742 int payloadType, in makeRTPheader() argument
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpacket_buffer.cc114 if (decoder_database.IsComfortNoise(packet->header.payloadType)) { in InsertPacketList()
116 *current_cng_rtp_payload_type != packet->header.payloadType) { in InsertPacketList()
122 *current_cng_rtp_payload_type = packet->header.payloadType; in InsertPacketList()
123 } else if (!decoder_database.IsDtmf(packet->header.payloadType)) { in InsertPacketList()
126 *current_rtp_payload_type != packet->header.payloadType) { in InsertPacketList()
131 *current_rtp_payload_type = packet->header.payloadType; in InsertPacketList()
255 decoder_database->GetDecoder(packet->header.payloadType); in NumSamplesInBuffer()
Dneteq_impl.cc460 if (decoder_database_->IsDtmf(rtp_header.header.payloadType) || in InsertPacketInternal()
461 decoder_database_->IsRed(rtp_header.header.payloadType) || in InsertPacketInternal()
462 decoder_database_->IsComfortNoise(rtp_header.header.payloadType)) { in InsertPacketInternal()
464 << static_cast<int>(rtp_header.header.payloadType); in InsertPacketInternal()
468 rtp_header.header.payloadType != current_rtp_payload_type_ || in InsertPacketInternal()
486 packet->header.payloadType = rtp_header.header.payloadType; in InsertPacketInternal()
527 current_rtp_payload_type_ = main_header.payloadType; in InsertPacketInternal()
541 if (decoder_database_->IsRed(main_header.payloadType)) { in InsertPacketInternal()
572 if (decoder_database_->IsDtmf(current_packet->header.payloadType)) { in InsertPacketInternal()
629 decoder_database_->GetDecoder(main_header.payloadType); in InsertPacketInternal()
[all …]
Dpayload_splitter_unittest.cc80 packet->header.payloadType = kRedPayloadType; in CreateRedPayload()
126 packet->header.payloadType = payload_type; in CreatePacket()
150 EXPECT_EQ(payload_type, packet->header.payloadType); in VerifyPacket()
643 EXPECT_EQ(kPayloadType, packet->header.payloadType); in TEST_P()
767 EXPECT_EQ(0, packet->header.payloadType); in TEST()
777 EXPECT_EQ(0, packet->header.payloadType); in TEST()
819 EXPECT_EQ(0, packet->header.payloadType); in TEST()
830 EXPECT_EQ(0, packet->header.payloadType); in TEST()
841 EXPECT_EQ(0, packet->header.payloadType); in TEST()
852 EXPECT_EQ(0, packet->header.payloadType); in TEST()
/external/webrtc/webrtc/modules/video_coding/
Dpacket.cc20 : payloadType(0), in VCMPacket()
39 : payloadType(rtpHeader.header.payloadType), in VCMPacket()
63 : payloadType(0), in VCMPacket()
81 payloadType = 0; in Reset()
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dneteq_rtpplay.cc306 if (IsComfortNoise(rtp_header->header.payloadType)) { in ReplacePayload()
331 if (CodecTimestampRate(rtp_header->header.payloadType) != in ReplacePayload()
332 CodecSampleRate(rtp_header->header.payloadType) || in ReplacePayload()
333 rtp_header->header.payloadType == FLAGS_red || in ReplacePayload()
334 rtp_header->header.payloadType == FLAGS_avt) { in ReplacePayload()
356 switch (CodecSampleRate(rtp_header->header.payloadType)) { in ReplacePayload()
358 rtp_header->header.payloadType = static_cast<uint8_t>(FLAGS_pcm16b); in ReplacePayload()
361 rtp_header->header.payloadType = static_cast<uint8_t>(FLAGS_pcm16b_wb); in ReplacePayload()
364 rtp_header->header.payloadType = in ReplacePayload()
368 rtp_header->header.payloadType = in ReplacePayload()
[all …]
Dpacket.cc99 header->payloadType = payload_ptr[0] & 0x7F; in ExtractRedHeaders()
112 header->payloadType = payload_ptr[0] & 0x7F; in ExtractRedHeaders()
151 destination->payloadType = header_.payloadType; in CopyToHeader()
Dpacket_unittest.cc56 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
87 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
164 EXPECT_EQ(kRedPayloadType, packet.header().payloadType); in TEST()
186 EXPECT_EQ(block_index, red_block->payloadType); in TEST()
Drtp_analyze.cc122 packet->header().payloadType, in main()
162 if (packet->header().payloadType == FLAGS_red) { in main()
173 red->payloadType); in main()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_audio.cc32 if (rtpHeader->header.payloadType == 98 || in OnReceivedPayloadData()
33 rtpHeader->header.payloadType == 99) { in OnReceivedPayloadData()
45 if (rtpHeader->header.payloadType == 100 || in OnReceivedPayloadData()
46 rtpHeader->header.payloadType == 101 || in OnReceivedPayloadData()
47 rtpHeader->header.payloadType == 102) { in OnReceivedPayloadData()
64 int32_t OnInitializeDecoder(const int8_t payloadType, in OnInitializeDecoder() argument
69 if (payloadType == 96) { in OnInitializeDecoder()
/external/webrtc/webrtc/test/
Dlayer_filtering_transport.cc56 if (header.payloadType == vp8_video_payload_type_ || in SendRtp()
57 header.payloadType == vp9_video_payload_type_) { in SendRtp()
64 const bool is_vp8 = header.payloadType == vp8_video_payload_type_; in SendRtp()
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp.h170 virtual int32_t DeRegisterSendPayload(int8_t payloadType) = 0;
301 int8_t payloadType,
577 virtual int32_t SetSendREDPayloadType(int8_t payloadType) = 0;
587 int32_t SendREDPayloadType(int8_t& payloadType) const { // NOLINT in SendREDPayloadType() argument
588 return SendREDPayloadType(&payloadType); in SendREDPayloadType()

1234