Home
last modified time | relevance | path

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

123

/external/webrtc/modules/audio_coding/test/
DChannel.cc23 uint8_t payloadType, in SendData() argument
38 rtp_header.payloadType = payloadType; in SendData()
96 if ((rtp_header.payloadType != _lastPayloadType) && in CalcStatistics()
103 if (_lastPayloadType == _payloadStats[n].payloadType) { in CalcStatistics()
109 _lastPayloadType = rtp_header.payloadType; in CalcStatistics()
114 if (rtp_header.payloadType == _payloadStats[n].payloadType) { in CalcStatistics()
171 currentPayloadStr->payloadType = rtp_header.payloadType; in CalcStatistics()
177 while (_payloadStats[n].payloadType != -1) { in CalcStatistics()
184 _payloadStats[n].payloadType = rtp_header.payloadType; in CalcStatistics()
211 _payloadStats[n].payloadType = -1; in Channel()
[all …]
DRTPFile.cc30 rtp_header->payloadType = rtpHeader[1]; in ParseRTPHeader()
44 uint8_t payloadType, in MakeRTPheader() argument
49 rtpHeader[1] = payloadType; in MakeRTPheader()
62 RTPPacket::RTPPacket(uint8_t payloadType, in RTPPacket() argument
68 : payloadType(payloadType), in RTPPacket()
91 void RTPBuffer::Write(const uint8_t payloadType, in Write() argument
97 RTPPacket* packet = new RTPPacket(payloadType, timeStamp, seqNo, payloadData, in Write()
113 rtp_header->payloadType = packet->payloadType; in Read()
179 void RTPFile::Write(const uint8_t payloadType, in Write() argument
187 MakeRTPheader(rtpHeader, payloadType, seqNo, timeStamp, 0); in Write()
DRTPFile.h27 virtual void Write(const uint8_t payloadType,
44 uint8_t payloadType,
54 RTPPacket(uint8_t payloadType,
63 uint8_t payloadType; variable
77 void Write(const uint8_t payloadType,
110 void Write(const uint8_t payloadType,
DChannel.h39 int16_t payloadType; member
51 uint8_t payloadType,
DEncodeDecodeTest.h32 const uint8_t payloadType,
40 uint8_t payloadType,
/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/modules/audio_coding/neteq/tools/
Dneteq_replacement_input.cc80 RTC_CHECK_EQ(forbidden_types_.count(packet_->header.payloadType), 0) in ReplacePacket()
81 << "Payload type " << static_cast<int>(packet_->header.payloadType) in ReplacePacket()
85 if (comfort_noise_types_.count(packet_->header.payloadType) != 0) { in ReplacePacket()
111 packet_->header.payloadType = replacement_payload_type_; in ReplacePacket()
Dpacket_unittest.cc56 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
85 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
162 EXPECT_EQ(kRedPayloadType, packet.header().payloadType); in TEST()
183 EXPECT_EQ(block_index, red_block->payloadType); in TEST()
Drtp_analyze.cc112 packet->header().payloadType, packet->header().markerBit, in main()
149 if (packet->header().payloadType == absl::GetFlag(FLAGS_red)) { in main()
157 red->payloadType); in main()
Dpacket.cc89 header->payloadType = payload_ptr[0] & 0x7F; in ExtractRedHeaders()
102 header->payloadType = payload_ptr[0] & 0x7F; in ExtractRedHeaders()
Dneteq_test_factory.cc90 << static_cast<int>(packet.header.payloadType) << ")" in AfterInsertPacket()
197 sample_rate_hz = CodecSampleRate(first_rtp_header->payloadType, config); in InitializeTest()
200 << static_cast<int>(first_rtp_header->payloadType) in InitializeTest()
213 discarded_pt_and_ssrc.emplace(first_rtp_header->payloadType, in InitializeTest()
/external/webrtc/modules/video_coding/
Dpacket.cc18 : payloadType(0), in VCMPacket()
38 : payloadType(rtp_header.payloadType), in VCMPacket()
Dvideo_receiver2.cc57 uint8_t payloadType) { in RegisterExternalDecoder() argument
61 RTC_CHECK(codecDataBase_.DeregisterExternalDecoder(payloadType)); in RegisterExternalDecoder()
64 codecDataBase_.RegisterExternalDecoder(externalDecoder, payloadType); in RegisterExternalDecoder()
Dvideo_coding_impl.cc67 uint8_t payloadType) override { in RegisterExternalDecoder() argument
68 receiver_.RegisterExternalDecoder(externalDecoder, payloadType); in RegisterExternalDecoder()
Dvideo_receiver.cc139 uint8_t payloadType) { in RegisterExternalDecoder() argument
142 RTC_CHECK(_codecDataBase.DeregisterExternalDecoder(payloadType)); in RegisterExternalDecoder()
145 _codecDataBase.RegisterExternalDecoder(externalDecoder, payloadType); in RegisterExternalDecoder()
/external/webrtc/sdk/android/api/org/webrtc/
DRtpParameters.java166 public int payloadType; field in RtpParameters.Codec
179 Codec(int payloadType, String name, MediaStreamTrack.MediaType kind, Integer clockRate, in Codec() argument
181 this.payloadType = payloadType; in Codec()
191 return payloadType; in getPayloadType()
/external/webrtc/audio/
Dchannel_send_frame_transformer_delegate_unittest.cc37 uint8_t payloadType,
43 return [this](AudioFrameType frameType, uint8_t payloadType, in callback()
46 return SendFrame(frameType, payloadType, rtp_timestamp, payload, in callback()
Dchannel_send.cc157 uint8_t payloadType,
167 uint8_t payloadType,
345 uint8_t payloadType, in SendData() argument
356 frameType, payloadType, rtp_timestamp, rtp_rtcp_->StartTimestamp(), in SendData()
361 return SendRtpAudio(frameType, payloadType, rtp_timestamp, payload, in SendData()
366 uint8_t payloadType, in SendRtpAudio() argument
421 -1, payloadType, in SendRtpAudio()
434 frameType, payloadType, rtp_timestamp + rtp_rtcp_->StartTimestamp(), in SendRtpAudio()
921 [this](AudioFrameType frameType, uint8_t payloadType, in InitFrameTransformerDelegate()
925 return SendRtpAudio(frameType, payloadType, rtp_timestamp, payload, in InitFrameTransformerDelegate()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java563 int payloadType = 0; field in H264TrackImpl.SEIMessage
593 payloadType = 0; in SEIMessage()
598 payloadType += last_payload_type_bytes; in SEIMessage()
602 payloadType += last_payload_type_bytes; in SEIMessage()
613 if (payloadType == 1) { // pic_timing is what we are interested in! in SEIMessage()
710 "payloadType=" + payloadType + in toString()
712 if (payloadType == 1) { in toString()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DCeaUtil.java46 int payloadType = readNon255TerminatedValue(seiBuffer); in consume() local
54 } else if (payloadType == PAYLOAD_TYPE_CC && payloadSize >= 8) { in consume()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_utility.cc110 const uint8_t payloadType = _ptrRTPDataBegin[1]; in RTCP() local
111 switch (payloadType) { in RTCP()
153 header->payloadType = PT; in ParseRtcp()
201 header->payloadType = PT; in Parse()
Drtp_utility_unittest.cc43 EXPECT_EQ(kPayloadType, header.payloadType); in TEST()
67 EXPECT_EQ(kPayloadType, header.payloadType); in TEST()
272 EXPECT_EQ(kPayloadType, header.payloadType); in TEST()
/external/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc188 rtp_header.payloadType = kPayloadType; in TestDtmfPacket()
295 rtp_header.payloadType = kPayloadType; in TEST_F()
384 rtp_header.payloadType = kPayloadType; in TEST_F()
435 rtp_header.payloadType = kPayloadType; in TEST_F()
553 rtp_header.payloadType = kPayloadType; in TEST_F()
665 rtp_header.payloadType = kPayloadType; in TEST_F()
749 rtp_header.payloadType = kPayloadType; in TEST_P()
844 rtp_header.payloadType = kPayloadType; in TEST_P()
923 rtp_header.payloadType = kPayloadType; in TEST_F()
1064 rtp_header.payloadType = kPayloadType; in TEST_F()
[all …]
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/
DUtils.java267 public static SimpleRequest makeRequest(Messages.PayloadType payloadType, int reqLength, in makeRequest() argument
271 .setType(payloadType) in makeRequest()
276 .setResponseType(payloadType) in makeRequest()
/external/webrtc/test/fuzzers/
Dneteq_rtp_fuzzer.cc103 packet_->header.payloadType = in FuzzHeader()
105 packet_->header.payloadType &= 0x7F; in FuzzHeader()

123