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