Searched refs:FindClosestDiscretized (Results 1 – 1 of 1) sorted by relevance
31 static uint32_t FindClosestDiscretized(uint32_t a, int bits) { in FindClosestDiscretized() function42 (FindClosestDiscretized(a >> 24, bits) << 24) | in ClosestDiscretizedArgb()43 (FindClosestDiscretized((a >> 16) & 0xff, bits) << 16) | in ClosestDiscretizedArgb()44 (FindClosestDiscretized((a >> 8) & 0xff, bits) << 8) | in ClosestDiscretizedArgb()45 (FindClosestDiscretized(a & 0xff, bits)); in ClosestDiscretizedArgb()