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

Unified Diff: webrtc/video/full_stack.h

Issue 1289933003: Full stack graphs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: addressing comments 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 | « no previous file | webrtc/video/full_stack.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/full_stack.h
diff --git a/webrtc/video/full_stack.h b/webrtc/video/full_stack.h
new file mode 100644
index 0000000000000000000000000000000000000000..56ef4b329fa45287fddfea0a6149898be9b83b13
--- /dev/null
+++ b/webrtc/video/full_stack.h
@@ -0,0 +1,52 @@
+/*
+ * 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.
+ */
+#ifndef WEBRTC_VIDEO_FULL_STACK_H_
+#define WEBRTC_VIDEO_FULL_STACK_H_
+
+#include <string>
+
+#include "webrtc/test/call_test.h"
+#include "webrtc/test/direct_transport.h"
+
+namespace webrtc {
+
+enum class ContentMode {
+ kRealTimeVideo,
+ kScreensharingStaticImage,
+ kScreensharingScrollingImage,
+};
+
+struct FullStackTestParams {
+ const char* test_label;
+ struct {
+ const char* name;
+ size_t width, height;
+ int fps;
+ } clip;
+ ContentMode mode;
+ int min_bitrate_bps;
+ int target_bitrate_bps;
+ int max_bitrate_bps;
+ double avg_psnr_threshold;
+ double avg_ssim_threshold;
+ int test_durations_secs;
+ std::string codec;
+ FakeNetworkPipe::Config link;
+ std::string graph_data_output_filename;
+};
+
+class FullStackTest : public test::CallTest {
+ protected:
+ void RunTest(const FullStackTestParams& params);
+};
+
+} // namespace webrtc
+
+#endif // WEBRTC_VIDEO_FULL_STACK_H_
« no previous file with comments | « no previous file | webrtc/video/full_stack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698