Home
last modified time | relevance | path

Searched refs:TPG_COLOR_RAMP (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/media/tpg/
Dv4l2-tpg.h52 TPG_COLOR_RAMP, enumerator
53 TPG_COLOR_MAX = TPG_COLOR_RAMP + 256
/linux-6.6.21/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c876 } 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()