| 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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 640 {0, 0, 0, 4096, 0, 0, 0}, | 640 {0, 0, 0, 4096, 0, 0, 0}, |
| 641 {64, -315, 1181, 3531, -436, 77, -64}, | 641 {64, -315, 1181, 3531, -436, 77, -64}, |
| 642 {97, -509, 2464, 2464, -509, 97, -97}, | 642 {97, -509, 2464, 2464, -509, 97, -97}, |
| 643 {77, -436, 3531, 1181, -315, 64, -77} | 643 {77, -436, 3531, 1181, -315, 64, -77} |
| 644 }; | 644 }; |
| 645 | 645 |
| 646 const int16_t WebRtcIlbcfix_kEnhWt[3] = { | 646 const int16_t WebRtcIlbcfix_kEnhWt[3] = { |
| 647 4800, 16384, 27968 /* Q16 */ | 647 4800, 16384, 27968 /* Q16 */ |
| 648 }; | 648 }; |
| 649 | 649 |
| 650 const int16_t WebRtcIlbcfix_kEnhPlocs[ENH_NBLOCKS_TOT] = { | 650 const size_t WebRtcIlbcfix_kEnhPlocs[ENH_NBLOCKS_TOT] = { |
| 651 160, 480, 800, 1120, 1440, 1760, 2080, 2400 /* Q(-2) */ | 651 160, 480, 800, 1120, 1440, 1760, 2080, 2400 /* Q(-2) */ |
| 652 }; | 652 }; |
| 653 | 653 |
| 654 /* PLC table */ | 654 /* PLC table */ |
| 655 | 655 |
| 656 const int16_t WebRtcIlbcfix_kPlcPerSqr[6] = { /* Grid points for square of perio
diciy in Q15 */ | 656 const int16_t WebRtcIlbcfix_kPlcPerSqr[6] = { /* Grid points for square of perio
diciy in Q15 */ |
| 657 839, 1343, 2048, 2998, 4247, 5849 | 657 839, 1343, 2048, 2998, 4247, 5849 |
| 658 }; | 658 }; |
| 659 | 659 |
| 660 const int16_t WebRtcIlbcfix_kPlcPitchFact[6] = { /* Value of y=(x^4-0.4)/(0.7-0.
4) in grid points in Q15 */ | 660 const int16_t WebRtcIlbcfix_kPlcPitchFact[6] = { /* Value of y=(x^4-0.4)/(0.7-0.
4) in grid points in Q15 */ |
| 661 0, 5462, 10922, 16384, 21846, 27306 | 661 0, 5462, 10922, 16384, 21846, 27306 |
| 662 }; | 662 }; |
| 663 | 663 |
| 664 const int16_t WebRtcIlbcfix_kPlcPfSlope[6] = { /* Slope of y=(x^4-0.4)/(0.7-0.4)
in Q11 */ | 664 const int16_t WebRtcIlbcfix_kPlcPfSlope[6] = { /* Slope of y=(x^4-0.4)/(0.7-0.4)
in Q11 */ |
| 665 26667, 18729, 13653, 10258, 7901, 6214 | 665 26667, 18729, 13653, 10258, 7901, 6214 |
| 666 }; | 666 }; |
| OLD | NEW |