Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1625 unsigned pat_line, unsigned x) in tpg_get_color() argument
1653 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1655 return bars[1][pat_line]; in tpg_get_color()
1667 return (((x >> 4) & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1670 return ((x & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1673 return ((x & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1676 return (((x >> 1) & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1679 return (((x >> 1) & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1682 return pat_line ? TPG_COLOR_100_WHITE : TPG_COLOR_100_BLACK; in tpg_get_color()
1686 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2) in tpg_get_color()
[all …]