b_v 1102 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 r_y_h, g_u_s, b_v; b_v 1112 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c b_v = tpg->colors[color][2]; /* B or precalculated V */ b_v 1149 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[2][0] = (buf[2][0] + b_v) / 2; b_v 1155 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[2][0] = b_v; b_v 1162 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][0] = (buf[1][0] + b_v) / 2; b_v 1168 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][0] = b_v; b_v 1179 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][1] = (buf[1][1] + b_v) / 2; b_v 1183 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][1] = b_v; b_v 1191 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][0] = (buf[1][0] + b_v) / 2; b_v 1195 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][0] = b_v; b_v 1202 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[2][offset] = b_v; b_v 1207 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = b_v; b_v 1214 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][(2 * offset + 1) % 8] = b_v; b_v 1219 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][2 * offset] = b_v; b_v 1227 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][3] = (buf[0][3] + b_v) / 2; b_v 1231 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][3] = b_v; b_v 1237 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][2] = (buf[0][2] + b_v) / 2; b_v 1241 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][2] = b_v; b_v 1246 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][1] = (buf[0][1] + b_v) / 2; b_v 1250 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][1] = b_v; b_v 1256 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][0] = (buf[0][0] + b_v) / 2; b_v 1260 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][0] = b_v; b_v 1264 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (r_y_h << 5) | (g_u_s << 2) | b_v; b_v 1268 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (g_u_s << 5) | b_v; b_v 1273 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (g_u_s << 5) | b_v; b_v 1281 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (g_u_s << 4) | b_v; b_v 1288 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (b_v << 4) | (alpha >> 4); b_v 1296 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (alpha & 0xf0) | b_v; b_v 1303 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (b_v << 4) | g_u_s; b_v 1311 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (g_u_s << 5) | b_v; b_v 1319 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (g_u_s << 6) | (b_v << 1) | b_v 1328 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (alpha & 0x80) | (b_v << 2) b_v 1337 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (b_v << 3) | (g_u_s >> 2); b_v 1345 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (g_u_s << 5) | b_v; b_v 1351 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 2] = b_v; b_v 1354 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = b_v; b_v 1359 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (b_v << 2) | (g_u_s >> 4); b_v 1376 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 3] = b_v; b_v 1384 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 2] = b_v; b_v 1394 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = b_v; b_v 1404 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = b_v; b_v 1409 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? g_u_s : b_v; b_v 1413 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? b_v : g_u_s; b_v 1418 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? g_u_s : b_v; b_v 1422 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? b_v : g_u_s; b_v 1425 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? g_u_s << 2 : b_v << 2; b_v 1426 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = odd ? g_u_s >> 6 : b_v >> 6; b_v 1433 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? b_v << 2 : g_u_s << 2; b_v 1434 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = odd ? b_v >> 6 : g_u_s >> 6; b_v 1443 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? g_u_s << 2 : b_v << 2; b_v 1444 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset + 1] = odd ? g_u_s >> 6 : b_v >> 6; b_v 1451 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? b_v << 2 : g_u_s << 2; b_v 1452 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset + 1] = odd ? b_v >> 6 : g_u_s >> 6; b_v 1457 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? g_u_s << 4 : b_v << 4; b_v 1458 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = odd ? g_u_s >> 4 : b_v >> 4; b_v 1465 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? b_v << 4 : g_u_s << 4; b_v 1466 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = odd ? b_v >> 4 : g_u_s >> 4; b_v 1475 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? g_u_s << 4 : b_v << 4; b_v 1476 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset + 1] = odd ? g_u_s >> 4 : b_v >> 4; b_v 1483 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? b_v << 4 : g_u_s << 4; b_v 1484 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset + 1] = odd ? b_v >> 4 : g_u_s >> 4; b_v 1489 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = buf[0][offset + 1] = odd ? g_u_s : b_v; b_v 1493 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = buf[0][offset + 1] = odd ? b_v : g_u_s; b_v 1498 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = buf[1][offset + 1] = odd ? g_u_s : b_v; b_v 1502 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = buf[1][offset + 1] = odd ? b_v : g_u_s;