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

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

Issue 2517173004: Move VideoFrame and related declarations to webrtc/api/video. (Closed)
Patch Set: Make rotation check clearer. Created 3 years, 11 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/fake_videorenderer.h ('k') | webrtc/test/frame_generator.cc » ('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 #ifndef WEBRTC_TEST_FRAME_GENERATOR_H_ 10 #ifndef WEBRTC_TEST_FRAME_GENERATOR_H_
11 #define WEBRTC_TEST_FRAME_GENERATOR_H_ 11 #define WEBRTC_TEST_FRAME_GENERATOR_H_
12 12
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "webrtc/api/video/video_frame.h"
16 #include "webrtc/base/criticalsection.h" 17 #include "webrtc/base/criticalsection.h"
17 #include "webrtc/media/base/videosourceinterface.h" 18 #include "webrtc/media/base/videosourceinterface.h"
18 #include "webrtc/typedefs.h" 19 #include "webrtc/typedefs.h"
19 #include "webrtc/video_frame.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 class Clock; 22 class Clock;
23 namespace test { 23 namespace test {
24 24
25 // FrameForwarder can be used as an implementation 25 // FrameForwarder can be used as an implementation
26 // of rtc::VideoSourceInterface<VideoFrame> where the caller controls when 26 // of rtc::VideoSourceInterface<VideoFrame> where the caller controls when
27 // a frame should be forwarded to its sink. 27 // a frame should be forwarded to its sink.
28 // Currently this implementation only support one sink. 28 // Currently this implementation only support one sink.
29 class FrameForwarder : public rtc::VideoSourceInterface<VideoFrame> { 29 class FrameForwarder : public rtc::VideoSourceInterface<VideoFrame> {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 size_t source_height, 84 size_t source_height,
85 size_t target_width, 85 size_t target_width,
86 size_t target_height, 86 size_t target_height,
87 int64_t scroll_time_ms, 87 int64_t scroll_time_ms,
88 int64_t pause_time_ms); 88 int64_t pause_time_ms);
89 }; 89 };
90 } // namespace test 90 } // namespace test
91 } // namespace webrtc 91 } // namespace webrtc
92 92
93 #endif // WEBRTC_TEST_FRAME_GENERATOR_H_ 93 #endif // WEBRTC_TEST_FRAME_GENERATOR_H_
OLDNEW
« no previous file with comments | « webrtc/test/fake_videorenderer.h ('k') | webrtc/test/frame_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698