Searched refs:uint16_div_64k_to_half (Results 1 – 1 of 1) sorted by relevance
123 static uint16_t uint16_div_64k_to_half(uint16_t v) in uint16_div_64k_to_half() 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)))