| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 const opus_int lag[ MAX_NB_SUBFR ], /* I
LTP lags
*/ | 161 const opus_int lag[ MAX_NB_SUBFR ], /* I
LTP lags
*/ |
| 162 const opus_int32 Wght_Q15[ MAX_NB_SUBFR ], /* I
weights
*/ | 162 const opus_int32 Wght_Q15[ MAX_NB_SUBFR ], /* I
weights
*/ |
| 163 const opus_int subfr_length, /* I
subframe length
*/ | 163 const opus_int subfr_length, /* I
subframe length
*/ |
| 164 const opus_int nb_subfr, /* I
number of subframes
*/ | 164 const opus_int nb_subfr, /* I
number of subframes
*/ |
| 165 const opus_int mem_offset, /* I
number of samples in LTP memory
*/ | 165 const opus_int mem_offset, /* I
number of samples in LTP memory
*/ |
| 166 opus_int corr_rshifts[ MAX_NB_SUBFR ] /* O
right shifts applied to correlations
*/ | 166 opus_int corr_rshifts[ MAX_NB_SUBFR ] /* O
right shifts applied to correlations
*/ |
| 167 ); | 167 ); |
| 168 | 168 |
| 169 void silk_LTP_analysis_filter_FIX( | 169 void silk_LTP_analysis_filter_FIX( |
| 170 opus_int16 *LTP_res, /* O
LTP residual signal of length MAX_NB_SUBFR * ( pre_length + subfr_length )
*/ | 170 opus_int16 *LTP_res, /* O
LTP residual signal of length MAX_NB_SUBFR * ( pre_length + subfr_length )
*/ |
| 171 const opus_int16 *x, /* I
Pointer to input signal with at least max( pitchL ) preceeding samples
*/ | 171 const opus_int16 *x, /* I
Pointer to input signal with at least max( pitchL ) preceding samples
*/ |
| 172 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I
LTP_ORDER LTP coefficients for each MAX_NB_SUBFR subframe
*/ | 172 const opus_int16 LTPCoef_Q14[ LTP_ORDER * MAX_NB_SUBFR ],/* I
LTP_ORDER LTP coefficients for each MAX_NB_SUBFR subframe
*/ |
| 173 const opus_int pitchL[ MAX_NB_SUBFR ], /* I
Pitch lag, one for each subframe
*/ | 173 const opus_int pitchL[ MAX_NB_SUBFR ], /* I
Pitch lag, one for each subframe
*/ |
| 174 const opus_int32 invGains_Q16[ MAX_NB_SUBFR ], /* I
Inverse quantization gains, one for each subframe
*/ | 174 const opus_int32 invGains_Q16[ MAX_NB_SUBFR ], /* I
Inverse quantization gains, one for each subframe
*/ |
| 175 const opus_int subfr_length, /* I
Length of each subframe
*/ | 175 const opus_int subfr_length, /* I
Length of each subframe
*/ |
| 176 const opus_int nb_subfr, /* I
Number of subframes
*/ | 176 const opus_int nb_subfr, /* I
Number of subframes
*/ |
| 177 const opus_int pre_length /* I
Length of the preceeding samples starting at &x[0] for each subframe
*/ | 177 const opus_int pre_length /* I
Length of the preceding samples starting at &x[0] for each subframe
*/ |
| 178 ); | 178 ); |
| 179 | 179 |
| 180 /* Calculates residual energies of input subframes where all subframes have LPC_
order */ | 180 /* Calculates residual energies of input subframes where all subframes have LPC_
order */ |
| 181 /* of preceeding samples
*/ | 181 /* of preceding samples
*/ |
| 182 void silk_residual_energy_FIX( | 182 void silk_residual_energy_FIX( |
| 183 opus_int32 nrgs[ MAX_NB_SUBFR ], /* O
Residual energy per subframe
*/ | 183 opus_int32 nrgs[ MAX_NB_SUBFR ], /* O
Residual energy per subframe
*/ |
| 184 opus_int nrgsQ[ MAX_NB_SUBFR ], /* O
Q value per subframe
*/ | 184 opus_int nrgsQ[ MAX_NB_SUBFR ], /* O
Q value per subframe
*/ |
| 185 const opus_int16 x[], /* I
Input signal
*/ | 185 const opus_int16 x[], /* I
Input signal
*/ |
| 186 opus_int16 a_Q12[ 2 ][ MAX_LPC_ORDER ], /* I
AR coefs for each frame half
*/ | 186 opus_int16 a_Q12[ 2 ][ MAX_LPC_ORDER ], /* I
AR coefs for each frame half
*/ |
| 187 const opus_int32 gains[ MAX_NB_SUBFR ], /* I
Quantization gains
*/ | 187 const opus_int32 gains[ MAX_NB_SUBFR ], /* I
Quantization gains
*/ |
| 188 const opus_int subfr_length, /* I
Subframe length
*/ | 188 const opus_int subfr_length, /* I
Subframe length
*/ |
| 189 const opus_int nb_subfr, /* I
Number of subframes
*/ | 189 const opus_int nb_subfr, /* I
Number of subframes
*/ |
| 190 const opus_int LPC_order /* I
LPC order
*/ | 190 const opus_int LPC_order /* I
LPC order
*/ |
| 191 ); | 191 ); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 const opus_int32 *b, /* I
Pointer to b vector
*/ | 245 const opus_int32 *b, /* I
Pointer to b vector
*/ |
| 246 opus_int32 *x_Q16 /* O
Pointer to x solution vector
*/ | 246 opus_int32 *x_Q16 /* O
Pointer to x solution vector
*/ |
| 247 ); | 247 ); |
| 248 | 248 |
| 249 #ifndef FORCE_CPP_BUILD | 249 #ifndef FORCE_CPP_BUILD |
| 250 #ifdef __cplusplus | 250 #ifdef __cplusplus |
| 251 } | 251 } |
| 252 #endif /* __cplusplus */ | 252 #endif /* __cplusplus */ |
| 253 #endif /* FORCE_CPP_BUILD */ | 253 #endif /* FORCE_CPP_BUILD */ |
| 254 #endif /* SILK_MAIN_FIX_H */ | 254 #endif /* SILK_MAIN_FIX_H */ |
| OLD | NEW |