Searched refs:base_alpha (Results 1 – 1 of 1) sorted by relevance
30 uint32_t base_alpha = 255 - src[x * DesktopFrame::kBytesPerPixel + 3]; in AlphaBlend() local31 if (base_alpha == 255) { in AlphaBlend()33 } else if (base_alpha == 0) { in AlphaBlend()39 dest[x * DesktopFrame::kBytesPerPixel] * base_alpha / 255 + in AlphaBlend()42 dest[x * DesktopFrame::kBytesPerPixel + 1] * base_alpha / 255 + in AlphaBlend()45 dest[x * DesktopFrame::kBytesPerPixel + 2] * base_alpha / 255 + in AlphaBlend()