/external/webrtc/talk/session/media/ |
bundlefilter.cc | 47 int payload_type = 0; local 48 if (!GetRtpPayloadType(data, len, &payload_type)) { 51 return FindPayloadType(payload_type); 54 void BundleFilter::AddPayloadType(int payload_type) { 55 payload_types_.insert(payload_type);
|
bundlefilter.h | 59 void AddPayloadType(int payload_type);
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
packet_source.h | 33 virtual void FilterOutPayloadType(uint8_t payload_type) { 34 filter_.set(payload_type, true);
|
rtp_generator.cc | 18 uint32_t RtpGenerator::GetRtpHeader(uint8_t payload_type, 28 rtp_header->header.payloadType = payload_type; 47 uint32_t TimestampJumpRtpGenerator::GetRtpHeader(uint8_t payload_type, 51 payload_type, payload_length_samples, rtp_header);
|
constant_pcm_packet_source.h | 32 int payload_type);
|
neteq_rtpplay.cc | 269 bool IsComfortNoise(uint8_t payload_type) { 270 return payload_type == FLAGS_cn_nb || payload_type == FLAGS_cn_wb || 271 payload_type == FLAGS_cn_swb32 || payload_type == FLAGS_cn_swb48; 274 int CodecSampleRate(uint8_t payload_type) { 275 if (payload_type == FLAGS_pcmu || payload_type == FLAGS_pcma || 276 payload_type == FLAGS_ilbc || payload_type == FLAGS_pcm16b | [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
codec_database.h | 39 uint8_t payload_type); 41 uint8_t payload_type; member in struct:webrtc::VCMExtDecoderMapItem 75 uint8_t payload_type, 81 bool DeregisterExternalEncoder(uint8_t payload_type, bool* was_send_codec); 87 // Deregisters an external decoder object specified by |payload_type|. 88 bool DeregisterExternalDecoder(uint8_t payload_type); 90 // Registers an external decoder object to the payload type |payload_type|. 92 uint8_t payload_type); 100 bool DeregisterReceiveCodec(uint8_t payload_type); 108 // Returns a decoder specified by |payload_type|. The decoded frame callbac [all...] |
codec_database.cc | 88 uint8_t payload_type) 89 : payload_type(payload_type), 286 bool VCMCodecDataBase::DeregisterExternalEncoder(uint8_t payload_type, 290 if (encoder_payload_type_ != payload_type) { 293 if (send_codec_.plType == payload_type) { 306 uint8_t payload_type, 311 encoder_payload_type_ = payload_type; 395 bool VCMCodecDataBase::DeregisterExternalDecoder(uint8_t payload_type) { 396 ExternalDecoderMap::iterator it = dec_external_map_.find(payload_type); 481 uint8_t payload_type = frame.PayloadType(); local 532 uint8_t payload_type = frame.PayloadType(); local [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtp_payload_registry_unittest.cc | 41 RtpUtility::Payload* ExpectReturnOfTypicalAudioPayload(uint8_t payload_type, 55 CreatePayloadType(kTypicalPayloadName, payload_type, 66 uint8_t payload_type = 97; local 68 ExpectReturnOfTypicalAudioPayload(payload_type, kTypicalRate); 72 kTypicalPayloadName, payload_type, kTypicalFrequency, 78 rtp_payload_registry_->PayloadTypeToPayload(payload_type); 86 EXPECT_EQ(0, rtp_payload_registry_->DeRegisterReceivePayload(payload_type)); 87 EXPECT_FALSE(rtp_payload_registry_->PayloadTypeToPayload(payload_type)); 121 uint8_t payload_type = 97; local 125 ExpectReturnOfTypicalAudioPayload(payload_type, kTypicalRate) 171 uint8_t payload_type = 97; local 230 int payload_type = GetParam(); local 247 int payload_type = GetParam(); local [all...] |
rtp_receiver_audio.cc | 63 int8_t payload_type) const { 65 return telephone_event_payload_type_ == payload_type; 68 bool RTPReceiverAudio::CNGPayloadType(int8_t payload_type, 75 if (cng_nb_payload_type_ == payload_type) { 82 } else if (cng_wb_payload_type_ == payload_type) { 93 } else if (cng_swb_payload_type_ == payload_type) { 100 } else if (cng_fb_payload_type_ == payload_type) { 108 if (g722_payload_type_ == payload_type) { 117 bool RTPReceiverAudio::ShouldReportCsrcChanges(uint8_t payload_type) const { 119 return !TelephoneEventPayloadType(payload_type); [all...] |
rtp_receiver_video.h | 43 bool ShouldReportCsrcChanges(uint8_t payload_type) const override; 47 int8_t payload_type, 52 int8_t payload_type,
|
rtp_receiver_audio.h | 42 // Is TelephoneEvent configured with payload type payload_type 43 bool TelephoneEventPayloadType(const int8_t payload_type) const; 47 // Returns true if CNG is configured with payload type payload_type. If so, 49 bool CNGPayloadType(const int8_t payload_type, 65 bool ShouldReportCsrcChanges(uint8_t payload_type) const override; 69 int8_t payload_type, 74 int8_t payload_type, 90 void CheckPayloadChanged(int8_t payload_type,
|
rtp_payload_registry.cc | 41 const int8_t payload_type, 46 assert(payload_type >= 0); 51 switch (payload_type) { 63 << payload_type; 74 payload_type_map_.find(payload_type); 96 << static_cast<int>(payload_type); 106 payload_name, payload_type, frequency, channels, rate); 108 payload_type_map_[payload_type] = payload; 112 red_payload_type_ = payload_type; 114 ulpfec_payload_type_ = payload_type; [all...] |
rtp_receiver_impl.cc | 97 const int8_t payload_type, 108 payload_name, payload_type, frequency, channels, rate, 111 if (rtp_media_receiver_->OnNewPayloadTypeCreated(payload_name, payload_type, 114 << static_cast<int>(payload_type); 122 const int8_t payload_type) { 124 return rtp_payload_registry_->DeRegisterReceivePayload(payload_type); 327 int8_t payload_type = rtp_header.payloadType; local 336 if (payload_type != last_received_payload_type) { 337 if (rtp_payload_registry_->red_payload_type() == payload_type) { 339 payload_type = first_payload_byte & 0x7f [all...] |
rtp_receiver_strategy.h | 61 virtual bool ShouldReportCsrcChanges(uint8_t payload_type) const = 0; 73 int8_t payload_type, 79 virtual void CheckPayloadChanged(int8_t payload_type,
|
rtp_receiver_video.cc | 40 bool RTPReceiverVideo::ShouldReportCsrcChanges(uint8_t payload_type) const { 47 int8_t payload_type, 114 int8_t payload_type, 119 callback->OnInitializeDecoder(payload_type, payload_name, 122 << static_cast<int>(payload_type);
|
/external/webrtc/webrtc/call/ |
packet_injection_tests.cc | 36 uint8_t payload_type, 45 video_receive_configs_[0].decoders[0].payload_type = payload_type; 60 EXPECT_EQ(payload_type, header.payloadType);
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
acm_receiver.h | 44 uint8_t payload_type; member in struct:webrtc::acm2::AcmReceiver::Decoder 96 // - payload_type : payload type. 118 uint8_t payload_type, 201 // - payload_type : the payload-type to be removed. 206 int RemoveCodec(uint8_t payload_type); 235 // -payload_type : the payload-type of the codec to be retrieved. 244 int DecoderByPayloadType(uint8_t payload_type, 279 uint8_t payload_type) const
|
acm_receiver.cc | 303 uint8_t payload_type, 324 auto it = decoders_.find(payload_type); 336 if (neteq_->RemovePayloadType(payload_type) != NetEq::kOK) { 337 LOG(LERROR) << "Cannot remove payload " << static_cast<int>(payload_type); 346 ret_val = neteq_->RegisterPayloadType(neteq_decoder, name, payload_type); 349 audio_decoder, neteq_decoder, name, payload_type, sample_rate_hz); 353 << static_cast<int>(payload_type) 360 decoder.payload_type = payload_type; 363 decoders_[payload_type] = decoder [all...] |
acm_send_test_oldapi.h | 41 int payload_type, 54 uint8_t payload_type,
|
/external/webrtc/webrtc/modules/rtp_rtcp/include/ |
rtp_payload_registry.h | 62 const int8_t payload_type, 69 const int8_t payload_type); 76 int8_t* payload_type) const; 84 void SetRtxPayloadType(int payload_type, int associated_payload_type); 109 bool GetPayloadSpecifics(uint8_t payload_type, PayloadUnion* payload) const; 111 int GetPayloadTypeFrequency(uint8_t payload_type) const; 116 bool PayloadTypeToPayload(const uint8_t payload_type, 119 const_cast<RtpUtility::Payload*>(PayloadTypeToPayload(payload_type)); 122 const RtpUtility::Payload* PayloadTypeToPayload(uint8_t payload_type) const;
|
rtp_receiver.h | 32 // Is TelephoneEvent configured with payload type payload_type 33 virtual bool TelephoneEventPayloadType(const int8_t payload_type) const = 0; 62 const int8_t payload_type, 67 // De-registers |payload_type| from the payload registry. 68 virtual int32_t DeRegisterReceivePayload(const int8_t payload_type) = 0;
|
/external/webrtc/webrtc/modules/video_coding/test/ |
rtp_player.h | 27 PayloadCodecTuple(uint8_t payload_type, 31 payload_type_(payload_type), 35 uint8_t payload_type() const { return payload_type_; } function in class:webrtc::rtpplayer::PayloadCodecTuple
|
/external/webrtc/webrtc/video/ |
payload_router_unittest.cc | 44 int8_t payload_type = 96; local 46 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 49 EXPECT_FALSE(payload_router_->RoutePayload(frame_type, payload_type, 0, 0, 53 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 56 EXPECT_TRUE(payload_router_->RoutePayload(frame_type, payload_type, 0, 0, 60 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 63 EXPECT_FALSE(payload_router_->RoutePayload(frame_type, payload_type, 0, 0, 67 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL, 70 EXPECT_TRUE(payload_router_->RoutePayload(frame_type, payload_type, 0, 0, 75 EXPECT_CALL(rtp, SendOutgoingData(frame_type, payload_type, 0, 0, _, 1, NULL [all...] |
/external/webrtc/talk/media/base/ |
rtputils.cc | 147 return (GetRtpPayloadType(data, len, &(header->payload_type)) && 180 if (!IsValidRtpPayloadType(header.payload_type) || 185 SetUint8(data, kRtpPayloadTypeOffset, header.payload_type & 0x7F) && 199 bool IsValidRtpPayloadType(int payload_type) { 200 return payload_type >= 0 && payload_type <= 127;
|