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

Side by Side 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, 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
« no previous file with comments | « no previous file | webrtc/test/frame_generator.cc » ('j') | webrtc/test/frame_generator_capturer.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef WEBRTC_TEST_FRAME_GENERATOR_H_ 10 #ifndef WEBRTC_TEST_FRAME_GENERATOR_H_
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // and then this will be repeated with the next file from the input set. 82 // and then this will be repeated with the next file from the input set.
83 static std::unique_ptr<FrameGenerator> CreateScrollingInputFromYuvFiles( 83 static std::unique_ptr<FrameGenerator> CreateScrollingInputFromYuvFiles(
84 Clock* clock, 84 Clock* clock,
85 std::vector<std::string> filenames, 85 std::vector<std::string> filenames,
86 size_t source_width, 86 size_t source_width,
87 size_t source_height, 87 size_t source_height,
88 size_t target_width, 88 size_t target_width,
89 size_t target_height, 89 size_t target_height,
90 int64_t scroll_time_ms, 90 int64_t scroll_time_ms,
91 int64_t pause_time_ms); 91 int64_t pause_time_ms);
92
93 // Creates a frame generator that produces randomly generated slides.
94 // frame_repeat_count determines how many times each slide is shown.
95 static std::unique_ptr<FrameGenerator> CreateSlideGenerator(
96 int width, int height, int frame_repeat_count);
92 }; 97 };
93 } // namespace test 98 } // namespace test
94 } // namespace webrtc 99 } // namespace webrtc
95 100
96 #endif // WEBRTC_TEST_FRAME_GENERATOR_H_ 101 #endif // WEBRTC_TEST_FRAME_GENERATOR_H_
OLDNEW
« 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