Searched refs:HASH_RGB (Results 1 – 3 of 3) sorted by relevance
52 #define HASH_RGB(color, l) ((RGBCOLOR(color) + (l)) & (RGB_HASH_SIZE - 1)) macro63 struct rgb_cache_entry *rgb_cache = &cache[HASH_RGB(color, level)]; in get_color()97 #undef HASH_RGB
85 #define HASH_RGB(r, l) ((((r)->r << 3) + ((r)->g << 2) + (r)->b + (l)) & (RGB_HASH_SIZE - 1)) macro95 h = HASH_RGB(r, l); in find_nearest_color()
221 #define HASH_RGB(r, l) ((((r)->r << 3) + ((r)->g << 2) + (r)->b + (l)) & (RGB_HASH_SIZE - 1)) macro233 h = HASH_RGB(r, l); in find_nearest_color()