Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Ddesktop_and_cursor_composer.cc30 uint32_t base_alpha = 255 - src[x * DesktopFrame::kBytesPerPixel + 3]; in AlphaBlend() local
31 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()