Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlitter_RGB16.cpp329 unsigned scale5 = SkAlpha255To256(aa) >> 3; in blitAntiH() local
330 uint32_t src32 = srcExpanded * scale5; in blitAntiH()
331 scale5 = 32 - scale5; // now we can use it on the device in blitAntiH()
334 uint32_t dst32 = SkExpand_rgb_16(*device) * scale5; in blitAntiH()
369 static U16CPU blend_compact(uint32_t src32, uint32_t dst32, unsigned scale5) { in blend_compact() argument
370 return SkCompact_rgb_16(dst32 + ((src32 - dst32) * scale5 >> 5)); in blend_compact()
487 unsigned scale5 = SkAlpha255To256(alpha) >> 3; in blitV() local
488 uint32_t src32 = fExpandedRaw16 * scale5; in blitV()
489 scale5 = 32 - scale5; in blitV()
491 uint32_t dst32 = SkExpand_rgb_16(*device) * scale5; in blitV()
[all …]