Lines Matching refs:Sg
278 float Sg = sg; 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()
283 return color_alpha(s * inv_alpha(d) + d * inv_alpha(s) + set_argb(0, Sr, Sg, Sb), in hue_4f()
320 float Sg = sg; in color_4f() local
322 SetLum(&Sr, &Sg, &Sb, sa * da, Lum(dr, dg, db) * sa); in color_4f()
324 Sk4f res = color_alpha(s * inv_alpha(d) + d * inv_alpha(s) + set_argb(0, Sr, Sg, Sb), in color_4f()
796 int Sr, Sg, Sb; in hue_modeproc() local
800 Sg = sg * sa; in hue_modeproc()
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()
806 Sg = 0; in hue_modeproc()
812 int g = blendfunc_nonsep_byte(sg, dg, sa, da, Sg); in hue_modeproc()
864 int Sr, Sg, Sb; in color_modeproc() local
868 Sg = sg * da; in color_modeproc()
870 SetLum(&Sr, &Sg, &Sb, sa * da, Lum(dr, dg, db) * sa); in color_modeproc()
873 Sg = 0; in color_modeproc()
879 int g = blendfunc_nonsep_byte(sg, dg, sa, da, Sg); in color_modeproc()