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

Side by Side Diff: third_party/opus/src/silk/float/SigProc_FLP.h

Issue 2962373002: [Opus] Update to v1.2.1 (Closed)
Patch Set: Pre-increment instead of post-increment Created 3 years, 5 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 const silk_float auto_corr[], /* I autocorrelation sequence (le ngth order+1) */ 61 const silk_float auto_corr[], /* I autocorrelation sequence (le ngth order+1) */
62 opus_int order /* I order */ 62 opus_int order /* I order */
63 ); 63 );
64 64
65 void silk_k2a_FLP( 65 void silk_k2a_FLP(
66 silk_float *A, /* O prediction coefficients [or der] */ 66 silk_float *A, /* O prediction coefficients [or der] */
67 const silk_float *rc, /* I reflection coefficients [or der] */ 67 const silk_float *rc, /* I reflection coefficients [or der] */
68 opus_int32 order /* I prediction order */ 68 opus_int32 order /* I prediction order */
69 ); 69 );
70 70
71 /* Solve the normal equations using the Levinson-Durbin recursion */
72 silk_float silk_levinsondurbin_FLP( /* O prediction error energy */
73 silk_float A[], /* O prediction coefficients [ord er] */
74 const silk_float corr[], /* I input auto-correlations [ord er + 1] */
75 const opus_int order /* I prediction order */
76 );
77
78 /* compute autocorrelation */ 71 /* compute autocorrelation */
79 void silk_autocorrelation_FLP( 72 void silk_autocorrelation_FLP(
80 silk_float *results, /* O result (length correlationCo unt) */ 73 silk_float *results, /* O result (length correlationCo unt) */
81 const silk_float *inputData, /* I input data to correlate */ 74 const silk_float *inputData, /* I input data to correlate */
82 opus_int inputDataSize, /* I length of input */ 75 opus_int inputDataSize, /* I length of input */
83 opus_int correlationCount /* I number of correlation taps t o compute */ 76 opus_int correlationCount /* I number of correlation taps t o compute */
84 ); 77 );
85 78
86 opus_int silk_pitch_analysis_core_FLP( /* O Voicing estimate: 0 voiced, 1 unvoiced */ 79 opus_int silk_pitch_analysis_core_FLP( /* O Voicing estimate: 0 voiced, 1 unvoiced */
87 const silk_float *frame, /* I Signal of length PE_FRAME_LE NGTH_MS*Fs_kHz */ 80 const silk_float *frame, /* I Signal of length PE_FRAME_LE NGTH_MS*Fs_kHz */
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 static OPUS_INLINE silk_float silk_log2( double x ) 188 static OPUS_INLINE silk_float silk_log2( double x )
196 { 189 {
197 return ( silk_float )( 3.32192809488736 * log10( x ) ); 190 return ( silk_float )( 3.32192809488736 * log10( x ) );
198 } 191 }
199 192
200 #ifdef __cplusplus 193 #ifdef __cplusplus
201 } 194 }
202 #endif 195 #endif
203 196
204 #endif /* SILK_SIGPROC_FLP_H */ 197 #endif /* SILK_SIGPROC_FLP_H */
OLDNEW
« no previous file with comments | « third_party/opus/src/silk/float/LPC_inv_pred_gain_FLP.c ('k') | third_party/opus/src/silk/float/encode_frame_FLP.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698