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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 const float left, const float top, | 243 const float left, const float top, |
244 const float right, const float bottom) = 0; | 244 const float right, const float bottom) = 0; |
245 | 245 |
246 virtual int32_t SetText(const uint8_t textId, | 246 virtual int32_t SetText(const uint8_t textId, |
247 const uint8_t* text, | 247 const uint8_t* text, |
248 const int32_t textLength, | 248 const int32_t textLength, |
249 const uint32_t textColorRef, | 249 const uint32_t textColorRef, |
250 const uint32_t backgroundColorRef, | 250 const uint32_t backgroundColorRef, |
251 const float left, const float top, | 251 const float left, const float top, |
252 const float right, const float bottom) = 0; | 252 const float right, const float bottom) = 0; |
253 | |
254 /* | |
255 * Set a start image. The image is rendered before the first image has been
delivered | |
256 */ | |
257 virtual int32_t SetStartImage(const uint32_t streamId, | |
258 const VideoFrame& videoFrame) = 0; | |
259 | |
260 /* | |
261 * Set a timout image. The image is rendered if no videoframe has been deliv
ered | |
262 */ | |
263 virtual int32_t SetTimeoutImage(const uint32_t streamId, | |
264 const VideoFrame& videoFrame, | |
265 const uint32_t timeout) = 0; | |
266 }; | 253 }; |
267 } // namespace webrtc | 254 } // namespace webrtc |
268 #endif // WEBRTC_MODULES_VIDEO_RENDER_VIDEO_RENDER_H_ | 255 #endif // WEBRTC_MODULES_VIDEO_RENDER_VIDEO_RENDER_H_ |
OLD | NEW |