| 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 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 kRenderDefault); | 46 kRenderDefault); |
| 47 | 47 |
| 48 /* | 48 /* |
| 49 * Destroy a video render module object | 49 * Destroy a video render module object |
| 50 * | 50 * |
| 51 * module - object to destroy | 51 * module - object to destroy |
| 52 */ | 52 */ |
| 53 static void DestroyVideoRender(VideoRender* module); | 53 static void DestroyVideoRender(VideoRender* module); |
| 54 | 54 |
| 55 int64_t TimeUntilNextProcess() override = 0; | 55 int64_t TimeUntilNextProcess() override = 0; |
| 56 void Process() override = 0; | 56 int32_t Process() override = 0; |
| 57 | 57 |
| 58 /************************************************************************** | 58 /************************************************************************** |
| 59 * | 59 * |
| 60 * Window functions | 60 * Window functions |
| 61 * | 61 * |
| 62 ***************************************************************************
/ | 62 ***************************************************************************
/ |
| 63 | 63 |
| 64 /* | 64 /* |
| 65 * Get window for this renderer | 65 * Get window for this renderer |
| 66 */ | 66 */ |
| (...skipping 192 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_VIDEO_RENDER_H_ | 268 #endif // WEBRTC_MODULES_VIDEO_RENDER_VIDEO_RENDER_H_ |
| OLD | NEW |