Home
last modified time | relevance | path

Searched refs:scaleG (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/effects/
DSkColorFilters.cpp242 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan() local
255 … unsigned g = pin(SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA), a); in filterSpan()
326 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan() local
334 unsigned g = SkAlphaMul(SkGetPackedG32(c), scaleG); in filterSpan()
397 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan() local
410 unsigned g = SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA); in filterSpan()
/external/skia/legacy/src/effects/
DSkColorFilters.cpp305 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan() local
318 … unsigned g = pin(SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA), a); in filterSpan()
399 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan() local
407 unsigned g = SkAlphaMul(SkGetPackedG32(c), scaleG); in filterSpan()
478 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan() local
491 unsigned g = SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA); in filterSpan()
/external/skia/legacy/src/ports/
DSkFontHost_mac_coretext.cpp1136 int scaleR, int scaleG, int scaleB) { in lerpPixel() argument
1145 int rg = lerpScale(dg, sg, scaleG); in lerpPixel()
1154 int scaleG = (1 << 23) * SkColorGetG(lumBits) / 0xFF; in lerpPixels() local
1159 int scaleG = scale; in lerpPixels()
1167 dst[x] = lerpPixel(dst[x], ~src[x], scaleR, scaleG, scaleB); in lerpPixels()