Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Side by Side Diff: silk/float/prefilter_FLP.c

Issue 12388030: Update Opus to 1.0.2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « silk/float/pitch_analysis_core_FLP.c ('k') | silk/float/residual_energy_FLP.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « silk/float/pitch_analysis_core_FLP.c ('k') | silk/float/residual_energy_FLP.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698