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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 /* LTP tap quantizer */ | 199 /* LTP tap quantizer */ |
200 void silk_quant_LTP_gains_FLP( | 200 void silk_quant_LTP_gains_FLP( |
201 silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O
(Un-)quantized LTP gains */ | 201 silk_float B[ MAX_NB_SUBFR * LTP_ORDER ], /* I/O
(Un-)quantized LTP gains */ |
202 opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O
Codebook index */ | 202 opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O
Codebook index */ |
203 opus_int8 *periodicity_index, /* O
Periodicity index */ | 203 opus_int8 *periodicity_index, /* O
Periodicity index */ |
204 opus_int32 *sum_log_gain_Q7, /* I/O
Cumulative max prediction gain */ | 204 opus_int32 *sum_log_gain_Q7, /* I/O
Cumulative max prediction gain */ |
205 const silk_float W[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /
* I Error weights */ | 205 const silk_float W[ MAX_NB_SUBFR * LTP_ORDER * LTP_ORDER ], /
* I Error weights */ |
206 const opus_int mu_Q10, /* I
Mu value (R/D tradeoff) */ | 206 const opus_int mu_Q10, /* I
Mu value (R/D tradeoff) */ |
207 const opus_int lowComplexity, /* I
Flag for low complexity */ | 207 const opus_int lowComplexity, /* I
Flag for low complexity */ |
208 const opus_int nb_subfr /* I
number of subframes */ | 208 const opus_int nb_subfr, /* I
number of subframes */ |
| 209 int arch /* I
Run-time architecture */ |
209 ); | 210 ); |
210 | 211 |
211 /* Residual energy: nrg = wxx - 2 * wXx * c + c' * wXX * c */ | 212 /* Residual energy: nrg = wxx - 2 * wXx * c + c' * wXX * c */ |
212 silk_float silk_residual_energy_covar_FLP( /* O
Weighted residual energy */ | 213 silk_float silk_residual_energy_covar_FLP( /* O
Weighted residual energy */ |
213 const silk_float *c, /* I
Filter coefficients */ | 214 const silk_float *c, /* I
Filter coefficients */ |
214 silk_float *wXX, /* I/O
Weighted correlation matrix, reg. out */ | 215 silk_float *wXX, /* I/O
Weighted correlation matrix, reg. out */ |
215 const silk_float *wXx, /* I
Weighted correlation vector */ | 216 const silk_float *wXx, /* I
Weighted correlation vector */ |
216 const silk_float wxx, /* I
Weighted correlation value */ | 217 const silk_float wxx, /* I
Weighted correlation value */ |
217 const opus_int D /* I
Dimension */ | 218 const opus_int D /* I
Dimension */ |
218 ); | 219 ); |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 silk_nsq_state *psNSQ, /* I/O
Noise Shaping Quantzation state */ | 304 silk_nsq_state *psNSQ, /* I/O
Noise Shaping Quantzation state */ |
304 opus_int8 pulses[], /* O
Quantized pulse signal */ | 305 opus_int8 pulses[], /* O
Quantized pulse signal */ |
305 const silk_float x[] /* I
Prefiltered input signal */ | 306 const silk_float x[] /* I
Prefiltered input signal */ |
306 ); | 307 ); |
307 | 308 |
308 #ifdef __cplusplus | 309 #ifdef __cplusplus |
309 } | 310 } |
310 #endif | 311 #endif |
311 | 312 |
312 #endif | 313 #endif |
OLD | NEW |