Home | History | Annotate | Download | only in core

Lines Matching full:cmax

440 static inline void setSaturationComponents(int* Cmin, int* Cmid, int* Cmax, int s) {
441 if(*Cmax > *Cmin) {
442 *Cmid = SkMulDiv(*Cmid - *Cmin, s, *Cmax - *Cmin);
443 *Cmax = s;
445 *Cmax = 0;