From bfe52ceb749636cfe8d71242b8138af38dabcee8 Mon Sep 17 00:00:00 2001 From: "Timothy B. Terriberry" <tterribe@xiph.org> Date: Wed, 3 Apr 2013 19:38:35 -0700 Subject: [PATCH] Fix some warnings. You can't use /* within a comment. --- silk/fixed/pitch_analysis_core_FIX.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/silk/fixed/pitch_analysis_core_FIX.c b/silk/fixed/pitch_analysis_core_FIX.c index 5ef3fff32..bb01d4bd4 100644 --- a/silk/fixed/pitch_analysis_core_FIX.c +++ b/silk/fixed/pitch_analysis_core_FIX.c @@ -536,18 +536,18 @@ opus_int silk_pitch_analysis_core( /* O Voicing estimate: 0 } /*********************************************************************** -/* Calculates the correlations used in stage 3 search. In order to cover -/* the whole lag codebook for all the searched offset lags (lag +- 2), -/* the following correlations are needed in each sub frame: -/* -/* sf1: lag range [-8,...,7] total 16 correlations -/* sf2: lag range [-4,...,4] total 9 correlations -/* sf3: lag range [-3,....4] total 8 correltions -/* sf4: lag range [-6,....8] total 15 correlations -/* -/* In total 48 correlations. The direct implementation computed in worst -/* case 4*12*5 = 240 correlations, but more likely around 120. -/***********************************************************************/ + * Calculates the correlations used in stage 3 search. In order to cover + * the whole lag codebook for all the searched offset lags (lag +- 2), + * the following correlations are needed in each sub frame: + * + * sf1: lag range [-8,...,7] total 16 correlations + * sf2: lag range [-4,...,4] total 9 correlations + * sf3: lag range [-3,....4] total 8 correltions + * sf4: lag range [-6,....8] total 15 correlations + * + * In total 48 correlations. The direct implementation computed in worst + * case 4*12*5 = 240 correlations, but more likely around 120. + ***********************************************************************/ static void silk_P_Ana_calc_corr_st3( opus_int32 cross_corr_st3[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE3_MAX ][ PE_NB_STAGE3_LAGS ],/* O 3 DIM correlation array */ const opus_int16 frame[], /* I vector to correlate */ -- GitLab