Searched refs:shiftcolor16 (Results 1 – 1 of 1) sorted by relevance
91 static inline uint64_t shiftcolor16(const struct util_color_component *comp, in shiftcolor16() function148 (shiftcolor16(&(rgb)->red, uint16_div_64k_to_half((r) << 8)) | \149 shiftcolor16(&(rgb)->green, uint16_div_64k_to_half((g) << 8)) | \150 shiftcolor16(&(rgb)->blue, uint16_div_64k_to_half((b) << 8)) | \151 shiftcolor16(&(rgb)->alpha, uint16_div_64k_to_half((a) << 8)))154 (shiftcolor16(&(rgb)->red, uint16_div_64k_to_half((r) << 6)) | \155 shiftcolor16(&(rgb)->green, uint16_div_64k_to_half((g) << 6)) | \156 shiftcolor16(&(rgb)->blue, uint16_div_64k_to_half((b) << 6)) | \157 shiftcolor16(&(rgb)->alpha, uint16_div_64k_to_half((a) << 6)))