Searched refs:pix (Results 1 – 1 of 1) sorted by relevance
81 static inline uint32_t pixel_blend_argb(uint8_t alpha, uint32_t pix) { in pixel_blend_argb() argument83 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() argument100 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 …]