| 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 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 explicit VideoRenderIosImpl(const int32_t id, | 27 explicit VideoRenderIosImpl(const int32_t id, |
| 28 void* window, | 28 void* window, |
| 29 const bool full_screen); | 29 const bool full_screen); |
| 30 | 30 |
| 31 ~VideoRenderIosImpl(); | 31 ~VideoRenderIosImpl(); |
| 32 | 32 |
| 33 // Implementation of IVideoRender. | 33 // Implementation of IVideoRender. |
| 34 int32_t Init() override; | 34 int32_t Init() override; |
| 35 int32_t ChangeWindow(void* window) override; | 35 int32_t ChangeWindow(void* window) override; |
| 36 | 36 |
| 37 VideoRenderCallback* AddIncomingRenderStream(const uint32_t stream_id, | 37 rtc::VideoSinkInterface<VideoFrame>* AddIncomingRenderStream( |
| 38 const uint32_t z_order, | 38 const uint32_t stream_id, |
| 39 const float left, | 39 const uint32_t z_order, |
| 40 const float top, | 40 const float left, |
| 41 const float right, | 41 const float top, |
| 42 const float bottom) override; | 42 const float right, |
| 43 const float bottom) override; |
| 43 | 44 |
| 44 int32_t DeleteIncomingRenderStream(const uint32_t stream_id) override; | 45 int32_t DeleteIncomingRenderStream(const uint32_t stream_id) override; |
| 45 | 46 |
| 46 int32_t GetIncomingRenderStreamProperties(const uint32_t stream_id, | 47 int32_t GetIncomingRenderStreamProperties(const uint32_t stream_id, |
| 47 uint32_t& z_order, | 48 uint32_t& z_order, |
| 48 float& left, | 49 float& left, |
| 49 float& top, | 50 float& top, |
| 50 float& right, | 51 float& right, |
| 51 float& bottom) const override; | 52 float& bottom) const override; |
| 52 | 53 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 private: | 97 private: |
| 97 int32_t id_; | 98 int32_t id_; |
| 98 void* ptr_window_; | 99 void* ptr_window_; |
| 99 bool full_screen_; | 100 bool full_screen_; |
| 100 | 101 |
| 101 CriticalSectionWrapper* crit_sec_; | 102 CriticalSectionWrapper* crit_sec_; |
| 102 std::unique_ptr<VideoRenderIosGles20> ptr_ios_render_; | 103 std::unique_ptr<VideoRenderIosGles20> ptr_ios_render_; |
| 103 }; | 104 }; |
| 104 } // namespace webrtc | 105 } // namespace webrtc |
| 105 #endif // WEBRTC_MODULES_VIDEO_RENDER_IOS_VIDEO_RENDER_IOS_IMPL_H_ | 106 #endif // WEBRTC_MODULES_VIDEO_RENDER_IOS_VIDEO_RENDER_IOS_IMPL_H_ |
| OLD | NEW |