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

Unified Diff: webrtc/test/frame_generator.h

Issue 3003193002: Add a new frame generator that cycles through randomly generated slides. (Closed)
Patch Set: Patchset 3C. Created 3 years, 4 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/test/frame_generator.cc » ('j') | webrtc/test/frame_generator_capturer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/frame_generator.h
diff --git a/webrtc/test/frame_generator.h b/webrtc/test/frame_generator.h
index 6b0137df241c0629c6e4e3f8167ceb25f9572925..dfe35b832e7baa1f324db0f7dbb1cf899b8899ee 100644
--- a/webrtc/test/frame_generator.h
+++ b/webrtc/test/frame_generator.h
@@ -89,6 +89,11 @@ class FrameGenerator {
size_t target_height,
int64_t scroll_time_ms,
int64_t pause_time_ms);
+
+ // Creates a frame generator that produces randomly generated slides.
+ // frame_repeat_count determines how many times each slide is shown.
+ static std::unique_ptr<FrameGenerator> CreateSlideGenerator(
+ int width, int height, int frame_repeat_count);
};
} // namespace test
} // namespace webrtc
« no previous file with comments | « no previous file | webrtc/test/frame_generator.cc » ('j') | webrtc/test/frame_generator_capturer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698