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 17 matching lines...) Expand all Loading... |
28 /* | 28 /* |
29 * VideoRenderer constructor/destructor | 29 * VideoRenderer constructor/destructor |
30 */ | 30 */ |
31 ModuleVideoRenderImpl(const int32_t id, | 31 ModuleVideoRenderImpl(const int32_t id, |
32 const VideoRenderType videoRenderType, | 32 const VideoRenderType videoRenderType, |
33 void* window, const bool fullscreen); | 33 void* window, const bool fullscreen); |
34 | 34 |
35 virtual ~ModuleVideoRenderImpl(); | 35 virtual ~ModuleVideoRenderImpl(); |
36 | 36 |
37 virtual int64_t TimeUntilNextProcess(); | 37 virtual int64_t TimeUntilNextProcess(); |
38 virtual void Process(); | 38 virtual int32_t Process(); |
39 | 39 |
40 /* | 40 /* |
41 * Returns the render window | 41 * Returns the render window |
42 */ | 42 */ |
43 virtual void* Window(); | 43 virtual void* Window(); |
44 | 44 |
45 /* | 45 /* |
46 * Change render window | 46 * Change render window |
47 */ | 47 */ |
48 virtual int32_t ChangeWindow(void* window); | 48 virtual int32_t ChangeWindow(void* window); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 bool _fullScreen; | 206 bool _fullScreen; |
207 | 207 |
208 IVideoRender* _ptrRenderer; | 208 IVideoRender* _ptrRenderer; |
209 typedef std::map<uint32_t, IncomingVideoStream*> IncomingVideoStreamMap; | 209 typedef std::map<uint32_t, IncomingVideoStream*> IncomingVideoStreamMap; |
210 IncomingVideoStreamMap _streamRenderMap; | 210 IncomingVideoStreamMap _streamRenderMap; |
211 }; | 211 }; |
212 | 212 |
213 } // namespace webrtc | 213 } // namespace webrtc |
214 | 214 |
215 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_VIDEO_RENDER_IMPL_H_ | 215 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_VIDEO_RENDER_IMPL_H_ |
OLD | NEW |