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

Side by Side Diff: silk/float/SigProc_FLP.h

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/LTP_analysis_filter_FLP.c ('k') | silk/float/burg_modified_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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 opus_int *idx, /* O Index vector for the sorted elements */ 102 opus_int *idx, /* O Index vector for the sorted elements */
103 const opus_int L, /* I Vector length */ 103 const opus_int L, /* I Vector length */
104 const opus_int K /* I Number of correctly sorted p ositions */ 104 const opus_int K /* I Number of correctly sorted p ositions */
105 ); 105 );
106 106
107 /* Compute reflection coefficients from input signal */ 107 /* Compute reflection coefficients from input signal */
108 silk_float silk_burg_modified_FLP( /* O returns residual energy */ 108 silk_float silk_burg_modified_FLP( /* O returns residual energy */
109 silk_float A[], /* O prediction coefficients (len gth order) */ 109 silk_float A[], /* O prediction coefficients (len gth order) */
110 const silk_float x[], /* I input signal, length: nb_sub fr*(D+L_sub) */ 110 const silk_float x[], /* I input signal, length: nb_sub fr*(D+L_sub) */
111 const silk_float minInvGain, /* I minimum inverse prediction g ain */ 111 const silk_float minInvGain, /* I minimum inverse prediction g ain */
112 const opus_int subfr_length, /* I input signal subframe length (incl. D preceeding samples) */ 112 const opus_int subfr_length, /* I input signal subframe length (incl. D preceding samples) */
113 const opus_int nb_subfr, /* I number of subframes stacked in x */ 113 const opus_int nb_subfr, /* I number of subframes stacked in x */
114 const opus_int D /* I order */ 114 const opus_int D /* I order */
115 ); 115 );
116 116
117 /* multiply a vector by a constant */ 117 /* multiply a vector by a constant */
118 void silk_scale_vector_FLP( 118 void silk_scale_vector_FLP(
119 silk_float *data1, 119 silk_float *data1,
120 silk_float gain, 120 silk_float gain,
121 opus_int dataSize 121 opus_int dataSize
122 ); 122 );
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 static inline silk_float silk_log2( double x ) 194 static inline silk_float silk_log2( double x )
195 { 195 {
196 return ( silk_float )( 3.32192809488736 * log10( x ) ); 196 return ( silk_float )( 3.32192809488736 * log10( x ) );
197 } 197 }
198 198
199 #ifdef __cplusplus 199 #ifdef __cplusplus
200 } 200 }
201 #endif 201 #endif
202 202
203 #endif /* SILK_SIGPROC_FLP_H */ 203 #endif /* SILK_SIGPROC_FLP_H */
OLDNEW
« no previous file with comments | « silk/float/LTP_analysis_filter_FLP.c ('k') | silk/float/burg_modified_FLP.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698