| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 | 10 |
| 11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_ |
| 12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_ | 12 #define WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_ |
| 13 | 13 |
| 14 /* | 14 /* |
| 15 * video_render.h | 15 * video_render.h |
| 16 * | 16 * |
| 17 * This header file together with module.h and module_common_types.h | 17 * This header file together with module.h and module_common_types.h |
| 18 * contains all of the APIs that are needed for using the video render | 18 * contains all of the APIs that are needed for using the video render |
| 19 * module class. | 19 * module class. |
| 20 * | 20 * |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #include "webrtc/modules/interface/module.h" | 23 #include "webrtc/modules/include/module.h" |
| 24 #include "webrtc/modules/video_render/include/video_render_defines.h" | 24 #include "webrtc/modules/video_render/include/video_render_defines.h" |
| 25 | 25 |
| 26 namespace webrtc { | 26 namespace webrtc { |
| 27 | 27 |
| 28 // Class definitions | 28 // Class definitions |
| 29 class VideoRender: public Module | 29 class VideoRender: public Module |
| 30 { | 30 { |
| 31 public: | 31 public: |
| 32 /* | 32 /* |
| 33 * Create a video render module object | 33 * Create a video render module object |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 | 259 |
| 260 /* | 260 /* |
| 261 * Set a timout image. The image is rendered if no videoframe has been deliv
ered | 261 * Set a timout image. The image is rendered if no videoframe has been deliv
ered |
| 262 */ | 262 */ |
| 263 virtual int32_t SetTimeoutImage(const uint32_t streamId, | 263 virtual int32_t SetTimeoutImage(const uint32_t streamId, |
| 264 const VideoFrame& videoFrame, | 264 const VideoFrame& videoFrame, |
| 265 const uint32_t timeout) = 0; | 265 const uint32_t timeout) = 0; |
| 266 }; | 266 }; |
| 267 } // namespace webrtc | 267 } // namespace webrtc |
| 268 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_ | 268 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_INTERFACE_VIDEO_RENDER_H_ |
| OLD | NEW |