Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c1138 u8 r_y_h, g_u_s, b_v; in gen_twopix() local
1146 r_y_h = tpg->colors[color][0]; /* R or precalculated Y, H */ in gen_twopix()
1152 buf[0][offset] = r_y_h; in gen_twopix()
1155 buf[0][offset] = (r_y_h << 2) & 0xff; in gen_twopix()
1156 buf[0][offset+1] = r_y_h >> 6; in gen_twopix()
1159 buf[0][offset] = (r_y_h << 4) & 0xff; in gen_twopix()
1160 buf[0][offset+1] = r_y_h >> 4; in gen_twopix()
1170 buf[0][offset] = r_y_h == 0xff ? r_y_h : 0; in gen_twopix()
1171 buf[0][offset+1] = r_y_h; in gen_twopix()
1175 buf[0][offset] = r_y_h; in gen_twopix()
[all …]