Home
last modified time | relevance | path

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

/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1593 unsigned pat_line, unsigned x) in tpg_get_color() argument
1621 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color()
1623 return bars[1][pat_line]; in tpg_get_color()
1635 return (((x >> 4) & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1638 return ((x & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1641 return ((x & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1644 return (((x >> 1) & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1647 return (((x >> 1) & 1) ^ (pat_line & 1)) ? in tpg_get_color()
1650 return pat_line ? TPG_COLOR_100_WHITE : TPG_COLOR_100_BLACK; in tpg_get_color()
1654 if (pat_line || (x % tpg->src_width) == tpg->src_width / 2) in tpg_get_color()
[all …]