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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 #define FIND_LTP_COND_FAC 1e-5f | 57 #define FIND_LTP_COND_FAC 1e-5f |
58 #define LTP_DAMPING 0.05f | 58 #define LTP_DAMPING 0.05f |
59 #define LTP_SMOOTHING 0.1f | 59 #define LTP_SMOOTHING 0.1f |
60 | 60 |
61 /* LTP quantization settings */ | 61 /* LTP quantization settings */ |
62 #define MU_LTP_QUANT_NB 0.03f | 62 #define MU_LTP_QUANT_NB 0.03f |
63 #define MU_LTP_QUANT_MB 0.025f | 63 #define MU_LTP_QUANT_MB 0.025f |
64 #define MU_LTP_QUANT_WB 0.02f | 64 #define MU_LTP_QUANT_WB 0.02f |
65 | 65 |
66 /* Max cumulative LTP gain */ | 66 /* Max cumulative LTP gain */ |
67 #define MAX_SUM_LOG_GAIN_DB» » » » » » »
» 250.0f | 67 #define MAX_SUM_LOG_GAIN_DB 250.0f |
68 | 68 |
69 /***********************/ | 69 /***********************/ |
70 /* High pass filtering */ | 70 /* High pass filtering */ |
71 /***********************/ | 71 /***********************/ |
72 | 72 |
73 /* Smoothing parameters for low end of pitch frequency range estimation */ | 73 /* Smoothing parameters for low end of pitch frequency range estimation */ |
74 #define VARIABLE_HP_SMTH_COEF1 0.1f | 74 #define VARIABLE_HP_SMTH_COEF1 0.1f |
75 #define VARIABLE_HP_SMTH_COEF2 0.015f | 75 #define VARIABLE_HP_SMTH_COEF2 0.015f |
76 #define VARIABLE_HP_MAX_DELTA_FREQ 0.4f | 76 #define VARIABLE_HP_MAX_DELTA_FREQ 0.4f |
77 | 77 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 #define REDUCE_BITRATE_10_MS_BPS 2200 | 162 #define REDUCE_BITRATE_10_MS_BPS 2200 |
163 | 163 |
164 /* Maximum time before allowing a bandwidth transition */ | 164 /* Maximum time before allowing a bandwidth transition */ |
165 #define MAX_BANDWIDTH_SWITCH_DELAY_MS 5000 | 165 #define MAX_BANDWIDTH_SWITCH_DELAY_MS 5000 |
166 | 166 |
167 #ifdef __cplusplus | 167 #ifdef __cplusplus |
168 } | 168 } |
169 #endif | 169 #endif |
170 | 170 |
171 #endif /* SILK_TUNING_PARAMETERS_H */ | 171 #endif /* SILK_TUNING_PARAMETERS_H */ |
OLD | NEW |