Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/bwe_simulations.cc

Issue 2904183002: Structure of BBR's implementation,some main classes and functions which are going to be used (Closed)
Patch Set: Added header files to build file Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 30 matching lines...) Expand all
41 Random random_; 41 Random random_;
42 42
43 private: 43 private:
44 RTC_DISALLOW_COPY_AND_ASSIGN(BweSimulation); 44 RTC_DISALLOW_COPY_AND_ASSIGN(BweSimulation);
45 }; 45 };
46 46
47 INSTANTIATE_TEST_CASE_P(VideoSendersTest, 47 INSTANTIATE_TEST_CASE_P(VideoSendersTest,
48 BweSimulation, 48 BweSimulation,
49 ::testing::Values(kRembEstimator, 49 ::testing::Values(kRembEstimator,
50 kSendSideEstimator, 50 kSendSideEstimator,
51 kNadaEstimator)); 51 kNadaEstimator,
52 kBbrEstimator));
52 53
53 TEST_P(BweSimulation, SprintUplinkTest) { 54 TEST_P(BweSimulation, SprintUplinkTest) {
54 AdaptiveVideoSource source(0, 30, 300, 0, 0); 55 AdaptiveVideoSource source(0, 30, 300, 0, 0);
55 VideoSender sender(&uplink_, &source, GetParam()); 56 VideoSender sender(&uplink_, &source, GetParam());
56 RateCounterFilter counter1(&uplink_, 0, "sender_output", 57 RateCounterFilter counter1(&uplink_, 0, "sender_output",
57 bwe_names[GetParam()]); 58 bwe_names[GetParam()]);
58 TraceBasedDeliveryFilter filter(&uplink_, 0, "link_capacity"); 59 TraceBasedDeliveryFilter filter(&uplink_, 0, "link_capacity");
59 RateCounterFilter counter2(&uplink_, 0, "Receiver", bwe_names[GetParam()]); 60 RateCounterFilter counter2(&uplink_, 0, "Receiver", bwe_names[GetParam()]);
60 PacketReceiver receiver(&uplink_, 0, GetParam(), true, true); 61 PacketReceiver receiver(&uplink_, 0, GetParam(), true, true);
61 ASSERT_TRUE(filter.Init(test::ResourcePath("sprint-uplink", "rx"))); 62 ASSERT_TRUE(filter.Init(test::ResourcePath("sprint-uplink", "rx")));
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 RunChoke(GetParam(), capacities_kbps); 486 RunChoke(GetParam(), capacities_kbps);
486 487
487 BweTest gcc_test(false); 488 BweTest gcc_test(false);
488 gcc_test.RunChoke(kSendSideEstimator, capacities_kbps); 489 gcc_test.RunChoke(kSendSideEstimator, capacities_kbps);
489 } 490 }
490 491
491 } // namespace bwe 492 } // namespace bwe
492 } // namespace testing 493 } // namespace testing
493 } // namespace webrtc 494 } // namespace webrtc
494 495
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/BUILD.gn ('k') | webrtc/modules/remote_bitrate_estimator/test/bwe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698