OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 | 11 |
12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_INCLUDE_H264_H_ | 12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_INCLUDE_H264_H_ |
13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_INCLUDE_H264_H_ | 13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_INCLUDE_H264_H_ |
14 | 14 |
15 #if defined(WEBRTC_IOS) || defined(WEBRTC_MAC) | 15 #if defined(WEBRTC_IOS) || defined(WEBRTC_MAC) |
16 | 16 |
17 #include <Availability.h> | 17 #include <Availability.h> |
18 #if (defined(__IPHONE_8_0) && defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && \ | 18 #if defined(WEBRTC_IOS) || \ |
tkchin_webrtc
2016/09/29 15:09:50
can probably clean this up a little - e.g. don't n
| |
19 __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0) || \ | 19 defined(__MAC_10_8) && __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_8 |
20 (defined(__MAC_10_8) && __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_8) | |
21 #define WEBRTC_VIDEO_TOOLBOX_SUPPORTED 1 | 20 #define WEBRTC_VIDEO_TOOLBOX_SUPPORTED 1 |
22 #endif | 21 #endif |
23 | 22 |
24 #endif // defined(WEBRTC_IOS) || defined(WEBRTC_MAC) | 23 #endif // defined(WEBRTC_IOS) || defined(WEBRTC_MAC) |
25 | 24 |
26 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 25 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
27 | 26 |
28 namespace webrtc { | 27 namespace webrtc { |
29 | 28 |
30 // Set to disable the H.264 encoder/decoder implementations that are provided if | 29 // Set to disable the H.264 encoder/decoder implementations that are provided if |
(...skipping 15 matching lines...) Expand all Loading... | |
46 public: | 45 public: |
47 static H264Decoder* Create(); | 46 static H264Decoder* Create(); |
48 static bool IsSupported(); | 47 static bool IsSupported(); |
49 | 48 |
50 ~H264Decoder() override {} | 49 ~H264Decoder() override {} |
51 }; | 50 }; |
52 | 51 |
53 } // namespace webrtc | 52 } // namespace webrtc |
54 | 53 |
55 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_INCLUDE_H264_H_ | 54 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_H264_INCLUDE_H264_H_ |
OLD | NEW |