D | SkXfermode.cpp | 300 float Db = db; in saturation_4f() local 301 SetSat(&Dr, &Dg, &Db, Sat(sr, sg, sb) * da); in saturation_4f() 302 SetLum(&Dr, &Dg, &Db, sa * da, Lum(dr, dg, db) * sa); in saturation_4f() 304 return color_alpha(s * inv_alpha(d) + d * inv_alpha(s) + set_argb(0, Dr, Dg, Db), in saturation_4f() 343 float Db = db; in luminosity_4f() local 344 SetLum(&Dr, &Dg, &Db, sa * da, Lum(sr, sg, sb) * da); in luminosity_4f() 346 Sk4f res = color_alpha(s * inv_alpha(d) + d * inv_alpha(s) + set_argb(0, Dr, Dg, Db), in luminosity_4f() 830 int Dr, Dg, Db; in saturation_modeproc() local 835 Db = db * sa; in saturation_modeproc() 836 SetSat(&Dr, &Dg, &Db, Sat(sr, sg, sb) * da); in saturation_modeproc() [all …]
|