/external/chromium_org/third_party/webrtc/video_engine/ |
D | vie_remb_unittest.cc | 51 std::vector<unsigned int> ssrcs(&ssrc, &ssrc + 1); in TEST_F() local 53 vie_remb_->OnReceiveBitrateChanged(ssrcs, bitrate_estimate); in TEST_F() 58 vie_remb_->OnReceiveBitrateChanged(ssrcs, bitrate_estimate); in TEST_F() 63 vie_remb_->OnReceiveBitrateChanged(ssrcs, bitrate_estimate - 100); in TEST_F() 76 std::vector<unsigned int> ssrcs(&ssrc, &ssrc + 1); in TEST_F() local 78 vie_remb_->OnReceiveBitrateChanged(ssrcs, bitrate_estimate); in TEST_F() 83 vie_remb_->OnReceiveBitrateChanged(ssrcs, bitrate_estimate); in TEST_F() 90 vie_remb_->OnReceiveBitrateChanged(ssrcs, bitrate_estimate); in TEST_F() 102 std::vector<unsigned int> ssrcs(ssrc, ssrc + sizeof(ssrc) / sizeof(ssrc[0])); in TEST_F() local 104 vie_remb_->OnReceiveBitrateChanged(ssrcs, bitrate_estimate[0]); in TEST_F() [all …]
|
D | vie_remb.cc | 97 void VieRemb::OnReceiveBitrateChanged(const std::vector<unsigned int>& ssrcs, in OnReceiveBitrateChanged() argument 122 if (ssrcs.empty() || receive_modules_.empty()) { in OnReceiveBitrateChanged() 140 sender->SetREMBData(bitrate_, ssrcs.size(), &ssrcs[0]); in OnReceiveBitrateChanged()
|
D | vie_channel_manager.cc | 123 std::list<unsigned int> ssrcs; in CreateChannel() local 124 ssrcs.push_back(ssrc); in CreateChannel() 125 vie_encoder->SetSsrcs(ssrcs); in CreateChannel() 368 const std::list<unsigned int>& ssrcs) { in UpdateSsrcs() argument 382 for (std::list<unsigned int>::const_iterator it = ssrcs.begin(); in UpdateSsrcs() 383 it != ssrcs.end(); ++it) { in UpdateSsrcs() 417 std::vector<unsigned int> ssrcs; in GetEstimatedReceiveBandwidth() local 419 &ssrcs, estimated_bandwidth) || ssrcs.empty()) { in GetEstimatedReceiveBandwidth()
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | streamparams.cc | 39 static std::string SsrcsToString(const std::vector<uint32>& ssrcs) { in SsrcsToString() argument 42 for (std::vector<uint32>::const_iterator it = ssrcs.begin(); in SsrcsToString() 43 it != ssrcs.end(); ++it) { in SsrcsToString() 44 if (it != ssrcs.begin()) { in SsrcsToString() 54 return (semantics == semantics_in && ssrcs.size() > 0); in has_semantics() 61 ost << SsrcsToString(ssrcs); in ToString() 75 ost << SsrcsToString(ssrcs) << ";"; in ToString() 108 ssrcs.push_back(secondary_ssrc); in AddSecondarySsrc() 123 it->ssrcs.size() >= 2 && in GetSecondarySsrc() 124 it->ssrcs[0] == primary_ssrc) { in GetSecondarySsrc() [all …]
|
D | streamparams.h | 60 SsrcGroup(const std::string& usage, const std::vector<uint32>& ssrcs) in SsrcGroup() 61 : semantics(usage), ssrcs(ssrcs) { in SsrcGroup() 65 return (semantics == other.semantics && ssrcs == other.ssrcs); 76 std::vector<uint32> ssrcs; // SSRCs of this type. member 82 stream.ssrcs.push_back(ssrc); in CreateLegacy() 89 ssrcs == other.ssrcs && 101 if (ssrcs.empty()) { in first_ssrc() 105 return ssrcs[0]; in first_ssrc() 108 return !ssrcs.empty(); in has_ssrcs() 111 return std::find(ssrcs.begin(), ssrcs.end(), ssrc) != ssrcs.end(); in has_ssrc() [all …]
|
D | streamparams_unittest.cc | 40 std::vector<uint32> ssrcs(ssrcs_in, ssrcs_in + len); in CreateStreamParamsWithSsrcGroup() local 41 cricket::SsrcGroup sg(semantics, ssrcs); in CreateStreamParamsWithSsrcGroup() 42 stream.ssrcs = ssrcs; in CreateStreamParamsWithSsrcGroup() 82 EXPECT_EQ(1U, one_sp.ssrcs.size()); in TEST() 94 EXPECT_EQ(2U, sp.ssrcs.size()); in TEST() 101 EXPECT_EQ(2U, sp.ssrc_groups[0].ssrcs.size()); in TEST() 102 EXPECT_EQ(kSsrcs2[0], sp.ssrc_groups[0].ssrcs[0]); in TEST() 103 EXPECT_EQ(kSsrcs2[1], sp.ssrc_groups[0].ssrcs[1]); in TEST() 237 std::remove(stream2.ssrcs.begin(), stream2.ssrcs.end(), 13); in TEST()
|
D | testutils.cc | 341 const std::string& cname, const std::vector<uint32>& ssrcs) { in CreateSimStreamParams() argument 343 cricket::SsrcGroup sg(cricket::kSimSsrcGroupSemantics, ssrcs); in CreateSimStreamParams() 344 sp.ssrcs = ssrcs; in CreateSimStreamParams() 352 const std::string& cname, const std::vector<uint32>& ssrcs, in CreateSimWithRtxStreamParams() argument 354 cricket::StreamParams sp = CreateSimStreamParams(cname, ssrcs); in CreateSimWithRtxStreamParams() 355 for (size_t i = 0; i < ssrcs.size(); ++i) { in CreateSimWithRtxStreamParams() 356 sp.ssrcs.push_back(rtx_ssrcs[i]); in CreateSimWithRtxStreamParams() 358 fid_ssrcs.push_back(ssrcs[i]); in CreateSimWithRtxStreamParams()
|
D | filemediaengine.cc | 301 if (send_ssrc_ != 0 || sp.ssrcs.size() != 1) { in AddSendStream() 305 send_ssrc_ = sp.ssrcs[0]; in AddSendStream() 347 if (send_ssrc_ != 0 || sp.ssrcs.size() != 1) { in AddSendStream() 351 send_ssrc_ = sp.ssrcs[0]; in AddSendStream()
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_receiver_unittest.cc | 360 std::set<uint32_t> ssrcs; in TEST_F() local 361 ssrcs.insert(kSourceSsrc); in TEST_F() 362 rtcp_receiver_->SetSsrcs(kSourceSsrc, ssrcs); in TEST_F() 385 std::set<uint32_t> ssrcs; in TEST_F() local 386 ssrcs.insert(kSourceSsrc); in TEST_F() 387 rtcp_receiver_->SetSsrcs(kSourceSsrc, ssrcs); in TEST_F() 400 std::set<uint32_t> ssrcs; in TEST_F() local 401 ssrcs.insert(kSourceSsrc); in TEST_F() 402 rtcp_receiver_->SetSsrcs(kSourceSsrc, ssrcs); in TEST_F() 416 std::set<uint32_t> ssrcs; in TEST_F() local [all …]
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_single_stream.cc | 55 virtual bool LatestEstimate(std::vector<unsigned int>* ssrcs, 84 void GetSsrcs(std::vector<unsigned int>* ssrcs) const; 199 std::vector<unsigned int> ssrcs; in UpdateEstimate() local 200 GetSsrcs(&ssrcs); in UpdateEstimate() 201 observer_->OnReceiveBitrateChanged(ssrcs, target_bitrate); in UpdateEstimate() 220 std::vector<unsigned int>* ssrcs, in LatestEstimate() argument 227 GetSsrcs(ssrcs); in LatestEstimate() 228 if (ssrcs->empty()) in LatestEstimate() 242 std::vector<unsigned int>* ssrcs) const { in GetSsrcs() 243 assert(ssrcs); in GetSsrcs() [all …]
|
D | remote_bitrate_estimator_unittest_helper.cc | 22 const std::vector<unsigned int>& ssrcs, in OnReceiveBitrateChanged() argument 313 std::vector<unsigned int> ssrcs; in InitialBehaviorTestHelper() local 314 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate_bps)); in InitialBehaviorTestHelper() 315 EXPECT_EQ(0u, ssrcs.size()); in InitialBehaviorTestHelper() 318 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate_bps)); in InitialBehaviorTestHelper() 326 EXPECT_FALSE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate_bps)); in InitialBehaviorTestHelper() 327 EXPECT_EQ(0u, ssrcs.size()); in InitialBehaviorTestHelper() 340 EXPECT_TRUE(bitrate_estimator_->LatestEstimate(&ssrcs, &bitrate_bps)); in InitialBehaviorTestHelper() 341 ASSERT_EQ(1u, ssrcs.size()); in InitialBehaviorTestHelper() 342 EXPECT_EQ(kDefaultSsrc, ssrcs.front()); in InitialBehaviorTestHelper() [all …]
|
/external/chromium_org/third_party/webrtc/video/ |
D | rampup_tests.cc | 99 virtual void OnReceiveBitrateChanged(const std::vector<unsigned int>& ssrcs, in OnReceiveBitrateChanged() argument 120 bitrate, static_cast<uint8_t>(ssrcs.size()), &ssrcs[0]); in OnReceiveBitrateChanged() 258 virtual void OnReceiveBitrateChanged(const std::vector<unsigned int>& ssrcs, in OnReceiveBitrateChanged() argument 262 bitrate, static_cast<uint8_t>(ssrcs.size()), &ssrcs[0]); in OnReceiveBitrateChanged() 431 std::vector<uint32_t> ssrcs(GenerateSsrcs(num_streams, 100)); in RunRampUpTest() local 435 for (size_t i = 0; i < ssrcs.size(); ++i) in RunRampUpTest() 436 rtx_ssrc_map[rtx_ssrcs[i]] = ssrcs[i]; in RunRampUpTest() 466 send_config.rtp.ssrcs = ssrcs; in RunRampUpTest() 469 send_config.rtp.rtx.ssrcs = rtx_ssrcs; in RunRampUpTest() 512 std::vector<uint32_t> ssrcs; in RunRampUpDownUpTest() local [all …]
|
D | send_statistics_proxy_unittest.cc | 38 config.rtp.ssrcs.push_back(17); in GetTestConfig() 39 config.rtp.ssrcs.push_back(42); in GetTestConfig() 102 for (std::vector<uint32_t>::const_iterator it = config_.rtp.ssrcs.begin(); in TEST_F() 103 it != config_.rtp.ssrcs.end(); in TEST_F() 151 for (std::vector<uint32_t>::const_iterator it = config_.rtp.ssrcs.begin(); in TEST_F() 152 it != config_.rtp.ssrcs.end(); in TEST_F() 170 for (std::vector<uint32_t>::const_iterator it = config_.rtp.ssrcs.begin(); in TEST_F() 171 it != config_.rtp.ssrcs.end(); in TEST_F() 192 for (std::vector<uint32_t>::const_iterator it = config_.rtp.ssrcs.begin(); in TEST_F() 193 it != config_.rtp.ssrcs.end(); in TEST_F() [all …]
|
D | video_send_stream.cc | 45 for (size_t i = 0; i < ssrcs.size(); ++i) { in ToString() 46 ss << ssrcs[i]; in ToString() 47 if (i != ssrcs.size() - 1) in ToString() 60 for (size_t i = 0; i < ssrcs.size(); ++i) { in ToString() 61 ss << ssrcs[i]; in ToString() 62 if (i != ssrcs.size() - 1) in ToString() 83 if (rtx.payload_type != 0 || !rtx.ssrcs.empty()) in ToString() 134 assert(config_.rtp.ssrcs.size() > 0); in VideoSendStream() 295 assert(config_.rtp.ssrcs.size() >= streams.size()); in ReconfigureVideoEncoder() 379 for (size_t i = 0; i < config_.rtp.ssrcs.size(); ++i) { in ReconfigureVideoEncoder() [all …]
|
D | send_statistics_proxy.cc | 63 if (std::find(config_.rtp.ssrcs.begin(), config_.rtp.ssrcs.end(), ssrc) == in GetStatsEntry() 64 config_.rtp.ssrcs.end()) in GetStatsEntry()
|
D | bitrate_estimator_tests.cc | 71 send_config_.rtp.ssrcs.push_back(kSendSsrc); in SetUp() 84 receive_config_.rtp.remote_ssrc = send_config_.rtp.ssrcs[0]; in SetUp() 172 test_->send_config_.rtp.ssrcs[0]++; in Stream() 189 test_->receive_config_.rtp.remote_ssrc = test_->send_config_.rtp.ssrcs[0]; in Stream()
|
D | call.cc | 185 assert(config.rtp.ssrcs.size() > 0); in CreateVideoSendStream() 201 for (size_t i = 0; i < config.rtp.ssrcs.size(); ++i) { in CreateVideoSendStream() 202 assert(send_ssrcs_.find(config.rtp.ssrcs[i]) == send_ssrcs_.end()); in CreateVideoSendStream() 203 send_ssrcs_[config.rtp.ssrcs[i]] = send_stream; in CreateVideoSendStream()
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | mediamessages.cc | 224 std::vector<uint32>* ssrcs, in ParseSsrcs() argument 235 ssrcs->push_back(ssrc); in ParseSsrcs() 248 std::vector<uint32> ssrcs; in ParseSsrcGroups() local 249 if (!ParseSsrcs(group_elem, &ssrcs, error)) { in ParseSsrcGroups() 252 ssrc_groups->push_back(SsrcGroup(semantics, ssrcs)); in ParseSsrcGroups() 267 if (!ParseSsrcs(stream_elem, &(stream.ssrcs), error)) { in ParseJingleStream() 320 void WriteSsrcs(const std::vector<uint32>& ssrcs, in WriteSsrcs() argument 322 for (std::vector<uint32>::const_iterator ssrc = ssrcs.begin(); in WriteSsrcs() 323 ssrc != ssrcs.end(); ++ssrc) { in WriteSsrcs() 339 WriteSsrcs(group->ssrcs, group_elem); in WriteSsrcGroups() [all …]
|
D | mediasession.cc | 253 std::vector<uint32>* ssrcs) { in GenerateSsrcs() argument 259 std::count(ssrcs->begin(), ssrcs->end(), candidate) > 0); in GenerateSsrcs() 260 ssrcs->push_back(candidate); in GenerateSsrcs() 444 std::vector<uint32> ssrcs; in AddStreamParams() local 446 GenerateSctpSids(*current_streams, &ssrcs); in AddStreamParams() 449 GenerateSsrcs(*current_streams, num_ssrcs, &ssrcs); in AddStreamParams() 452 content_description->AddLegacyStream(ssrcs[0], ssrcs[1]); in AddStreamParams() 455 content_description->AddLegacyStream(ssrcs[0]); in AddStreamParams() 479 std::vector<uint32> ssrcs; in AddStreamParams() local 481 GenerateSctpSids(*current_streams, &ssrcs); in AddStreamParams() [all …]
|
D | bundlefilter_unittest.cc | 113 stream2.ssrcs.push_back(kSsrc2); in TEST() 114 stream2.ssrcs.push_back(kSsrc3); in TEST()
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/include/ |
D | remote_bitrate_estimator.h | 39 virtual void OnReceiveBitrateChanged(const std::vector<unsigned int>& ssrcs, 85 virtual bool LatestEstimate(std::vector<unsigned int>* ssrcs,
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | webrtcvideoengine2.cc | 894 config->rtp.ssrcs = sp.ssrcs; in ConfigureSendSsrcs() 904 std::vector<uint32_t> ssrcs; in ConfigureSendSsrcs() local 908 ssrcs.push_back(sp.first_ssrc()); in ConfigureSendSsrcs() 917 ssrcs = sim_group->ssrcs; in ConfigureSendSsrcs() 918 for (size_t i = 0; i < sim_group->ssrcs.size(); ++i) { in ConfigureSendSsrcs() 920 if (!sp.GetFidSsrc(sim_group->ssrcs[i], &rtx_ssrc)) { in ConfigureSendSsrcs() 926 if (!rtx_ssrcs.empty() && ssrcs.size() != rtx_ssrcs.size()) { in ConfigureSendSsrcs() 932 config->rtp.rtx.ssrcs = rtx_ssrcs; in ConfigureSendSsrcs() 933 config->rtp.ssrcs = ssrcs; in ConfigureSendSsrcs() 939 if (sp.ssrcs.empty()) { in AddSendStream() [all …]
|
/external/chromium_org/third_party/webrtc/ |
D | video_send_stream.h | 86 std::vector<uint32_t> ssrcs; member 111 std::vector<uint32_t> ssrcs; member
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/tools/ |
D | bwe_rtp_play.cc | 29 virtual void OnReceiveBitrateChanged(const std::vector<unsigned int>& ssrcs, in OnReceiveBitrateChanged() argument 33 static_cast<int>(ssrcs.size()), bitrate); in OnReceiveBitrateChanged()
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/automated/ |
D | vie_network_test.cc | 82 uint8_t ssrcs = buf[4]; in TryParseREMB() local 88 if (length < (8 + 4 * ssrcs)) { in TryParseREMB() 92 for (uint8_t i = 0; i < ssrcs; ++i) { in TryParseREMB()
|