Home | History | Annotate | Download | only in core

Lines Matching full:scale

27     typedef uint32_t Scale;
30 static const Scale* GetScaleTable() {
34 static Scale GetScale(U8CPU alpha) {
41 const Scale* table = SkUnPreMultiply::GetScaleTable();
45 SkUnPreMultiply::Scale scale = table[a];
47 red = SkUnPreMultiply::ApplyScale(scale, red);
52 static U8CPU ApplyScale(Scale scale, U8CPU component) {
54 return (scale * component + (1 << 23)) >> 24;