OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 const float right, const float bottom); | 185 const float right, const float bottom); |
186 | 186 |
187 virtual int32_t SetText(const uint8_t textId, | 187 virtual int32_t SetText(const uint8_t textId, |
188 const uint8_t* text, | 188 const uint8_t* text, |
189 const int32_t textLength, | 189 const int32_t textLength, |
190 const uint32_t textColorRef, | 190 const uint32_t textColorRef, |
191 const uint32_t backgroundColorRef, | 191 const uint32_t backgroundColorRef, |
192 const float left, const float top, | 192 const float left, const float top, |
193 const float right, const float bottom); | 193 const float right, const float bottom); |
194 | 194 |
195 virtual int32_t SetStartImage(const uint32_t streamId, | |
196 const VideoFrame& videoFrame); | |
197 | |
198 virtual int32_t SetTimeoutImage(const uint32_t streamId, | |
199 const VideoFrame& videoFrame, | |
200 const uint32_t timeout); | |
201 | |
202 private: | 195 private: |
203 int32_t _id; | 196 int32_t _id; |
204 CriticalSectionWrapper& _moduleCrit; | 197 CriticalSectionWrapper& _moduleCrit; |
205 void* _ptrWindow; | 198 void* _ptrWindow; |
206 bool _fullScreen; | 199 bool _fullScreen; |
207 | 200 |
208 IVideoRender* _ptrRenderer; | 201 IVideoRender* _ptrRenderer; |
209 typedef std::map<uint32_t, IncomingVideoStream*> IncomingVideoStreamMap; | 202 typedef std::map<uint32_t, IncomingVideoStream*> IncomingVideoStreamMap; |
210 IncomingVideoStreamMap _streamRenderMap; | 203 IncomingVideoStreamMap _streamRenderMap; |
211 }; | 204 }; |
212 | 205 |
213 } // namespace webrtc | 206 } // namespace webrtc |
214 | 207 |
215 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_VIDEO_RENDER_IMPL_H_ | 208 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_VIDEO_RENDER_IMPL_H_ |
OLD | NEW |