Home
last modified time | relevance | path

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

12345

/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
DChannel.cc21 int32_t Channel::SendData(const FrameType frameType, const uint8_t payloadType, in SendData() argument
33 rtpInfo.header.payloadType = payloadType; in SendData()
76 rtpInfo.header.payloadType = fragmentation->fragmentationPlType[0]; in SendData()
126 if ((rtpInfo.header.payloadType != _lastPayloadType) in CalcStatistics()
133 if (_lastPayloadType == _payloadStats[n].payloadType) { in CalcStatistics()
139 _lastPayloadType = rtpInfo.header.payloadType; in CalcStatistics()
144 if (rtpInfo.header.payloadType == _payloadStats[n].payloadType) { in CalcStatistics()
191 currentPayloadStr->payloadType = rtpInfo.header.payloadType; in CalcStatistics()
197 while (_payloadStats[n].payloadType != -1) { in CalcStatistics()
204 _payloadStats[n].payloadType = rtpInfo.header.payloadType; in CalcStatistics()
[all …]
DRTPFile.cc31 rtpInfo->header.payloadType = rtpHeader[1]; in ParseRTPHeader()
42 void RTPStream::MakeRTPheader(uint8_t* rtpHeader, uint8_t payloadType, in MakeRTPheader() argument
46 rtpHeader[1] = (unsigned char) (payloadType & 0xFF); in MakeRTPheader()
62 RTPPacket::RTPPacket(uint8_t payloadType, uint32_t timeStamp, int16_t seqNo, in RTPPacket() argument
65 : payloadType(payloadType), in RTPPacket()
88 void RTPBuffer::Write(const uint8_t payloadType, const uint32_t timeStamp, in Write() argument
91 RTPPacket *packet = new RTPPacket(payloadType, timeStamp, seqNo, payloadData, in Write()
105 rtpInfo->header.payloadType = packet->payloadType; in Read()
181 void RTPFile::Write(const uint8_t payloadType, const uint32_t timeStamp, in Write() argument
186 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 virtual void Write(const uint8_t payloadType, const uint32_t timeStamp,
100 virtual void Write(const uint8_t payloadType, const uint32_t timeStamp,
DChannel.h41 int16_t payloadType; member
54 const FrameType frameType, const uint8_t payloadType,
67 void Stats(uint8_t* payloadLenByte, uint32_t* payloadType);
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio.cc88 const int8_t payloadType, in RegisterAudioPayload() argument
98 _cngNBPayloadType = payloadType; in RegisterAudioPayload()
101 _cngWBPayloadType = payloadType; in RegisterAudioPayload()
104 _cngSWBPayloadType = payloadType; in RegisterAudioPayload()
107 _cngFBPayloadType = payloadType; in RegisterAudioPayload()
116 _dtmfPayloadType = payloadType; in RegisterAudioPayload()
132 const int8_t payloadType) in MarkerBit() argument
138 if(_lastPayloadType != payloadType) in MarkerBit()
143 if(_cngNBPayloadType == payloadType) in MarkerBit()
152 if(_cngWBPayloadType == payloadType) in MarkerBit()
[all …]
Drtp_sender_audio.h30 const int8_t payloadType,
37 const int8_t payloadType,
62 int32_t SetRED(const int8_t payloadType);
65 int32_t RED(int8_t& payloadType) const;
76 const int8_t payloadType);
Drtp_sender_video.h41 const int8_t payloadType,
47 const int8_t payloadType,
98 const int8_t payloadType,
Drtp_receiver_impl.cc291 if (rtp_header.payloadType == last_received_payload_type) { in CheckSSRCChanged()
296 rtp_header.payloadType, payload)) { in CheckSSRCChanged()
320 id_, rtp_header.payloadType, payload_name, in CheckSSRCChanged()
324 << rtp_header.payloadType; in CheckSSRCChanged()
345 int8_t payload_type = rtp_header.payloadType; in CheckPayloadChanged()
438 rtp_header.header.payloadType)) { in CheckCSRC()
Drtp_sender_video.cc78 const int8_t payloadType, in RegisterVideoPayload() argument
270 const int8_t payloadType, in SendVideo() argument
294 payloadType, in SendVideo()
319 const int8_t payloadType, in Send() argument
354 dataBuffer, payloadType, last, captureTimeStamp, capture_time_ms); in Send()
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/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()
336 rtp_info_.header.payloadType = kCngPayloadType; in TEST_F()
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Dpacket_buffer.cc86 if (decoder_database.IsComfortNoise(packet->header.payloadType)) { in InsertPacketList()
88 *current_cng_rtp_payload_type != packet->header.payloadType) { in InsertPacketList()
94 *current_cng_rtp_payload_type = packet->header.payloadType; in InsertPacketList()
95 } else if (!decoder_database.IsDtmf(packet->header.payloadType)) { in InsertPacketList()
98 *current_rtp_payload_type != packet->header.payloadType) { in InsertPacketList()
103 *current_rtp_payload_type = packet->header.payloadType; in InsertPacketList()
215 decoder_database->GetDecoder(packet->header.payloadType); in NumSamplesInBuffer()
Dneteq_impl.cc124 ", pt=" << static_cast<int>(rtp_header.header.payloadType) << in InsertPacket()
143 ", pt=" << static_cast<int>(rtp_header.header.payloadType) << in InsertSyncPacket()
407 if (decoder_database_->IsDtmf(rtp_header.header.payloadType) || in InsertPacketInternal()
408 decoder_database_->IsRed(rtp_header.header.payloadType) || in InsertPacketInternal()
409 decoder_database_->IsComfortNoise(rtp_header.header.payloadType)) { in InsertPacketInternal()
411 << rtp_header.header.payloadType; in InsertPacketInternal()
415 rtp_header.header.payloadType != current_rtp_payload_type_ || in InsertPacketInternal()
433 packet->header.payloadType = rtp_header.header.payloadType; in InsertPacketInternal()
472 current_rtp_payload_type_ = main_header.payloadType; in InsertPacketInternal()
489 if (decoder_database_->IsRed(main_header.payloadType)) { in InsertPacketInternal()
[all …]
/external/chromium_org/third_party/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
366 return tempRTPinfo.header.payloadType; in payloadType()
445 _rtpInfo.header.payloadType = pt; in setPayloadType()
553 RTPinfo->header.payloadType, in setRTPheader()
627 void NETEQTEST_RTPpacket::makeRTPheader(unsigned char* rtp_data, uint8_t payloadType, uint16_t seqN… in makeRTPheader() argument
638 rtp_data[1]=(unsigned char)(payloadType & 0xFF); in makeRTPheader()
693 RTPinfo->header.payloadType = (uint8_t) ((rtp_data[0] >> 8) & 0x7F); in parseBasicHeader()
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dpacket.cc20 payloadType(0), in VCMPacket()
40 payloadType(rtpHeader.header.payloadType), in VCMPacket()
61 payloadType(0), in VCMPacket()
80 payloadType = 0; in Reset()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dtest_callbacks.cc56 const uint8_t payloadType, in SendData() argument
90 rtpInfo.header.payloadType = payloadType; in SendData()
148 const uint8_t payloadType, in SendData() argument
160 payloadType, in SendData()
306 header.payloadType, &payload_specific)) { in SendPacket()
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
Dneteq_rtpplay.cc499 if (IsComfortNosie(rtp_header->header.payloadType)) { in ReplacePayload()
524 if (CodecTimestampRate(rtp_header->header.payloadType) != in ReplacePayload()
525 CodecSampleRate(rtp_header->header.payloadType) || in ReplacePayload()
526 rtp_header->header.payloadType == FLAGS_red || in ReplacePayload()
527 rtp_header->header.payloadType == FLAGS_avt) { in ReplacePayload()
549 switch (CodecSampleRate(rtp_header->header.payloadType)) { in ReplacePayload()
551 rtp_header->header.payloadType = FLAGS_pcm16b; in ReplacePayload()
554 rtp_header->header.payloadType = FLAGS_pcm16b_wb; in ReplacePayload()
557 rtp_header->header.payloadType = FLAGS_pcm16b_swb32; in ReplacePayload()
560 rtp_header->header.payloadType = FLAGS_pcm16b_swb48; 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()
Drtp_analyze.cc108 packet->header().payloadType, in main()
120 if (packet->header().payloadType == FLAGS_red) { in main()
131 red->payloadType); in main()
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()
/external/chromium_org/third_party/webrtc/modules/utility/source/
Dvideo_coder.cc112 const uint8_t payloadType, in SendData() argument
124 _videoEncodedData->payloadType = payloadType; in SendData()
/external/chromium_org/third_party/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()
66 const int8_t payloadType, in OnInitializeDecoder() argument
71 if (payloadType == 96) { in OnInitializeDecoder()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/interface/
Drtp_rtcp.h168 const int8_t payloadType) = 0;
276 int* payloadType) const = 0;
330 const int8_t payloadType,
656 const int8_t payloadType) = 0;
664 int8_t& payloadType) const = 0;
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/
DTestSenderReceiver.cc110 const int8_t payloadType /*= 127*/) in InitReceiver() argument
145 if (_rtp->RegisterReceivePayload("I420", payloadType, 90000) != 0) in InitReceiver()
347 const int8_t payloadType /*= 127*/) in InitSender() argument
351 _payloadType = payloadType; in InitSender()
DTestSenderReceiver.h65 const int8_t payloadType = 127);
76 const int8_t payloadType, in OnInitializeDecoder() argument
127 const int8_t payloadType = 127);

12345