r_y_h 1102 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c u8 r_y_h, g_u_s, b_v; r_y_h 1110 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c r_y_h = tpg->colors[color][0]; /* R or precalculated Y, H */ r_y_h 1116 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1119 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (r_y_h << 2) & 0xff; r_y_h 1120 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset+1] = r_y_h >> 6; r_y_h 1123 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (r_y_h << 4) & 0xff; r_y_h 1124 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset+1] = r_y_h >> 4; r_y_h 1134 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h == 0xff ? r_y_h : 0; r_y_h 1135 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset+1] = r_y_h; r_y_h 1139 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1140 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset+1] = r_y_h == 0xff ? r_y_h : 0; r_y_h 1146 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1160 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1176 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1189 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1200 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1206 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1212 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1218 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1224 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1234 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = r_y_h; r_y_h 1244 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1254 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = r_y_h; r_y_h 1264 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (r_y_h << 5) | (g_u_s << 2) | b_v; r_y_h 1269 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (r_y_h << 3) | (g_u_s >> 3); r_y_h 1272 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (r_y_h << 3) | (g_u_s >> 3); r_y_h 1282 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (alpha & 0xf0) | r_y_h; r_y_h 1289 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (r_y_h << 4) | g_u_s; r_y_h 1295 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (g_u_s << 4) | r_y_h; r_y_h 1302 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (r_y_h << 4) | (alpha >> 4); r_y_h 1312 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (alpha & 0x80) | (r_y_h << 2) r_y_h 1321 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (r_y_h << 3) | (g_u_s >> 2); r_y_h 1327 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (g_u_s << 5) | r_y_h; r_y_h 1335 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (g_u_s << 6) | (r_y_h << 1) | r_y_h 1344 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = (alpha & 0x80) | (r_y_h << 2) | (g_u_s >> 3); r_y_h 1349 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1356 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 2] = r_y_h; r_y_h 1360 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = (g_u_s << 4) | (r_y_h >> 2); r_y_h 1361 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 2] = r_y_h << 6; r_y_h 1374 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = r_y_h; r_y_h 1382 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = r_y_h; r_y_h 1396 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 2] = r_y_h; r_y_h 1406 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 3] = r_y_h; r_y_h 1410 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? r_y_h : g_u_s; r_y_h 1414 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? g_u_s : r_y_h; r_y_h 1417 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? r_y_h : g_u_s; r_y_h 1421 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? g_u_s : r_y_h; r_y_h 1427 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? r_y_h << 2 : g_u_s << 2; r_y_h 1428 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset + 1] = odd ? r_y_h >> 6 : g_u_s >> 6; r_y_h 1435 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? g_u_s << 2 : r_y_h << 2; r_y_h 1436 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset + 1] = odd ? g_u_s >> 6 : r_y_h >> 6; r_y_h 1441 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? r_y_h << 2 : g_u_s << 2; r_y_h 1442 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = odd ? r_y_h >> 6 : g_u_s >> 6; r_y_h 1449 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? g_u_s << 2 : r_y_h << 2; r_y_h 1450 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = odd ? g_u_s >> 6 : r_y_h >> 6; r_y_h 1459 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? r_y_h << 4 : g_u_s << 4; r_y_h 1460 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset + 1] = odd ? r_y_h >> 4 : g_u_s >> 4; r_y_h 1467 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = odd ? g_u_s << 4 : r_y_h << 4; r_y_h 1468 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset + 1] = odd ? g_u_s >> 4 : r_y_h >> 4; r_y_h 1473 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? r_y_h << 4 : g_u_s << 4; r_y_h 1474 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = odd ? r_y_h >> 4 : g_u_s >> 4; r_y_h 1481 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = odd ? g_u_s << 4 : r_y_h << 4; r_y_h 1482 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset + 1] = odd ? g_u_s >> 4 : r_y_h >> 4; r_y_h 1490 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = buf[1][offset + 1] = odd ? r_y_h : g_u_s; r_y_h 1494 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[1][offset] = buf[1][offset + 1] = odd ? g_u_s : r_y_h; r_y_h 1497 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = buf[0][offset + 1] = odd ? r_y_h : g_u_s; r_y_h 1501 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c buf[0][offset] = buf[0][offset + 1] = odd ? g_u_s : r_y_h;