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 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" | 12 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" |
13 | 13 |
14 #if defined(WEBRTC_USE_H264) | 14 #if defined(WEBRTC_USE_H264) |
15 #include "webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h" | 15 #include "webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.h" |
16 #include "webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h" | 16 #include "webrtc/modules/video_coding/codecs/h264/h264_encoder_impl.h" |
17 #endif | 17 #endif |
18 | 18 |
19 #include "webrtc/base/checks.h" | 19 #include "webrtc/rtc_base/checks.h" |
20 #include "webrtc/base/logging.h" | 20 #include "webrtc/rtc_base/logging.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 namespace { | 24 namespace { |
25 | 25 |
26 #if defined(WEBRTC_USE_H264) | 26 #if defined(WEBRTC_USE_H264) |
27 bool g_rtc_use_h264 = true; | 27 bool g_rtc_use_h264 = true; |
28 #endif | 28 #endif |
29 | 29 |
30 } // namespace | 30 } // namespace |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 RTC_NOTREACHED(); | 70 RTC_NOTREACHED(); |
71 return nullptr; | 71 return nullptr; |
72 #endif | 72 #endif |
73 } | 73 } |
74 | 74 |
75 bool H264Decoder::IsSupported() { | 75 bool H264Decoder::IsSupported() { |
76 return IsH264CodecSupported(); | 76 return IsH264CodecSupported(); |
77 } | 77 } |
78 | 78 |
79 } // namespace webrtc | 79 } // namespace webrtc |
OLD | NEW |