| OLD | NEW | 
|---|
| 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 <memory> | 13 #include <memory> | 
| 14 #include <string> | 14 #include <string> | 
| 15 #include <vector> | 15 #include <vector> | 
| 16 | 16 | 
| 17 #include "webrtc/api/video/video_frame.h" | 17 #include "webrtc/api/video/video_frame.h" | 
| 18 #include "webrtc/base/criticalsection.h" |  | 
| 19 #include "webrtc/media/base/videosourceinterface.h" | 18 #include "webrtc/media/base/videosourceinterface.h" | 
|  | 19 #include "webrtc/rtc_base/criticalsection.h" | 
| 20 #include "webrtc/typedefs.h" | 20 #include "webrtc/typedefs.h" | 
| 21 | 21 | 
| 22 namespace webrtc { | 22 namespace webrtc { | 
| 23 class Clock; | 23 class Clock; | 
| 24 namespace test { | 24 namespace test { | 
| 25 | 25 | 
| 26 // FrameForwarder can be used as an implementation | 26 // FrameForwarder can be used as an implementation | 
| 27 // of rtc::VideoSourceInterface<VideoFrame> where the caller controls when | 27 // of rtc::VideoSourceInterface<VideoFrame> where the caller controls when | 
| 28 // a frame should be forwarded to its sink. | 28 // a frame should be forwarded to its sink. | 
| 29 // Currently this implementation only support one sink. | 29 // Currently this implementation only support one sink. | 
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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 }; | 92 }; | 
| 93 }  // namespace test | 93 }  // namespace test | 
| 94 }  // namespace webrtc | 94 }  // namespace webrtc | 
| 95 | 95 | 
| 96 #endif  // WEBRTC_TEST_FRAME_GENERATOR_H_ | 96 #endif  // WEBRTC_TEST_FRAME_GENERATOR_H_ | 
| OLD | NEW | 
|---|