Searched refs:Cmin (Results 1 – 1 of 1) sorted by relevance
209 static inline void setSaturationComponents(float* Cmin, float* Cmid, float* Cmax, float s) { in setSaturationComponents() argument210 if(*Cmax > *Cmin) { in setSaturationComponents()211 *Cmid = (*Cmid - *Cmin) * s / (*Cmax - *Cmin); in setSaturationComponents()217 *Cmin = 0; in setSaturationComponents()721 static inline void setSaturationComponents(int* Cmin, int* Cmid, int* Cmax, int s) { in setSaturationComponents() argument722 if(*Cmax > *Cmin) { in setSaturationComponents()723 *Cmid = SkMulDiv(*Cmid - *Cmin, s, *Cmax - *Cmin); in setSaturationComponents()730 *Cmin = 0; in setSaturationComponents()