Home
last modified time | relevance | path

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

/bootable/recovery/minui/
Dgraphics.cpp81 static inline uint32_t pixel_blend_argb(uint8_t alpha, uint32_t pix) { in pixel_blend_argb() argument
83 if (alpha == 0) return pix; in pixel_blend_argb()
84 uint32_t pix_r = pix & 0xff; in pixel_blend_argb()
85 uint32_t pix_g = pix & 0xff00; in pixel_blend_argb()
86 uint32_t pix_b = pix & 0xff0000; in pixel_blend_argb()
98 static inline uint32_t pixel_blend_rgba(uint8_t alpha, uint32_t pix) { in pixel_blend_rgba() argument
100 if (alpha == 0) return pix; in pixel_blend_rgba()
101 uint32_t pix_r = pix & 0xff00; in pixel_blend_rgba()
102 uint32_t pix_g = pix & 0xff0000; in pixel_blend_rgba()
103 uint32_t pix_b = pix & 0xff000000; in pixel_blend_rgba()
[all …]