OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 WebRtc_Word32 *pw32_corr = (WebRtc_Word32*) (pw16_scratchPtr + SCRATCH_pw32_
corr); | 105 WebRtc_Word32 *pw32_corr = (WebRtc_Word32*) (pw16_scratchPtr + SCRATCH_pw32_
corr); |
106 WebRtc_Word16 *pw16_corrVec = pw16_scratchPtr + SCRATCH_pw16_corrVec; | 106 WebRtc_Word16 *pw16_corrVec = pw16_scratchPtr + SCRATCH_pw16_corrVec; |
107 #else | 107 #else |
108 WebRtc_Word16 pw16_expanded[(125+80+5)*FSMULT]; | 108 WebRtc_Word16 pw16_expanded[(125+80+5)*FSMULT]; |
109 WebRtc_Word16 pw16_expandedLB[100]; | 109 WebRtc_Word16 pw16_expandedLB[100]; |
110 WebRtc_Word16 pw16_decodedLB[40]; | 110 WebRtc_Word16 pw16_decodedLB[40]; |
111 WebRtc_Word32 pw32_corr[60]; | 111 WebRtc_Word32 pw32_corr[60]; |
112 WebRtc_Word16 pw16_corrVec[4+60+4]; | 112 WebRtc_Word16 pw16_corrVec[4+60+4]; |
113 #endif | 113 #endif |
114 WebRtc_Word16 *pw16_corr = &pw16_corrVec[4]; | 114 WebRtc_Word16 *pw16_corr = &pw16_corrVec[4]; |
115 WebRtc_Word16 w16_stopPos, w16_bestIndex, w16_interpLen; | 115 WebRtc_Word16 w16_stopPos = 0, w16_bestIndex, w16_interpLen; |
116 WebRtc_Word16 w16_bestVal; /* bestVal is dummy */ | 116 WebRtc_Word16 w16_bestVal; /* bestVal is dummy */ |
117 WebRtc_Word16 w16_startfact, w16_inc; | 117 WebRtc_Word16 w16_startfact, w16_inc; |
118 WebRtc_Word16 w16_expandedLen; | 118 WebRtc_Word16 w16_expandedLen; |
119 WebRtc_Word16 w16_startPos; | 119 WebRtc_Word16 w16_startPos; |
120 WebRtc_Word16 w16_expLen, w16_newLen = 0; | 120 WebRtc_Word16 w16_expLen, w16_newLen = 0; |
121 WebRtc_Word16 *pw16_decodedOut; | 121 WebRtc_Word16 *pw16_decodedOut; |
122 WebRtc_Word16 w16_muted; | 122 WebRtc_Word16 w16_muted; |
123 | 123 |
124 int w16_decodedLen = len; | 124 int w16_decodedLen = len; |
125 | 125 |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 | 555 |
556 return 0; | 556 return 0; |
557 } | 557 } |
558 | 558 |
559 #undef SCRATCH_pw16_expanded | 559 #undef SCRATCH_pw16_expanded |
560 #undef SCRATCH_pw16_expandedLB | 560 #undef SCRATCH_pw16_expandedLB |
561 #undef SCRATCH_pw16_decodedLB | 561 #undef SCRATCH_pw16_decodedLB |
562 #undef SCRATCH_pw32_corr | 562 #undef SCRATCH_pw32_corr |
563 #undef SCRATCH_pw16_corrVec | 563 #undef SCRATCH_pw16_corrVec |
564 #undef SCRATCH_NETEQ_EXPAND | 564 #undef SCRATCH_NETEQ_EXPAND |
OLD | NEW |