Home | History | Annotate | Download | only in core

Lines Matching refs:Scale

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