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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h

Issue 1342543004: Consolidate constructormagic macros with Chromium version and remove Chromium override. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 5 years, 3 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 uint32_t capacity_kbps(); 363 uint32_t capacity_kbps();
364 364
365 virtual void RunFor(int64_t time_ms, Packets* in_out); 365 virtual void RunFor(int64_t time_ms, Packets* in_out);
366 366
367 Stats<double> GetDelayStats() const; 367 Stats<double> GetDelayStats() const;
368 368
369 private: 369 private:
370 uint32_t capacity_kbps_; 370 uint32_t capacity_kbps_;
371 int64_t last_send_time_us_; 371 int64_t last_send_time_us_;
372 rtc::scoped_ptr<DelayCapHelper> delay_cap_helper_; 372 rtc::scoped_ptr<DelayCapHelper> delay_cap_helper_;
373 int64_t max_delay_us_;
374 373
375 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(ChokeFilter); 374 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(ChokeFilter);
376 }; 375 };
377 376
378 class TraceBasedDeliveryFilter : public PacketProcessor { 377 class TraceBasedDeliveryFilter : public PacketProcessor {
379 public: 378 public:
380 TraceBasedDeliveryFilter(PacketProcessorListener* listener, int flow_id); 379 TraceBasedDeliveryFilter(PacketProcessorListener* listener, int flow_id);
381 TraceBasedDeliveryFilter(PacketProcessorListener* listener, 380 TraceBasedDeliveryFilter(PacketProcessorListener* listener,
382 const FlowIds& flow_ids); 381 const FlowIds& flow_ids);
383 TraceBasedDeliveryFilter(PacketProcessorListener* listener, 382 TraceBasedDeliveryFilter(PacketProcessorListener* listener,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 const double frame_period_ms_; 439 const double frame_period_ms_;
441 uint32_t bits_per_second_; 440 uint32_t bits_per_second_;
442 uint32_t frame_size_bytes_; 441 uint32_t frame_size_bytes_;
443 442
444 private: 443 private:
445 const int flow_id_; 444 const int flow_id_;
446 int64_t next_frame_ms_; 445 int64_t next_frame_ms_;
447 int64_t next_frame_rand_ms_; 446 int64_t next_frame_rand_ms_;
448 int64_t now_ms_; 447 int64_t now_ms_;
449 RTPHeader prototype_header_; 448 RTPHeader prototype_header_;
450 int64_t start_plotting_ms_;
451 uint32_t previous_bitrate_bps_;
452 449
453 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(VideoSource); 450 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(VideoSource);
454 }; 451 };
455 452
456 class AdaptiveVideoSource : public VideoSource { 453 class AdaptiveVideoSource : public VideoSource {
457 public: 454 public:
458 AdaptiveVideoSource(int flow_id, 455 AdaptiveVideoSource(int flow_id,
459 float fps, 456 float fps,
460 uint32_t kbps, 457 uint32_t kbps,
461 uint32_t ssrc, 458 uint32_t ssrc,
(...skipping 26 matching lines...) Expand all
488 uint32_t frame_counter_; 485 uint32_t frame_counter_;
489 int compensation_bytes_; 486 int compensation_bytes_;
490 int compensation_per_frame_; 487 int compensation_per_frame_;
491 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(PeriodicKeyFrameSource); 488 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(PeriodicKeyFrameSource);
492 }; 489 };
493 } // namespace bwe 490 } // namespace bwe
494 } // namespace testing 491 } // namespace testing
495 } // namespace webrtc 492 } // namespace webrtc
496 493
497 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_TEST_FRAMEWORK_H_ 494 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_TEST_FRAMEWORK_H_
OLDNEW
« no previous file with comments | « webrtc/base/virtualsocketserver.cc ('k') | webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698