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

Unified Diff: webrtc/video/loopback.h

Issue 1308403003: Refactoring full stack and loopback tests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase updates 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/video/full_stack_quality_sampler.cc ('k') | webrtc/video/loopback.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/loopback.h
diff --git a/webrtc/video/loopback.h b/webrtc/video/loopback.h
deleted file mode 100644
index c671de4e980b6e1c401ab24a69823319ecd3376d..0000000000000000000000000000000000000000
--- a/webrtc/video/loopback.h
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#include <string>
-
-#include "webrtc/config.h"
-
-namespace webrtc {
-
-class VideoSendStream;
-class Clock;
-
-namespace test {
-
-class VideoCapturer;
-
-class Loopback {
- public:
- struct Config {
- size_t width;
- size_t height;
- int32_t fps;
- size_t min_bitrate_kbps;
- size_t start_bitrate_kbps;
- size_t max_bitrate_kbps;
- int32_t min_transmit_bitrate_kbps;
- std::string codec;
- size_t num_temporal_layers;
- size_t num_spatial_layers;
- // Discard all temporal/spatial layers with id greater or equal the
- // threshold. 0 to disable.
- size_t tl_discard_threshold;
- size_t sl_discard_threshold;
- int32_t loss_percent;
- int32_t link_capacity_kbps;
- int32_t queue_size;
- int32_t avg_propagation_delay_ms;
- int32_t std_propagation_delay_ms;
- bool logs;
- };
-
- explicit Loopback(const Config& config);
- virtual ~Loopback();
-
- void Run();
-
- protected:
- virtual VideoEncoderConfig CreateEncoderConfig();
- virtual VideoCapturer* CreateCapturer(VideoSendStream* send_stream);
-
- const Config config_;
- Clock* const clock_;
-};
-
-} // namespace test
-} // namespace webrtc
« no previous file with comments | « webrtc/video/full_stack_quality_sampler.cc ('k') | webrtc/video/loopback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698