/external/webrtc/media/base/ |
D | codec.cc | 204 webrtc::RtpCodecParameters codec_params; in ToCodecParameters() local 205 codec_params.payload_type = id; in ToCodecParameters() 206 codec_params.name = name; in ToCodecParameters() 207 codec_params.clock_rate = clockrate; in ToCodecParameters() 208 codec_params.parameters.insert(params.begin(), params.end()); in ToCodecParameters() 209 return codec_params; in ToCodecParameters() 256 webrtc::RtpCodecParameters codec_params = Codec::ToCodecParameters(); in ToCodecParameters() local 257 codec_params.num_channels = static_cast<int>(channels); in ToCodecParameters() 258 codec_params.kind = MEDIA_TYPE_AUDIO; in ToCodecParameters() 259 return codec_params; in ToCodecParameters() [all …]
|
/external/webrtc/pc/ |
D | rtc_stats_collector.cc | 231 const RtpCodecParameters& codec_params) { in CodecStatsFromRtpCodecParameters() argument 232 RTC_DCHECK_GE(codec_params.payload_type, 0); in CodecStatsFromRtpCodecParameters() 233 RTC_DCHECK_LE(codec_params.payload_type, 127); in CodecStatsFromRtpCodecParameters() 234 RTC_DCHECK(codec_params.clock_rate); in CodecStatsFromRtpCodecParameters() 235 uint32_t payload_type = static_cast<uint32_t>(codec_params.payload_type); in CodecStatsFromRtpCodecParameters() 240 codec_stats->mime_type = codec_params.mime_type(); in CodecStatsFromRtpCodecParameters() 241 if (codec_params.clock_rate) { in CodecStatsFromRtpCodecParameters() 242 codec_stats->clock_rate = static_cast<uint32_t>(*codec_params.clock_rate); in CodecStatsFromRtpCodecParameters() 244 if (codec_params.num_channels) { in CodecStatsFromRtpCodecParameters() 245 codec_stats->channels = *codec_params.num_channels; in CodecStatsFromRtpCodecParameters() [all …]
|
D | webrtc_sdp.cc | 3564 std::vector<std::string> codec_params; in ParseRtpmapAttribute() local 3565 rtc::split(encoder, '/', &codec_params); in ParseRtpmapAttribute() 3568 if (codec_params.size() < 2 || codec_params.size() > 3) { in ParseRtpmapAttribute() 3574 const std::string& encoding_name = codec_params[0]; in ParseRtpmapAttribute() 3576 if (!GetValueFromString(line, codec_params[1], &clock_rate, error)) { in ParseRtpmapAttribute() 3589 if (codec_params.size() == 3) { in ParseRtpmapAttribute() 3590 if (!GetValueFromString(line, codec_params[2], &channels, error)) { in ParseRtpmapAttribute() 3659 cricket::CodecParameterMap codec_params; in ParseFmtpAttributes() local 3666 if (codec_params.find(name) != codec_params.end()) { in ParseFmtpAttributes() 3670 codec_params[name] = value; in ParseFmtpAttributes() [all …]
|
/external/webrtc/video/ |
D | rtp_video_stream_receiver2_unittest.cc | 322 std::map<std::string, std::string> codec_params; in TEST_F() local 323 rtp_video_stream_receiver_->AddReceiveCodec(codec, codec_params, in TEST_F() 584 std::map<std::string, std::string> codec_params; in TEST_P() local 587 codec_params.insert( in TEST_P() 589 rtp_video_stream_receiver_->AddReceiveCodec(codec, codec_params, in TEST_P()
|
D | rtp_video_stream_receiver_unittest.cc | 317 std::map<std::string, std::string> codec_params; in TEST_F() local 318 rtp_video_stream_receiver_->AddReceiveCodec(codec, codec_params, in TEST_F() 578 std::map<std::string, std::string> codec_params; in TEST_P() local 581 codec_params.insert( in TEST_P() 583 rtp_video_stream_receiver_->AddReceiveCodec(codec, codec_params, in TEST_P()
|
D | rtp_video_stream_receiver2.h | 94 const std::map<std::string, std::string>& codec_params,
|
D | rtp_video_stream_receiver.h | 119 const std::map<std::string, std::string>& codec_params,
|
D | rtp_video_stream_receiver2.cc | 330 const std::map<std::string, std::string>& codec_params, in AddReceiveCodec() argument 337 pt_codec_params_.emplace(video_codec.plType, codec_params); in AddReceiveCodec()
|
D | rtp_video_stream_receiver.cc | 362 const std::map<std::string, std::string>& codec_params, in AddReceiveCodec() argument 368 pt_codec_params_.emplace(video_codec.plType, codec_params); in AddReceiveCodec()
|
/external/webrtc/media/engine/ |
D | webrtc_voice_engine.cc | 2404 webrtc::RtpCodecParameters codec_params = codec.ToCodecParameters(); in GetStats() local 2406 std::make_pair(codec_params.payload_type, std::move(codec_params))); in GetStats() 2409 webrtc::RtpCodecParameters codec_params = codec.ToCodecParameters(); in GetStats() local 2411 std::make_pair(codec_params.payload_type, std::move(codec_params))); in GetStats()
|
D | webrtc_video_engine.cc | 1612 webrtc::RtpCodecParameters codec_params = codec.ToCodecParameters(); in FillSendAndReceiveCodecStats() local 1614 std::make_pair(codec_params.payload_type, std::move(codec_params))); in FillSendAndReceiveCodecStats() 1617 webrtc::RtpCodecParameters codec_params = codec.ToCodecParameters(); in FillSendAndReceiveCodecStats() local 1619 std::make_pair(codec_params.payload_type, std::move(codec_params))); in FillSendAndReceiveCodecStats()
|