Lines Matching refs:Dr
298 float Dr = dr; 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()
341 float Dr = dr; 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
833 Dr = dr * sa; in saturation_modeproc()
836 SetSat(&Dr, &Dg, &Db, Sat(sr, sg, sb) * da); in saturation_modeproc()
837 SetLum(&Dr, &Dg, &Db, sa * da, Lum(dr, dg, db) * sa); in saturation_modeproc()
839 Dr = 0; in saturation_modeproc()
845 int r = blendfunc_nonsep_byte(sr, dr, sa, da, Dr); in saturation_modeproc()
897 int Dr, Dg, Db; in luminosity_modeproc() local
900 Dr = dr * sa; in luminosity_modeproc()
903 SetLum(&Dr, &Dg, &Db, sa * da, Lum(sr, sg, sb) * da); in luminosity_modeproc()
905 Dr = 0; in luminosity_modeproc()
911 int r = blendfunc_nonsep_byte(sr, dr, sa, da, Dr); in luminosity_modeproc()