OLD | NEW |
1 /*********************************************************************** | 1 /*********************************************************************** |
2 Copyright (c) 2006-2011, Skype Limited. All rights reserved. | 2 Copyright (c) 2006-2011, Skype Limited. All rights reserved. |
3 Redistribution and use in source and binary forms, with or without | 3 Redistribution and use in source and binary forms, with or without |
4 modification, are permitted provided that the following conditions | 4 modification, are permitted provided that the following conditions |
5 are met: | 5 are met: |
6 - Redistributions of source code must retain the above copyright notice, | 6 - Redistributions of source code must retain the above copyright notice, |
7 this list of conditions and the following disclaimer. | 7 this list of conditions and the following disclaimer. |
8 - Redistributions in binary form must reproduce the above copyright | 8 - Redistributions in binary form must reproduce the above copyright |
9 notice, this list of conditions and the following disclaimer in the | 9 notice, this list of conditions and the following disclaimer in the |
10 documentation and/or other materials provided with the distribution. | 10 documentation and/or other materials provided with the distribution. |
(...skipping 26 matching lines...) Expand all Loading... |
37 #define BITRESERVOIR_DECAY_TIME_MS 500 | 37 #define BITRESERVOIR_DECAY_TIME_MS 500 |
38 | 38 |
39 /*******************/ | 39 /*******************/ |
40 /* Pitch estimator */ | 40 /* Pitch estimator */ |
41 /*******************/ | 41 /*******************/ |
42 | 42 |
43 /* Level of noise floor for whitening filter LPC analysis in pitch analysis */ | 43 /* Level of noise floor for whitening filter LPC analysis in pitch analysis */ |
44 #define FIND_PITCH_WHITE_NOISE_FRACTION 1e-3f | 44 #define FIND_PITCH_WHITE_NOISE_FRACTION 1e-3f |
45 | 45 |
46 /* Bandwidth expansion for whitening filter in pitch analysis */ | 46 /* Bandwidth expansion for whitening filter in pitch analysis */ |
47 #define FIND_PITCH_BANDWITH_EXPANSION 0.99f | 47 #define FIND_PITCH_BANDWIDTH_EXPANSION 0.99f |
48 | 48 |
49 /*********************/ | 49 /*********************/ |
50 /* Linear prediction */ | 50 /* Linear prediction */ |
51 /*********************/ | 51 /*********************/ |
52 | 52 |
53 /* LPC analysis defines: regularization and bandwidth expansion */ | 53 /* LPC analysis defines: regularization and bandwidth expansion */ |
54 #define FIND_LPC_COND_FAC 1e-5f | 54 #define FIND_LPC_COND_FAC 1e-5f |
55 | 55 |
56 /* LTP analysis defines */ | 56 /* LTP analysis defines */ |
57 #define FIND_LTP_COND_FAC 1e-5f | 57 #define FIND_LTP_COND_FAC 1e-5f |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 #define REDUCE_BITRATE_10_MS_BPS 2200 | 159 #define REDUCE_BITRATE_10_MS_BPS 2200 |
160 | 160 |
161 /* Maximum time before allowing a bandwidth transition */ | 161 /* Maximum time before allowing a bandwidth transition */ |
162 #define MAX_BANDWIDTH_SWITCH_DELAY_MS 5000 | 162 #define MAX_BANDWIDTH_SWITCH_DELAY_MS 5000 |
163 | 163 |
164 #ifdef __cplusplus | 164 #ifdef __cplusplus |
165 } | 165 } |
166 #endif | 166 #endif |
167 | 167 |
168 #endif /* SILK_TUNING_PARAMETERS_H */ | 168 #endif /* SILK_TUNING_PARAMETERS_H */ |
OLD | NEW |