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

/xsrc/external/mit/libdrm/dist/tests/util/
H A Dpattern.c151 static uint16_t uint16_div_64k_to_half(uint16_t v) function in typeref:typename:uint16_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 9 milliseconds