Home
last modified time | relevance | path

Searched refs:Cmax (Results 1 – 3 of 3) 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
222 Cmax = C[ 0 ][ min_lag_4kHz ]; in silk_pitch_analysis_core_FLP()
223 if( Cmax < 0.2f ) { in silk_pitch_analysis_core_FLP()
231 threshold = search_thres1 * Cmax; in silk_pitch_analysis_core_FLP()
/external/skia/src/core/
DSkXfermode.cpp216 static inline void setSaturationComponents(float* Cmin, float* Cmid, float* Cmax, float s) { in setSaturationComponents() argument
217 if(*Cmax > *Cmin) { in setSaturationComponents()
218 *Cmid = (*Cmid - *Cmin) * s / (*Cmax - *Cmin); in setSaturationComponents()
219 *Cmax = s; in setSaturationComponents()
221 *Cmax = 0; in setSaturationComponents()
728 static inline void setSaturationComponents(int* Cmin, int* Cmid, int* Cmax, int s) { in setSaturationComponents() argument
729 if(*Cmax > *Cmin) { in setSaturationComponents()
730 *Cmid = SkMulDiv(*Cmid - *Cmin, s, *Cmax - *Cmin); in setSaturationComponents()
731 *Cmax = s; in setSaturationComponents()
733 *Cmax = 0; in setSaturationComponents()
/external/libopus/silk/fixed/
Dpitch_analysis_core_FIX.c106 opus_int d_srch[ PE_D_SRCH_LENGTH ], Cmax, length_d_srch, length_d_comp; in silk_pitch_analysis_core() local
252 Cmax = (opus_int)C[ 0 ]; /* Q14 */ in silk_pitch_analysis_core()
253 if( Cmax < SILK_FIX_CONST( 0.2, 14 ) ) { in silk_pitch_analysis_core()
262 threshold = silk_SMULWB( search_thres1_Q16, Cmax ); in silk_pitch_analysis_core()