| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 // Input: | 336 // Input: |
| 337 // - in_vector1 : Input vector 1 | 337 // - in_vector1 : Input vector 1 |
| 338 // - in_vector1_scale : Gain to be used for vector 1 | 338 // - in_vector1_scale : Gain to be used for vector 1 |
| 339 // - in_vector2 : Input vector 2 | 339 // - in_vector2 : Input vector 2 |
| 340 // - in_vector2_scale : Gain to be used for vector 2 | 340 // - in_vector2_scale : Gain to be used for vector 2 |
| 341 // - right_shifts : Number of right bit shifts to be applied | 341 // - right_shifts : Number of right bit shifts to be applied |
| 342 // - length : Number of elements in the input vectors | 342 // - length : Number of elements in the input vectors |
| 343 // | 343 // |
| 344 // Output: | 344 // Output: |
| 345 // - out_vector : Output vector | 345 // - out_vector : Output vector |
| 346 // Return value : 0 if OK, -1 if (in_vector1 == NULL | 346 // Return value : 0 if OK, -1 if (in_vector1 == null |
| 347 // || in_vector2 == NULL || out_vector == NULL | 347 // || in_vector2 == null || out_vector == null |
| 348 // || length <= 0 || right_shift < 0). | 348 // || length <= 0 || right_shift < 0). |
| 349 typedef int (*ScaleAndAddVectorsWithRound)(const int16_t* in_vector1, | 349 typedef int (*ScaleAndAddVectorsWithRound)(const int16_t* in_vector1, |
| 350 int16_t in_vector1_scale, | 350 int16_t in_vector1_scale, |
| 351 const int16_t* in_vector2, | 351 const int16_t* in_vector2, |
| 352 int16_t in_vector2_scale, | 352 int16_t in_vector2_scale, |
| 353 int right_shifts, | 353 int right_shifts, |
| 354 int16_t* out_vector, | 354 int16_t* out_vector, |
| 355 size_t length); | 355 size_t length); |
| 356 extern ScaleAndAddVectorsWithRound WebRtcSpl_ScaleAndAddVectorsWithRound; | 356 extern ScaleAndAddVectorsWithRound WebRtcSpl_ScaleAndAddVectorsWithRound; |
| 357 int WebRtcSpl_ScaleAndAddVectorsWithRoundC(const int16_t* in_vector1, | 357 int WebRtcSpl_ScaleAndAddVectorsWithRoundC(const int16_t* in_vector1, |
| (...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1633 // This function multiply a 16-bit word by a 16-bit word, and accumulate this | 1633 // This function multiply a 16-bit word by a 16-bit word, and accumulate this |
| 1634 // value to a 32-bit integer. | 1634 // value to a 32-bit integer. |
| 1635 // | 1635 // |
| 1636 // Input: | 1636 // Input: |
| 1637 // - a : The value of the first 16-bit word. | 1637 // - a : The value of the first 16-bit word. |
| 1638 // - b : The value of the second 16-bit word. | 1638 // - b : The value of the second 16-bit word. |
| 1639 // - c : The value of an 32-bit integer. | 1639 // - c : The value of an 32-bit integer. |
| 1640 // | 1640 // |
| 1641 // Return Value: The value of a * b + c. | 1641 // Return Value: The value of a * b + c. |
| 1642 // | 1642 // |
| OLD | NEW |