Searched refs:TPG_COLOR_RAMP (Results 1 – 2 of 2) sorted by relevance
52 TPG_COLOR_RAMP, enumerator53 TPG_COLOR_MAX = TPG_COLOR_RAMP + 256
876 } else if (k >= TPG_COLOR_RAMP) { in precalculate_color()877 r = g = b = k - TPG_COLOR_RAMP; in precalculate_color()1666 return TPG_COLOR_RAMP + ((x % tpg->src_width) * 256) / tpg->src_width; in tpg_get_color()