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 18 matching lines...) Expand all Loading... |
29 }; | 29 }; |
30 | 30 |
31 virtual int32_t Init() = 0; | 31 virtual int32_t Init() = 0; |
32 | 32 |
33 /************************************************************************** | 33 /************************************************************************** |
34 * | 34 * |
35 * Incoming Streams | 35 * Incoming Streams |
36 * | 36 * |
37 ***************************************************************************
/ | 37 ***************************************************************************
/ |
38 | 38 |
39 virtual VideoRenderCallback | 39 virtual rtc::VideoSinkInterface<VideoFrame> |
40 * CreateChannel(const uint32_t streamId, | 40 * CreateChannel(const uint32_t streamId, |
41 const uint32_t zOrder, | 41 const uint32_t zOrder, |
42 const float left, | 42 const float left, |
43 const float top, | 43 const float top, |
44 const float right, | 44 const float right, |
45 const float bottom) = 0; | 45 const float bottom) = 0; |
46 | 46 |
47 virtual int32_t DeleteChannel(const uint32_t streamId) = 0; | 47 virtual int32_t DeleteChannel(const uint32_t streamId) = 0; |
48 | 48 |
49 virtual int32_t GetStreamSettings(const uint32_t channel, | 49 virtual int32_t GetStreamSettings(const uint32_t channel, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 virtual int32_t ChangeWindow(void* window) = 0; | 102 virtual int32_t ChangeWindow(void* window) = 0; |
103 | 103 |
104 virtual int32_t GetGraphicsMemory(uint64_t& totalMemory, | 104 virtual int32_t GetGraphicsMemory(uint64_t& totalMemory, |
105 uint64_t& availableMemory) = 0; | 105 uint64_t& availableMemory) = 0; |
106 | 106 |
107 }; | 107 }; |
108 | 108 |
109 } // namespace webrtc | 109 } // namespace webrtc |
110 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_I_VIDEO_RENDER_WIN_H_ | 110 #endif // WEBRTC_MODULES_VIDEO_RENDER_MAIN_SOURCE_WINDOWS_I_VIDEO_RENDER_WIN_H_ |
OLD | NEW |