Home
last modified time | relevance | path

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

1234

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/
DMediaDescription.java48 int payloadType = parseInt(rtpmapInfo[0]); in parse() local
58 payloadType, /* mediaEncoding= */ mediaInfo[0], clockRate, encodingParameters); in parse()
62 public final int payloadType; field in MediaDescription.RtpMapAttribute
71 int payloadType, String mediaEncoding, int clockRate, int encodingParameters) { in RtpMapAttribute() argument
72 this.payloadType = payloadType; in RtpMapAttribute()
87 return payloadType == that.payloadType in equals()
96 result = 31 * result + payloadType; in hashCode()
109 private final int payloadType; field in MediaDescription.Builder
125 public Builder(String mediaType, int port, String transportProtocol, int payloadType) { in Builder() argument
129 this.payloadType = payloadType; in Builder()
[all …]
DRtpPacket.java64 private byte payloadType; field in RtpPacket.Builder
84 public Builder setPayloadType(byte payloadType) { in setPayloadType() argument
85 this.payloadType = payloadType; in setPayloadType()
160 public final byte payloadType; field in RtpPacket
200 byte payloadType = (byte) (secondByte & 0x7F); in parse()
229 .setPayloadType(payloadType) in parse()
254 this.payloadType = builder.payloadType; in RtpPacket()
290 byte secondByte = (byte) (((marker ? 1 : 0) << 7) | (payloadType & 0x7F)); in writeToBuffer()
311 return payloadType == rtpPacket.payloadType in equals()
321 result = 31 * result + payloadType; in hashCode()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/
DMediaDescription.java48 int payloadType = parseInt(rtpmapInfo[0]); in parse() local
58 payloadType, /* mediaEncoding= */ mediaInfo[0], clockRate, encodingParameters); in parse()
62 public final int payloadType; field in MediaDescription.RtpMapAttribute
71 int payloadType, String mediaEncoding, int clockRate, int encodingParameters) { in RtpMapAttribute() argument
72 this.payloadType = payloadType; in RtpMapAttribute()
87 return payloadType == that.payloadType in equals()
96 result = 31 * result + payloadType; in hashCode()
109 private final int payloadType; field in MediaDescription.Builder
125 public Builder(String mediaType, int port, String transportProtocol, int payloadType) { in Builder() argument
129 this.payloadType = payloadType; in Builder()
[all …]
DRtpPacket.java64 private byte payloadType; field in RtpPacket.Builder
84 public Builder setPayloadType(byte payloadType) { in setPayloadType() argument
85 this.payloadType = payloadType; in setPayloadType()
160 public final byte payloadType; field in RtpPacket
200 byte payloadType = (byte) (secondByte & 0x7F); in parse()
229 .setPayloadType(payloadType) in parse()
254 this.payloadType = builder.payloadType; in RtpPacket()
290 byte secondByte = (byte) (((marker ? 1 : 0) << 7) | (payloadType & 0x7F)); in writeToBuffer()
311 return payloadType == rtpPacket.payloadType in equals()
321 result = 31 * result + payloadType; in hashCode()
[all …]
/external/webrtc/modules/audio_coding/test/
DChannel.cc21 uint8_t payloadType, in SendData() argument
36 rtp_header.payloadType = payloadType; in SendData()
94 if ((rtp_header.payloadType != _lastPayloadType) && in CalcStatistics()
101 if (_lastPayloadType == _payloadStats[n].payloadType) { in CalcStatistics()
107 _lastPayloadType = rtp_header.payloadType; in CalcStatistics()
112 if (rtp_header.payloadType == _payloadStats[n].payloadType) { in CalcStatistics()
169 currentPayloadStr->payloadType = rtp_header.payloadType; in CalcStatistics()
175 while (_payloadStats[n].payloadType != -1) { in CalcStatistics()
182 _payloadStats[n].payloadType = rtp_header.payloadType; in CalcStatistics()
209 _payloadStats[n].payloadType = -1; in Channel()
[all …]
DRTPFile.cc32 rtp_header->payloadType = rtpHeader[1]; in ParseRTPHeader()
46 uint8_t payloadType, in MakeRTPheader() argument
51 rtpHeader[1] = payloadType; in MakeRTPheader()
64 RTPPacket::RTPPacket(uint8_t payloadType, in RTPPacket() argument
70 : payloadType(payloadType), in RTPPacket()
85 void RTPBuffer::Write(const uint8_t payloadType, in Write() argument
91 RTPPacket* packet = new RTPPacket(payloadType, timeStamp, seqNo, payloadData, in Write()
108 rtp_header->payloadType = packet->payloadType; in Read()
174 void RTPFile::Write(const uint8_t payloadType, in Write() argument
182 MakeRTPheader(rtpHeader, payloadType, seqNo, timeStamp, 0); in Write()
DRTPFile.h29 virtual void Write(uint8_t payloadType,
46 uint8_t payloadType,
56 RTPPacket(uint8_t payloadType,
65 uint8_t payloadType; variable
79 void Write(uint8_t payloadType,
112 void Write(uint8_t payloadType,
DChannel.h39 int16_t payloadType; member
51 uint8_t payloadType,
DEncodeDecodeTest.h33 uint8_t payloadType,
41 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/pigweed/pw_rpc/java/test/dev/pigweed/pw_rpc/
DTestClient.java92 public <T extends MessageLite> List<T> lastClientStreams(Class<T> payloadType) { in lastClientStreams() argument
93 return sentPayloads(payloadType, PacketType.CLIENT_STREAM); in lastClientStreams()
133 private <T extends MessageLite> List<T> sentPayloads(Class<T> payloadType, PacketType type) { in sentPayloads() argument
140 .map(p -> parseRequestPayload(payloadType, p)) in sentPayloads()
176 private <T extends MessageLite> T parseRequestPayload(Class<T> payloadType, RpcPacket packet) { in parseRequestPayload() argument
178 return payloadType.cast(Method.decodeProtobuf( in parseRequestPayload()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/reader/
DRtpH265Reader.java93 int payloadType = (data.getData()[0] >> 1) & 0x3F; in consume() local
96 if (payloadType >= 0 && payloadType < RTP_PACKET_TYPE_AP) { in consume()
98 } else if (payloadType == RTP_PACKET_TYPE_AP) { in consume()
101 } else if (payloadType == RTP_PACKET_TYPE_FU) { in consume()
105 String.format("RTP H265 payload type [%d] not supported.", payloadType), in consume()
/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.cc55 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
83 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
112 EXPECT_EQ(kPayloadType, packet.header().payloadType); in TEST()
189 EXPECT_EQ(kRedPayloadType, packet.header().payloadType); in TEST()
210 EXPECT_EQ(block_index, red_block->payloadType); in TEST()
Drtp_analyze.cc111 packet->header().payloadType, packet->header().markerBit, in main()
148 if (packet->header().payloadType == absl::GetFlag(FLAGS_red)) { in main()
156 red->payloadType); in main()
Dpacket.cc63 header->payloadType = payload_ptr[0] & 0x7F; in ExtractRedHeaders()
76 header->payloadType = payload_ptr[0] & 0x7F; in ExtractRedHeaders()
/external/webrtc/modules/video_coding/
Dpacket.cc18 : payloadType(0), in VCMPacket()
38 : payloadType(rtp_header.payloadType), in VCMPacket()
Dvideo_receiver.cc117 uint8_t payloadType) { in RegisterExternalDecoder() argument
120 RTC_CHECK(_codecDataBase.DeregisterExternalDecoder(payloadType)); in RegisterExternalDecoder()
123 _codecDataBase.RegisterExternalDecoder(payloadType, externalDecoder); in RegisterExternalDecoder()
/external/webrtc/sdk/android/api/org/webrtc/
DRtpParameters.java176 public int payloadType; field in RtpParameters.Codec
189 Codec(int payloadType, String name, MediaStreamTrack.MediaType kind, Integer clockRate, in Codec() argument
191 this.payloadType = payloadType; in Codec()
201 return payloadType; in getPayloadType()
/external/webrtc/audio/
Dchannel_send_frame_transformer_delegate_unittest.cc36 uint8_t payloadType,
42 return [this](AudioFrameType frameType, uint8_t payloadType, in callback()
45 return SendFrame(frameType, payloadType, rtp_timestamp, payload, in callback()
Dchannel_send.cc158 uint8_t payloadType,
167 uint8_t payloadType,
346 uint8_t payloadType, in SendData() argument
357 frameType, payloadType, rtp_timestamp, rtp_rtcp_->StartTimestamp(), in SendData()
362 return SendRtpAudio(frameType, payloadType, rtp_timestamp, payload, in SendData()
367 uint8_t payloadType, in SendRtpAudio() argument
422 -1, payloadType, in SendRtpAudio()
435 frameType, payloadType, rtp_timestamp + rtp_rtcp_->StartTimestamp(), in SendRtpAudio()
923 [this](AudioFrameType frameType, uint8_t payloadType, in InitFrameTransformerDelegate()
927 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/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc189 rtp_header.payloadType = kPayloadType; in TestDtmfPacket()
299 rtp_header.payloadType = kPayloadType; in TEST_F()
399 rtp_header.payloadType = kPayloadType; in TEST_F()
450 rtp_header.payloadType = kPayloadType; in TEST_F()
569 rtp_header.payloadType = kPayloadType; in TEST_F()
684 rtp_header.payloadType = kPayloadType; in TEST_F()
777 rtp_header.payloadType = kPayloadType; in TEST_P()
874 rtp_header.payloadType = kPayloadType; in TEST_P()
950 rtp_header.payloadType = kPayloadType; in TEST_P()
1016 rtp_header.payloadType = kPayloadType; in TEST_F()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/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/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/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()

1234