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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 const silk_float r_lpc[], /* I
LPC residual */ | 157 const silk_float r_lpc[], /* I
LPC residual */ |
158 const opus_int lag[ MAX_NB_SUBFR ], /* I
LTP lags */ | 158 const opus_int lag[ MAX_NB_SUBFR ], /* I
LTP lags */ |
159 const silk_float Wght[ MAX_NB_SUBFR ], /* I
Weights */ | 159 const silk_float Wght[ MAX_NB_SUBFR ], /* I
Weights */ |
160 const opus_int subfr_length, /* I
Subframe length */ | 160 const opus_int subfr_length, /* I
Subframe length */ |
161 const opus_int nb_subfr, /* I
number of subframes */ | 161 const opus_int nb_subfr, /* I
number of subframes */ |
162 const opus_int mem_offset /* I
Number of samples in LTP memory */ | 162 const opus_int mem_offset /* I
Number of samples in LTP memory */ |
163 ); | 163 ); |
164 | 164 |
165 void silk_LTP_analysis_filter_FLP( | 165 void silk_LTP_analysis_filter_FLP( |
166 silk_float *LTP_res, /* O
LTP res MAX_NB_SUBFR*(pre_lgth+subfr_lngth) */ | 166 silk_float *LTP_res, /* O
LTP res MAX_NB_SUBFR*(pre_lgth+subfr_lngth) */ |
167 const silk_float *x, /* I
Input signal, with preceeding samples */ | 167 const silk_float *x, /* I
Input signal, with preceding samples */ |
168 const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I
LTP coefficients for each subframe */ | 168 const silk_float B[ LTP_ORDER * MAX_NB_SUBFR ], /* I
LTP coefficients for each subframe */ |
169 const opus_int pitchL[ MAX_NB_SUBFR ], /* I
Pitch lags */ | 169 const opus_int pitchL[ MAX_NB_SUBFR ], /* I
Pitch lags */ |
170 const silk_float invGains[ MAX_NB_SUBFR ], /* I
Inverse quantization gains */ | 170 const silk_float invGains[ MAX_NB_SUBFR ], /* I
Inverse quantization gains */ |
171 const opus_int subfr_length, /* I
Length of each subframe */ | 171 const opus_int subfr_length, /* I
Length of each subframe */ |
172 const opus_int nb_subfr, /* I
number of subframes */ | 172 const opus_int nb_subfr, /* I
number of subframes */ |
173 const opus_int pre_length /* I
Preceeding samples for each subframe */ | 173 const opus_int pre_length /* I
Preceding samples for each subframe */ |
174 ); | 174 ); |
175 | 175 |
176 /* Calculates residual energies of input subframes where all subframes have LPC_
order */ | 176 /* Calculates residual energies of input subframes where all subframes have LPC_
order */ |
177 /* of preceeding samples
*/ | 177 /* of preceding samples
*/ |
178 void silk_residual_energy_FLP( | 178 void silk_residual_energy_FLP( |
179 silk_float nrgs[ MAX_NB_SUBFR ], /* O
Residual energy per subframe */ | 179 silk_float nrgs[ MAX_NB_SUBFR ], /* O
Residual energy per subframe */ |
180 const silk_float x[], /* I
Input signal */ | 180 const silk_float x[], /* I
Input signal */ |
181 silk_float a[ 2 ][ MAX_LPC_ORDER ], /* I
AR coefs for each frame half */ | 181 silk_float a[ 2 ][ MAX_LPC_ORDER ], /* I
AR coefs for each frame half */ |
182 const silk_float gains[], /* I
Quantization gains */ | 182 const silk_float gains[], /* I
Quantization gains */ |
183 const opus_int subfr_length, /* I
Subframe length */ | 183 const opus_int subfr_length, /* I
Subframe length */ |
184 const opus_int nb_subfr, /* I
number of subframes */ | 184 const opus_int nb_subfr, /* I
number of subframes */ |
185 const opus_int LPC_order /* I
LPC order */ | 185 const opus_int LPC_order /* I
LPC order */ |
186 ); | 186 ); |
187 | 187 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 silk_nsq_state *psNSQ, /* I/O
Noise Shaping Quantzation state */ | 300 silk_nsq_state *psNSQ, /* I/O
Noise Shaping Quantzation state */ |
301 opus_int8 pulses[], /* O
Quantized pulse signal */ | 301 opus_int8 pulses[], /* O
Quantized pulse signal */ |
302 const silk_float x[] /* I
Prefiltered input signal */ | 302 const silk_float x[] /* I
Prefiltered input signal */ |
303 ); | 303 ); |
304 | 304 |
305 #ifdef __cplusplus | 305 #ifdef __cplusplus |
306 } | 306 } |
307 #endif | 307 #endif |
308 | 308 |
309 #endif | 309 #endif |
OLD | NEW |