Home | History | Annotate | Download | only in desktop_capture

Lines Matching refs:kBytesPerPixel

30       uint32_t base_alpha = 255 - src[x * DesktopFrame::kBytesPerPixel + 3];
34 memcpy(dest + x * DesktopFrame::kBytesPerPixel,
35 src + x * DesktopFrame::kBytesPerPixel,
36 DesktopFrame::kBytesPerPixel);
38 dest[x * DesktopFrame::kBytesPerPixel] =
39 dest[x * DesktopFrame::kBytesPerPixel] * base_alpha / 255 +
40 src[x * DesktopFrame::kBytesPerPixel];
41 dest[x * DesktopFrame::kBytesPerPixel + 1] =
42 dest[x * DesktopFrame::kBytesPerPixel + 1] * base_alpha / 255 +
43 src[x * DesktopFrame::kBytesPerPixel + 1];
44 dest[x * DesktopFrame::kBytesPerPixel + 2] =
45 dest[x * DesktopFrame::kBytesPerPixel + 2] * base_alpha / 255 +
46 src[x * DesktopFrame::kBytesPerPixel + 2];
101 target_rect.left() * DesktopFrame::kBytesPerPixel;
106 origin_shift.x() * DesktopFrame::kBytesPerPixel,