OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 |
11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_IOS_VIDEO_RENDER_IOS_CHANNEL_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_RENDER_IOS_VIDEO_RENDER_IOS_CHANNEL_H_ |
12 #define WEBRTC_MODULES_VIDEO_RENDER_IOS_VIDEO_RENDER_IOS_CHANNEL_H_ | 12 #define WEBRTC_MODULES_VIDEO_RENDER_IOS_VIDEO_RENDER_IOS_CHANNEL_H_ |
13 | 13 |
14 #include "webrtc/modules/video_render/include/video_render_defines.h" | 14 #include "webrtc/modules/video_render/video_render_defines.h" |
15 #include "webrtc/modules/video_render/ios/video_render_ios_view.h" | 15 #include "webrtc/modules/video_render/ios/video_render_ios_view.h" |
16 | 16 |
17 namespace webrtc { | 17 namespace webrtc { |
18 | 18 |
19 class VideoRenderIosGles20; | 19 class VideoRenderIosGles20; |
20 | 20 |
21 class VideoRenderIosChannel : public VideoRenderCallback { | 21 class VideoRenderIosChannel : public VideoRenderCallback { |
22 public: | 22 public: |
23 explicit VideoRenderIosChannel(VideoRenderIosView* view); | 23 explicit VideoRenderIosChannel(VideoRenderIosView* view); |
24 virtual ~VideoRenderIosChannel(); | 24 virtual ~VideoRenderIosChannel(); |
(...skipping 11 matching lines...) Expand all Loading... |
36 bool RenderOffScreenBuffer(); | 36 bool RenderOffScreenBuffer(); |
37 | 37 |
38 private: | 38 private: |
39 VideoRenderIosView* view_; | 39 VideoRenderIosView* view_; |
40 VideoFrame* current_frame_; | 40 VideoFrame* current_frame_; |
41 bool buffer_is_updated_; | 41 bool buffer_is_updated_; |
42 }; | 42 }; |
43 | 43 |
44 } // namespace webrtc | 44 } // namespace webrtc |
45 #endif // WEBRTC_MODULES_VIDEO_RENDER_IOS_VIDEO_RENDER_IOS_CHANNEL_H_ | 45 #endif // WEBRTC_MODULES_VIDEO_RENDER_IOS_VIDEO_RENDER_IOS_CHANNEL_H_ |
OLD | NEW |