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 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 #endif | 145 #endif |
146 #ifdef CODEC_ILBC | 146 #ifdef CODEC_ILBC |
147 #include "ilbc.h" | 147 #include "ilbc.h" |
148 #endif | 148 #endif |
149 #if (defined CODEC_ISAC || defined CODEC_ISAC_SWB) | 149 #if (defined CODEC_ISAC || defined CODEC_ISAC_SWB) |
150 #include "isac.h" | 150 #include "isac.h" |
151 #endif | 151 #endif |
152 #ifdef NETEQ_ISACFIX_CODEC | 152 #ifdef NETEQ_ISACFIX_CODEC |
153 #include "isacfix.h" | 153 #include "isacfix.h" |
154 #ifdef CODEC_ISAC | 154 #ifdef CODEC_ISAC |
155 #error Cannot have both ISAC and ISACfix defined. Please de-select one in the be
ginning of RTPencode.cpp | 155 #error Cannot have both ISAC and ISACfix defined. Please de-select one. |
156 #endif | 156 #endif |
157 #endif | 157 #endif |
158 #ifdef CODEC_G722 | 158 #ifdef CODEC_G722 |
159 #include "g722_interface.h" | 159 #include "g722_interface.h" |
160 #endif | 160 #endif |
161 #ifdef CODEC_G722_1_24 | 161 #ifdef CODEC_G722_1_24 |
162 #include "G722_1Interface.h" | 162 #include "G722_1Interface.h" |
163 #endif | 163 #endif |
164 #ifdef CODEC_G722_1_32 | 164 #ifdef CODEC_G722_1_32 |
165 #include "G722_1Interface.h" | 165 #include "G722_1Interface.h" |
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1832 memmove(ptrL + stride, ptrL, ptrR - ptrL); | 1832 memmove(ptrL + stride, ptrL, ptrR - ptrL); |
1833 | 1833 |
1834 // copy from temp to left pointer | 1834 // copy from temp to left pointer |
1835 memcpy(ptrL, temp, stride); | 1835 memcpy(ptrL, temp, stride); |
1836 | 1836 |
1837 // advance pointers | 1837 // advance pointers |
1838 ptrL += stride * 2; | 1838 ptrL += stride * 2; |
1839 ptrR += stride; | 1839 ptrR += stride; |
1840 } | 1840 } |
1841 } | 1841 } |
OLD | NEW |