Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1102 u8 r_y_h, g_u_s, b_v; in gen_twopix() local
1110 r_y_h = tpg->colors[color][0]; /* R or precalculated Y, H */ in gen_twopix()
1116 buf[0][offset] = r_y_h; in gen_twopix()
1119 buf[0][offset] = (r_y_h << 2) & 0xff; in gen_twopix()
1120 buf[0][offset+1] = r_y_h >> 6; in gen_twopix()
1123 buf[0][offset] = (r_y_h << 4) & 0xff; in gen_twopix()
1124 buf[0][offset+1] = r_y_h >> 4; in gen_twopix()
1134 buf[0][offset] = r_y_h == 0xff ? r_y_h : 0; in gen_twopix()
1135 buf[0][offset+1] = r_y_h; in gen_twopix()
1139 buf[0][offset] = r_y_h; in gen_twopix()
[all …]