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

Side by Side Diff: webrtc/test/frame_generator.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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 | « webrtc/test/frame_generator.h ('k') | webrtc/test/frame_generator_capturer.h » ('j') | no next file with comments »
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 #include "webrtc/test/frame_generator.h" 10 #include "webrtc/test/frame_generator.h"
11 11
12 #include <math.h> 12 #include <math.h>
13 #include <stdio.h> 13 #include <stdio.h>
14 #include <string.h> 14 #include <string.h>
15 15
16 #include <memory> 16 #include <memory>
17 17
18 #include "webrtc/api/video/i420_buffer.h" 18 #include "webrtc/api/video/i420_buffer.h"
19 #include "webrtc/base/checks.h"
20 #include "webrtc/base/keep_ref_until_done.h"
21 #include "webrtc/base/random.h"
22 #include "webrtc/common_video/include/video_frame_buffer.h" 19 #include "webrtc/common_video/include/video_frame_buffer.h"
23 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
21 #include "webrtc/rtc_base/checks.h"
22 #include "webrtc/rtc_base/keep_ref_until_done.h"
23 #include "webrtc/rtc_base/random.h"
24 #include "webrtc/system_wrappers/include/clock.h" 24 #include "webrtc/system_wrappers/include/clock.h"
25 #include "webrtc/test/frame_utils.h" 25 #include "webrtc/test/frame_utils.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
28 namespace test { 28 namespace test {
29 namespace { 29 namespace {
30 30
31 // SquareGenerator is a FrameGenerator that draws 10 randomly sized and colored 31 // SquareGenerator is a FrameGenerator that draws 10 randomly sized and colored
32 // squares. Between each new generated frame, the squares are moved slightly 32 // squares. Between each new generated frame, the squares are moved slightly
33 // towards the lower right corner. 33 // towards the lower right corner.
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 files.push_back(file); 356 files.push_back(file);
357 } 357 }
358 358
359 return std::unique_ptr<FrameGenerator>(new ScrollingImageFrameGenerator( 359 return std::unique_ptr<FrameGenerator>(new ScrollingImageFrameGenerator(
360 clock, files, source_width, source_height, target_width, target_height, 360 clock, files, source_width, source_height, target_width, target_height,
361 scroll_time_ms, pause_time_ms)); 361 scroll_time_ms, pause_time_ms));
362 } 362 }
363 363
364 } // namespace test 364 } // namespace test
365 } // namespace webrtc 365 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/frame_generator.h ('k') | webrtc/test/frame_generator_capturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698