Lines Matching refs:SkUnPreMultiply
813 #include "SkUnPreMultiply.h"
861 const SkUnPreMultiply::Scale* SK_RESTRICT table =
862 SkUnPreMultiply::GetScaleTable();
872 SkUnPreMultiply::Scale scale = table[a];
873 r = SkUnPreMultiply::ApplyScale(scale, r);
874 g = SkUnPreMultiply::ApplyScale(scale, g);
875 b = SkUnPreMultiply::ApplyScale(scale, b);
887 const SkUnPreMultiply::Scale* SK_RESTRICT table =
888 SkUnPreMultiply::GetScaleTable();
898 SkUnPreMultiply::Scale scale = table[a];
899 r = SkUnPreMultiply::ApplyScale(scale, r);
900 g = SkUnPreMultiply::ApplyScale(scale, g);
901 b = SkUnPreMultiply::ApplyScale(scale, b);
992 const SkUnPreMultiply::Scale* SK_RESTRICT table =
993 SkUnPreMultiply::GetScaleTable();
998 const SkUnPreMultiply::Scale s = table[a];
1000 palette[i].red = SkUnPreMultiply::ApplyScale(s, SkGetPackedR32(c));
1001 palette[i].green = SkUnPreMultiply::ApplyScale(s,SkGetPackedG32(c));
1002 palette[i].blue = SkUnPreMultiply::ApplyScale(s, SkGetPackedB32(c));