| 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 29 matching lines...) Expand all Loading... |
| 40 silk_float st_res[], /* I */ | 40 silk_float st_res[], /* I */ |
| 41 silk_float xw[], /* O */ | 41 silk_float xw[], /* O */ |
| 42 silk_float *HarmShapeFIR, /* I */ | 42 silk_float *HarmShapeFIR, /* I */ |
| 43 silk_float Tilt, /* I */ | 43 silk_float Tilt, /* I */ |
| 44 silk_float LF_MA_shp, /* I */ | 44 silk_float LF_MA_shp, /* I */ |
| 45 silk_float LF_AR_shp, /* I */ | 45 silk_float LF_AR_shp, /* I */ |
| 46 opus_int lag, /* I */ | 46 opus_int lag, /* I */ |
| 47 opus_int length /* I */ | 47 opus_int length /* I */ |
| 48 ); | 48 ); |
| 49 | 49 |
| 50 void silk_warped_LPC_analysis_filter_FLP( | 50 static void silk_warped_LPC_analysis_filter_FLP( |
| 51 silk_float state[], /* I/O State [order +
1] */ | 51 silk_float state[], /* I/O State [order +
1] */ |
| 52 silk_float res[], /* O Residual signal
[length] */ | 52 silk_float res[], /* O Residual signal
[length] */ |
| 53 const silk_float coef[], /* I Coefficients [o
rder] */ | 53 const silk_float coef[], /* I Coefficients [o
rder] */ |
| 54 const silk_float input[], /* I Input signal [l
ength] */ | 54 const silk_float input[], /* I Input signal [l
ength] */ |
| 55 const silk_float lambda, /* I Warping factor
*/ | 55 const silk_float lambda, /* I Warping factor
*/ |
| 56 const opus_int length, /* I Length of input
signal */ | 56 const opus_int length, /* I Length of input
signal */ |
| 57 const opus_int order /* I Filter order (e
ven) */ | 57 const opus_int order /* I Filter order (e
ven) */ |
| 58 ) | 58 ) |
| 59 { | 59 { |
| 60 opus_int n, i; | 60 opus_int n, i; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 LTP_shp_buf_idx = ( LTP_shp_buf_idx - 1 ) & LTP_MASK; | 197 LTP_shp_buf_idx = ( LTP_shp_buf_idx - 1 ) & LTP_MASK; |
| 198 LTP_shp_buf[ LTP_shp_buf_idx ] = sLF_MA_shp; | 198 LTP_shp_buf[ LTP_shp_buf_idx ] = sLF_MA_shp; |
| 199 | 199 |
| 200 xw[ i ] = sLF_MA_shp - n_LTP; | 200 xw[ i ] = sLF_MA_shp - n_LTP; |
| 201 } | 201 } |
| 202 /* Copy temp variable back to state */ | 202 /* Copy temp variable back to state */ |
| 203 P->sLF_AR_shp = sLF_AR_shp; | 203 P->sLF_AR_shp = sLF_AR_shp; |
| 204 P->sLF_MA_shp = sLF_MA_shp; | 204 P->sLF_MA_shp = sLF_MA_shp; |
| 205 P->sLTP_shp_buf_idx = LTP_shp_buf_idx; | 205 P->sLTP_shp_buf_idx = LTP_shp_buf_idx; |
| 206 } | 206 } |
| OLD | NEW |