Home
last modified time | relevance | path

Searched refs:CCmax_new (Results 1 – 2 of 2) sorted by relevance

/external/libopus/silk/float/
Dpitch_analysis_core_FLP.c97 silk_float Cmax, CCmax, CCmax_b, CCmax_new_b, CCmax_new; in silk_pitch_analysis_core_FLP() local
351 CCmax_new = -1000.0f; in silk_pitch_analysis_core_FLP()
354 if( CC[ i ] > CCmax_new ) { in silk_pitch_analysis_core_FLP()
355 CCmax_new = CC[ i ]; in silk_pitch_analysis_core_FLP()
362 CCmax_new_b = CCmax_new - PE_SHORTLAG_BIAS * nb_subfr * lag_log2; in silk_pitch_analysis_core_FLP()
372CCmax_new > nb_subfr * search_thres2 /* Correlation needs to be high enough to be voiced */ in silk_pitch_analysis_core_FLP()
375 CCmax = CCmax_new; in silk_pitch_analysis_core_FLP()
443 CCmax_new = (silk_float)( 2 * cross_corr / energy ); in silk_pitch_analysis_core_FLP()
445 CCmax_new *= 1.0f - contour_bias * j; in silk_pitch_analysis_core_FLP()
447 CCmax_new = 0.0f; in silk_pitch_analysis_core_FLP()
[all …]
/external/libopus/silk/fixed/
Dpitch_analysis_core_FIX.c110 opus_int32 CC[ PE_NB_CBKS_STAGE2_EXT ], CCmax, CCmax_b, CCmax_new_b, CCmax_new; in silk_pitch_analysis_core() local
413 CCmax_new = silk_int32_MIN; in silk_pitch_analysis_core()
416 if( CC[ i ] > CCmax_new ) { in silk_pitch_analysis_core()
417 CCmax_new = CC[ i ]; in silk_pitch_analysis_core()
426 …CCmax_new_b = CCmax_new - silk_RSHIFT( silk_SMULBB( nb_subfr * SILK_FIX_CONST( PE_SHORTLAG_BIAS, 1… in silk_pitch_analysis_core()
440CCmax_new > silk_SMULBB( nb_subfr, search_thres2_Q13 ) && /* Correlation needs to be high enough… in silk_pitch_analysis_core()
444 CCmax = CCmax_new; in silk_pitch_analysis_core()
545 CCmax_new = silk_DIV32_varQ( cross_corr, energy, 13 + 1 ); /* Q13 */ in silk_pitch_analysis_core()
549 CCmax_new = silk_SMULWB( CCmax_new, diff ); /* Q14 */ in silk_pitch_analysis_core()
551 CCmax_new = 0; in silk_pitch_analysis_core()
[all …]