OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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_ENGINE_CONFIGURATIONS_H_ | 11 #ifndef WEBRTC_ENGINE_CONFIGURATIONS_H_ |
12 #define WEBRTC_ENGINE_CONFIGURATIONS_H_ | 12 #define WEBRTC_ENGINE_CONFIGURATIONS_H_ |
13 | 13 |
14 #include "webrtc/typedefs.h" | 14 #include "webrtc/typedefs.h" |
15 | 15 |
16 // ============================================================================ | 16 // ============================================================================ |
17 // Voice and Video | 17 // Voice and Video |
18 // ============================================================================ | 18 // ============================================================================ |
19 | 19 |
20 // ---------------------------------------------------------------------------- | 20 // ---------------------------------------------------------------------------- |
| 21 // [Voice] Codec settings |
| 22 // ---------------------------------------------------------------------------- |
| 23 |
| 24 // iSAC and G722 are not included in the Mozilla build, but in all other builds. |
| 25 #ifndef WEBRTC_MOZILLA_BUILD |
| 26 #ifdef WEBRTC_ARCH_ARM |
| 27 #define WEBRTC_CODEC_ISACFX // Fix-point iSAC implementation. |
| 28 #else |
| 29 #define WEBRTC_CODEC_ISAC // Floating-point iSAC implementation (default). |
| 30 #endif // WEBRTC_ARCH_ARM |
| 31 #define WEBRTC_CODEC_G722 |
| 32 #endif // !WEBRTC_MOZILLA_BUILD |
| 33 |
| 34 // iLBC and Redundancy coding are excluded from Chromium and Mozilla |
| 35 // builds to reduce binary size. |
| 36 #if !defined(WEBRTC_CHROMIUM_BUILD) && !defined(WEBRTC_MOZILLA_BUILD) |
| 37 #define WEBRTC_CODEC_ILBC |
| 38 #define WEBRTC_CODEC_RED |
| 39 #endif // !WEBRTC_CHROMIUM_BUILD && !WEBRTC_MOZILLA_BUILD |
| 40 |
| 41 // ---------------------------------------------------------------------------- |
21 // [Video] Codec settings | 42 // [Video] Codec settings |
22 // ---------------------------------------------------------------------------- | 43 // ---------------------------------------------------------------------------- |
23 | 44 |
24 #define VIDEOCODEC_I420 | 45 #define VIDEOCODEC_I420 |
25 #define VIDEOCODEC_VP8 | 46 #define VIDEOCODEC_VP8 |
26 #define VIDEOCODEC_VP9 | 47 #define VIDEOCODEC_VP9 |
27 #define VIDEOCODEC_H264 | 48 #define VIDEOCODEC_H264 |
28 | 49 |
29 // ============================================================================ | 50 // ============================================================================ |
30 // VoiceEngine | 51 // VoiceEngine |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 101 |
81 // ---------------------------------------------------------------------------- | 102 // ---------------------------------------------------------------------------- |
82 // VideoEngine Mobile iPhone | 103 // VideoEngine Mobile iPhone |
83 // ---------------------------------------------------------------------------- | 104 // ---------------------------------------------------------------------------- |
84 | 105 |
85 #if defined(WEBRTC_IOS) | 106 #if defined(WEBRTC_IOS) |
86 #define EAGL_RENDERING | 107 #define EAGL_RENDERING |
87 #endif | 108 #endif |
88 | 109 |
89 #endif // WEBRTC_ENGINE_CONFIGURATIONS_H_ | 110 #endif // WEBRTC_ENGINE_CONFIGURATIONS_H_ |
OLD | NEW |