Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Side by Side Diff: webrtc/modules/audio_coding/neteq/test/RTPencode.cc

Issue 1172163004: Reformat existing code. There should be no functional effects. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 1663 matching lines...) Expand 10 before | Expand all | Expand 10 after
1829 memmove(ptrL + stride, ptrL, ptrR - ptrL); 1829 memmove(ptrL + stride, ptrL, ptrR - ptrL);
1830 1830
1831 // copy from temp to left pointer 1831 // copy from temp to left pointer
1832 memcpy(ptrL, temp, stride); 1832 memcpy(ptrL, temp, stride);
1833 1833
1834 // advance pointers 1834 // advance pointers
1835 ptrL += stride * 2; 1835 ptrL += stride * 2;
1836 ptrR += stride; 1836 ptrR += stride;
1837 } 1837 }
1838 } 1838 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698