Home
last modified time | relevance | path

Searched refs:cross_corr (Results 1 – 3 of 3) sorted by relevance

/external/libopus/silk/float/
Dpitch_analysis_core_FLP.c93 double cross_corr, normalizer, energy, energy_tmp; in silk_pitch_analysis_core_FLP() local
184 cross_corr = xcorr[ max_lag_4kHz - min_lag_4kHz ]; in silk_pitch_analysis_core_FLP()
189 C[ 0 ][ min_lag_4kHz ] += (silk_float)( 2 * cross_corr / normalizer ); in silk_pitch_analysis_core_FLP()
199 cross_corr = xcorr[ max_lag_4kHz - d ]; in silk_pitch_analysis_core_FLP()
205 C[ 0 ][ d ] += (silk_float)( 2 * cross_corr / normalizer ); in silk_pitch_analysis_core_FLP()
294 cross_corr = silk_inner_product_FLP( basis_ptr, target_ptr, sf_length_8kHz ); in silk_pitch_analysis_core_FLP()
295 if( cross_corr > 0.0f ) { in silk_pitch_analysis_core_FLP()
297 C[ k ][ d ] = (silk_float)( 2 * cross_corr / ( energy + energy_tmp ) ); in silk_pitch_analysis_core_FLP()
436 cross_corr = 0.0; in silk_pitch_analysis_core_FLP()
439 cross_corr += cross_corr_st3[ k ][ j ][ lag_counter ]; in silk_pitch_analysis_core_FLP()
[all …]
/external/libopus/silk/fixed/
Dpitch_analysis_core_FIX.c104 opus_int32 cross_corr, normalizer, energy, shift, energy_basis, energy_target; in silk_pitch_analysis_core() local
197 cross_corr = xcorr32[ MAX_LAG_4KHZ - MIN_LAG_4KHZ ]; in silk_pitch_analysis_core()
203 … (opus_int16)silk_DIV32_varQ( cross_corr, normalizer, 13 + 1 ); /* Q13 */ in silk_pitch_analysis_core()
213 cross_corr = xcorr32[ MAX_LAG_4KHZ - d ]; in silk_pitch_analysis_core()
221 … (opus_int16)silk_DIV32_varQ( cross_corr, normalizer, 13 + 1 ); /* Q13 */ in silk_pitch_analysis_core()
346 cross_corr = silk_inner_prod_aligned( target_ptr, basis_ptr, SF_LENGTH_8KHZ ); in silk_pitch_analysis_core()
347 if( cross_corr > 0 ) { in silk_pitch_analysis_core()
350 (opus_int16)silk_DIV32_varQ( cross_corr, in silk_pitch_analysis_core()
532 cross_corr = 0; in silk_pitch_analysis_core()
535 cross_corr = silk_ADD32( cross_corr, in silk_pitch_analysis_core()
[all …]
/external/webrtc/src/common_audio/signal_processing/include/
Dsignal_processing_library.h329 void WebRtcSpl_CrossCorrelation(WebRtc_Word32* cross_corr,