diff options
author | Timothy B. Terriberry <tterribe@xiph.org> | 2014-10-04 08:49:57 +0400 |
---|---|---|
committer | Timothy B. Terriberry <tterribe@xiph.org> | 2014-10-04 08:49:57 +0400 |
commit | 554b349cdb50c15a227407d2845787e4c940651b (patch) | |
tree | 93280addec7da80814403c7a0352c19032bd1270 /silk/float/pitch_analysis_core_FLP.c | |
parent | 020a0a48d5fdbfae76b2db26ad5d65c39efad6ad (diff) |
There are no tabs in source code.
There is also no trailing whitespace.
Diffstat (limited to 'silk/float/pitch_analysis_core_FLP.c')
-rw-r--r-- | silk/float/pitch_analysis_core_FLP.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/silk/float/pitch_analysis_core_FLP.c b/silk/float/pitch_analysis_core_FLP.c index e58f041b..d0e637a2 100644 --- a/silk/float/pitch_analysis_core_FLP.c +++ b/silk/float/pitch_analysis_core_FLP.c @@ -182,8 +182,8 @@ opus_int silk_pitch_analysis_core_FLP( /* O Voicing estimate: 0 voiced, /* Calculate first vector products before loop */ cross_corr = xcorr[ max_lag_4kHz - min_lag_4kHz ]; - normalizer = silk_energy_FLP( target_ptr, sf_length_8kHz ) + - silk_energy_FLP( basis_ptr, sf_length_8kHz ) + + normalizer = silk_energy_FLP( target_ptr, sf_length_8kHz ) + + silk_energy_FLP( basis_ptr, sf_length_8kHz ) + sf_length_8kHz * 4000.0f; C[ 0 ][ min_lag_4kHz ] += (silk_float)( 2 * cross_corr / normalizer ); |