Home
last modified time | relevance | path

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

/haiku/src/add-ons/translators/wonderbrush/
H A DLayer.cpp81 uint8* srcHandle = src; in Compose() local
84 if (srcHandle[3] > 0) { in Compose()
85 uint8 c1 = dstHandle[0] * srcHandle[0] >> 8; in Compose()
89 * (255 - srcHandle[0]) in Compose()
94 + srcHandle[0] * (255 - dstHandle[3]) in Compose()
97 uint8 c2 = dstHandle[1] * srcHandle[1] >> 8; in Compose()
101 * (255 - srcHandle[1]) in Compose()
106 + srcHandle[1] * (255 - dstHandle[3]) in Compose()
109 uint8 c3 = dstHandle[2] * srcHandle[2] >> 8; in Compose()
113 * (255 - srcHandle[2]) in Compose()
[all …]
/haiku/src/servers/app/drawing/
H A DHWInterface.cpp694 uint8* srcHandle = src; in _CopyToFront() local
697 dstHandle[0] = srcHandle[0]; in _CopyToFront()
698 dstHandle[1] = srcHandle[1]; in _CopyToFront()
699 dstHandle[2] = srcHandle[2]; in _CopyToFront()
701 srcHandle += 4; in _CopyToFront()
717 uint8* srcHandle = src; in _CopyToFront() local
720 *dstHandle = (uint16)(((srcHandle[2] & 0xf8) << 8) in _CopyToFront()
721 | ((srcHandle[1] & 0xfc) << 3) | (srcHandle[0] >> 3)); in _CopyToFront()
723 srcHandle += 4; in _CopyToFront()
740 uint8* srcHandle = src; in _CopyToFront() local
[all …]
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Dvga.cpp65 uint8* srcHandle = src; in vga_planar_blit() local
73 if (user_memcpy(rgba, srcHandle, 4) < B_OK) in vga_planar_blit()
77 srcHandle += 4; in vga_planar_blit()
/haiku/src/servers/app/drawing/Painter/bitmap_painter/
H A DDrawBitmapNoScale.h70 const uint8* srcHandle = src in Draw() local
76 srcHandle, fRect.right - fRect.left + 1); in Draw()
79 srcHandle += srcBPR; in Draw()
/haiku/src/tests/apps/miniterminal/
H A DViewBuffer.cpp289 uint16* srcHandle = src; in Blit() local
292 *dstHandle = *srcHandle; in Blit()
293 srcHandle += xIncrement; in Blit()