| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 WebRtc_Word16 *pw16_downSampSpeech = pw16_scratchPtr + SCRATCH_PW16_DS_SPEEC
H; | 84 WebRtc_Word16 *pw16_downSampSpeech = pw16_scratchPtr + SCRATCH_PW16_DS_SPEEC
H; |
| 85 WebRtc_Word32 *pw32_corr = (WebRtc_Word32*) (pw16_scratchPtr + SCRATCH_PW32_
CORR); | 85 WebRtc_Word32 *pw32_corr = (WebRtc_Word32*) (pw16_scratchPtr + SCRATCH_PW32_
CORR); |
| 86 WebRtc_Word16 *pw16_corr = pw16_scratchPtr + SCRATCH_PW16_CORR; | 86 WebRtc_Word16 *pw16_corr = pw16_scratchPtr + SCRATCH_PW16_CORR; |
| 87 #else | 87 #else |
| 88 /* Allocate memory for temporary vectors */ | 88 /* Allocate memory for temporary vectors */ |
| 89 WebRtc_Word16 pw16_downSampSpeech[PREEMPTIVE_DOWNSAMPLED_LEN]; | 89 WebRtc_Word16 pw16_downSampSpeech[PREEMPTIVE_DOWNSAMPLED_LEN]; |
| 90 WebRtc_Word32 pw32_corr[PREEMPTIVE_CORR_LEN]; | 90 WebRtc_Word32 pw32_corr[PREEMPTIVE_CORR_LEN]; |
| 91 WebRtc_Word16 pw16_corr[PREEMPTIVE_CORR_LEN]; | 91 WebRtc_Word16 pw16_corr[PREEMPTIVE_CORR_LEN]; |
| 92 #endif | 92 #endif |
| 93 WebRtc_Word16 w16_decodedMax = 0; | 93 WebRtc_Word16 w16_decodedMax = 0; |
| 94 WebRtc_Word16 w16_tmp; | 94 WebRtc_Word16 w16_tmp = 0; |
| 95 WebRtc_Word16 w16_tmp2; | 95 WebRtc_Word16 w16_tmp2; |
| 96 WebRtc_Word32 w32_tmp; | 96 WebRtc_Word32 w32_tmp; |
| 97 WebRtc_Word32 w32_tmp2; | 97 WebRtc_Word32 w32_tmp2; |
| 98 | 98 |
| 99 const WebRtc_Word16 w16_startLag = PREEMPTIVE_MIN_LAG; | 99 const WebRtc_Word16 w16_startLag = PREEMPTIVE_MIN_LAG; |
| 100 const WebRtc_Word16 w16_endLag = PREEMPTIVE_MAX_LAG; | 100 const WebRtc_Word16 w16_endLag = PREEMPTIVE_MAX_LAG; |
| 101 const WebRtc_Word16 w16_corrLen = PREEMPTIVE_CORR_LEN; | 101 const WebRtc_Word16 w16_corrLen = PREEMPTIVE_CORR_LEN; |
| 102 const WebRtc_Word16 *pw16_vec1, *pw16_vec2; | 102 const WebRtc_Word16 *pw16_vec1, *pw16_vec2; |
| 103 WebRtc_Word16 *pw16_vectmp; | 103 WebRtc_Word16 *pw16_vectmp; |
| 104 WebRtc_Word16 w16_inc, w16_startfact; | 104 WebRtc_Word16 w16_inc, w16_startfact; |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 | 515 |
| 516 WEBRTC_SPL_MEMMOVE_W16(pw16_outData, pw16_decoded, (WebRtc_Word16) len); | 516 WEBRTC_SPL_MEMMOVE_W16(pw16_outData, pw16_decoded, (WebRtc_Word16) len); |
| 517 | 517 |
| 518 return 0; | 518 return 0; |
| 519 } | 519 } |
| 520 } | 520 } |
| 521 | 521 |
| 522 #undef SCRATCH_PW16_DS_SPEECH | 522 #undef SCRATCH_PW16_DS_SPEECH |
| 523 #undef SCRATCH_PW32_CORR | 523 #undef SCRATCH_PW32_CORR |
| 524 #undef SCRATCH_PW16_CORR | 524 #undef SCRATCH_PW16_CORR |
| 525 | |
| OLD | NEW |