Lines Matching full:dr
273 float dr = d[SkPM4f::R]; in hue_4f() local
280 SetSat(&Sr, &Sg, &Sb, Sat(dr, dg, db) * sa); in hue_4f()
281 SetLum(&Sr, &Sg, &Sb, sa * da, Lum(dr, dg, db) * sa); in hue_4f()
294 float dr = d[SkPM4f::R]; in saturation_4f() local
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()
315 float dr = d[SkPM4f::R]; in color_4f() local
322 SetLum(&Sr, &Sg, &Sb, sa * da, Lum(dr, dg, db) * sa); in color_4f()
337 float dr = d[SkPM4f::R]; in luminosity_4f() local
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()
792 int dr = SkGetPackedR32(dst); in hue_modeproc() local
802 SetSat(&Sr, &Sg, &Sb, Sat(dr, dg, db) * sa); in hue_modeproc()
803 SetLum(&Sr, &Sg, &Sb, sa * da, Lum(dr, dg, db) * sa); in hue_modeproc()
811 int r = blendfunc_nonsep_byte(sr, dr, sa, da, Sr); in hue_modeproc()
826 int dr = SkGetPackedR32(dst); in saturation_modeproc() local
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()
860 int dr = SkGetPackedR32(dst); in color_modeproc() local
870 SetLum(&Sr, &Sg, &Sb, sa * da, Lum(dr, dg, db) * sa); in color_modeproc()
878 int r = blendfunc_nonsep_byte(sr, dr, sa, da, Sr); in color_modeproc()
893 int dr = SkGetPackedR32(dst); in luminosity_modeproc() local
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()