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 #if !defined(__has_feature) || !__has_feature(objc_arc) | 11 #if !defined(__has_feature) || !__has_feature(objc_arc) |
12 #error "This file requires ARC support." | 12 #error "This file requires ARC support." |
13 #endif | 13 #endif |
14 | 14 |
15 #include "webrtc/modules/video_render/ios/video_render_ios_impl.h" | 15 #include "webrtc/modules/video_render/ios/video_render_ios_impl.h" |
16 #include "webrtc/modules/video_render/ios/video_render_ios_gles20.h" | 16 #include "webrtc/modules/video_render/ios/video_render_ios_gles20.h" |
17 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 17 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
18 #include "webrtc/system_wrappers/interface/trace.h" | 18 #include "webrtc/system_wrappers/include/trace.h" |
19 | 19 |
20 using namespace webrtc; | 20 using namespace webrtc; |
21 | 21 |
22 #define IOS_UNSUPPORTED() \ | 22 #define IOS_UNSUPPORTED() \ |
23 WEBRTC_TRACE(kTraceError, \ | 23 WEBRTC_TRACE(kTraceError, \ |
24 kTraceVideoRenderer, \ | 24 kTraceVideoRenderer, \ |
25 id_, \ | 25 id_, \ |
26 "%s is not supported on the iOS platform.", \ | 26 "%s is not supported on the iOS platform.", \ |
27 __FUNCTION__); \ | 27 __FUNCTION__); \ |
28 return -1; | 28 return -1; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 const float left, | 161 const float left, |
162 const float top, | 162 const float top, |
163 const float right, | 163 const float right, |
164 const float bottom) { | 164 const float bottom) { |
165 IOS_UNSUPPORTED(); | 165 IOS_UNSUPPORTED(); |
166 } | 166 } |
167 | 167 |
168 int32_t VideoRenderIosImpl::FullScreenRender(void* window, const bool enable) { | 168 int32_t VideoRenderIosImpl::FullScreenRender(void* window, const bool enable) { |
169 IOS_UNSUPPORTED(); | 169 IOS_UNSUPPORTED(); |
170 } | 170 } |
OLD | NEW |