Lines Matching full:odd

1100 /* 'odd' is true for pixels 1, 3, 5, etc. and false for pixels 0, 2, 4, etc. */
1102 u8 buf[TPG_MAX_PLANES][8], int color, bool odd) in gen_twopix() argument
1104 unsigned offset = odd * tpg->twopixelsize[0] / 2; in gen_twopix()
1151 if (odd) { in gen_twopix()
1165 if (odd) { in gen_twopix()
1181 if (odd) { in gen_twopix()
1194 if (odd) { in gen_twopix()
1229 if (odd) { in gen_twopix()
1239 if (odd) { in gen_twopix()
1249 if (odd) { in gen_twopix()
1259 if (odd) { in gen_twopix()
1415 buf[0][offset] = odd ? g_u_s : b_v; in gen_twopix()
1416 buf[1][offset] = odd ? r_y_h : g_u_s; in gen_twopix()
1419 buf[0][offset] = odd ? b_v : g_u_s; in gen_twopix()
1420 buf[1][offset] = odd ? g_u_s : r_y_h; in gen_twopix()
1423 buf[0][offset] = odd ? r_y_h : g_u_s; in gen_twopix()
1424 buf[1][offset] = odd ? g_u_s : b_v; in gen_twopix()
1427 buf[0][offset] = odd ? g_u_s : r_y_h; in gen_twopix()
1428 buf[1][offset] = odd ? b_v : g_u_s; in gen_twopix()
1431 buf[0][offset] = odd ? g_u_s << 2 : b_v << 2; in gen_twopix()
1432 buf[0][offset + 1] = odd ? g_u_s >> 6 : b_v >> 6; in gen_twopix()
1433 buf[1][offset] = odd ? r_y_h << 2 : g_u_s << 2; in gen_twopix()
1434 buf[1][offset + 1] = odd ? r_y_h >> 6 : g_u_s >> 6; in gen_twopix()
1439 buf[0][offset] = odd ? b_v << 2 : g_u_s << 2; in gen_twopix()
1440 buf[0][offset + 1] = odd ? b_v >> 6 : g_u_s >> 6; in gen_twopix()
1441 buf[1][offset] = odd ? g_u_s << 2 : r_y_h << 2; in gen_twopix()
1442 buf[1][offset + 1] = odd ? g_u_s >> 6 : r_y_h >> 6; in gen_twopix()
1447 buf[0][offset] = odd ? r_y_h << 2 : g_u_s << 2; in gen_twopix()
1448 buf[0][offset + 1] = odd ? r_y_h >> 6 : g_u_s >> 6; in gen_twopix()
1449 buf[1][offset] = odd ? g_u_s << 2 : b_v << 2; in gen_twopix()
1450 buf[1][offset + 1] = odd ? g_u_s >> 6 : b_v >> 6; in gen_twopix()
1455 buf[0][offset] = odd ? g_u_s << 2 : r_y_h << 2; in gen_twopix()
1456 buf[0][offset + 1] = odd ? g_u_s >> 6 : r_y_h >> 6; in gen_twopix()
1457 buf[1][offset] = odd ? b_v << 2 : g_u_s << 2; in gen_twopix()
1458 buf[1][offset + 1] = odd ? b_v >> 6 : g_u_s >> 6; in gen_twopix()
1463 buf[0][offset] = odd ? g_u_s << 4 : b_v << 4; in gen_twopix()
1464 buf[0][offset + 1] = odd ? g_u_s >> 4 : b_v >> 4; in gen_twopix()
1465 buf[1][offset] = odd ? r_y_h << 4 : g_u_s << 4; in gen_twopix()
1466 buf[1][offset + 1] = odd ? r_y_h >> 4 : g_u_s >> 4; in gen_twopix()
1471 buf[0][offset] = odd ? b_v << 4 : g_u_s << 4; in gen_twopix()
1472 buf[0][offset + 1] = odd ? b_v >> 4 : g_u_s >> 4; in gen_twopix()
1473 buf[1][offset] = odd ? g_u_s << 4 : r_y_h << 4; in gen_twopix()
1474 buf[1][offset + 1] = odd ? g_u_s >> 4 : r_y_h >> 4; in gen_twopix()
1479 buf[0][offset] = odd ? r_y_h << 4 : g_u_s << 4; in gen_twopix()
1480 buf[0][offset + 1] = odd ? r_y_h >> 4 : g_u_s >> 4; in gen_twopix()
1481 buf[1][offset] = odd ? g_u_s << 4 : b_v << 4; in gen_twopix()
1482 buf[1][offset + 1] = odd ? g_u_s >> 4 : b_v >> 4; in gen_twopix()
1487 buf[0][offset] = odd ? g_u_s << 4 : r_y_h << 4; in gen_twopix()
1488 buf[0][offset + 1] = odd ? g_u_s >> 4 : r_y_h >> 4; in gen_twopix()
1489 buf[1][offset] = odd ? b_v << 4 : g_u_s << 4; in gen_twopix()
1490 buf[1][offset + 1] = odd ? b_v >> 4 : g_u_s >> 4; in gen_twopix()
1495 buf[0][offset] = buf[0][offset + 1] = odd ? g_u_s : b_v; in gen_twopix()
1496 buf[1][offset] = buf[1][offset + 1] = odd ? r_y_h : g_u_s; in gen_twopix()
1499 buf[0][offset] = buf[0][offset + 1] = odd ? b_v : g_u_s; in gen_twopix()
1500 buf[1][offset] = buf[1][offset + 1] = odd ? g_u_s : r_y_h; in gen_twopix()
1503 buf[0][offset] = buf[0][offset + 1] = odd ? r_y_h : g_u_s; in gen_twopix()
1504 buf[1][offset] = buf[1][offset + 1] = odd ? g_u_s : b_v; in gen_twopix()
1507 buf[0][offset] = buf[0][offset + 1] = odd ? g_u_s : r_y_h; in gen_twopix()
1508 buf[1][offset] = buf[1][offset + 1] = odd ? b_v : g_u_s; in gen_twopix()
2647 * odd and even lines. Doing that for SEQ_BT/TB would in tpg_fill_plane_buffer()