| 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 // ---------------------------------------------------------------------------- | |
| 42 // [Video] Codec settings | 21 // [Video] Codec settings |
| 43 // ---------------------------------------------------------------------------- | 22 // ---------------------------------------------------------------------------- |
| 44 | 23 |
| 45 #define VIDEOCODEC_I420 | 24 #define VIDEOCODEC_I420 |
| 46 #define VIDEOCODEC_VP8 | 25 #define VIDEOCODEC_VP8 |
| 47 #define VIDEOCODEC_VP9 | 26 #define VIDEOCODEC_VP9 |
| 48 #define VIDEOCODEC_H264 | 27 #define VIDEOCODEC_H264 |
| 49 | 28 |
| 50 // ============================================================================ | 29 // ============================================================================ |
| 51 // VoiceEngine | 30 // VoiceEngine |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 80 |
| 102 // ---------------------------------------------------------------------------- | 81 // ---------------------------------------------------------------------------- |
| 103 // VideoEngine Mobile iPhone | 82 // VideoEngine Mobile iPhone |
| 104 // ---------------------------------------------------------------------------- | 83 // ---------------------------------------------------------------------------- |
| 105 | 84 |
| 106 #if defined(WEBRTC_IOS) | 85 #if defined(WEBRTC_IOS) |
| 107 #define EAGL_RENDERING | 86 #define EAGL_RENDERING |
| 108 #endif | 87 #endif |
| 109 | 88 |
| 110 #endif // WEBRTC_ENGINE_CONFIGURATIONS_H_ | 89 #endif // WEBRTC_ENGINE_CONFIGURATIONS_H_ |
| OLD | NEW |