Searched refs:shiftcolor16 (Results 1 - 1 of 1) sorted by relevance

/xsrc/external/mit/libdrm/dist/tests/util/
H A Dpattern.c119 static inline uint64_t shiftcolor16(const struct util_color_component *comp, function in typeref:typename:uint64_t
176 (shiftcolor16(&(rgb)->red, uint16_div_64k_to_half((r) << 8)) | \
177 shiftcolor16(&(rgb)->green, uint16_div_64k_to_half((g) << 8)) | \
178 shiftcolor16(&(rgb)->blue, uint16_div_64k_to_half((b) << 8)) | \
179 shiftcolor16(&(rgb)->alpha, uint16_div_64k_to_half((a) << 8)))
182 (shiftcolor16(&(rgb)->red, uint16_div_64k_to_half((r) << 6)) | \
183 shiftcolor16(&(rgb)->green, uint16_div_64k_to_half((g) << 6)) | \
184 shiftcolor16(&(rgb)->blue, uint16_div_64k_to_half((b) << 6)) | \
185 shiftcolor16(&(rgb)->alpha, uint16_div_64k_to_half((a) << 6)))

Completed in 4 milliseconds