Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkXfermode.cpp209 static inline void setSaturationComponents(float* Cmin, float* Cmid, float* Cmax, float s) { in setSaturationComponents() argument
210 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() argument
722 if(*Cmax > *Cmin) { in setSaturationComponents()
723 *Cmid = SkMulDiv(*Cmid - *Cmin, s, *Cmax - *Cmin); in setSaturationComponents()
730 *Cmin = 0; in setSaturationComponents()