Lines Matching full:odd
1132 /* 'odd' is true for pixels 1, 3, 5, etc. and false for pixels 0, 2, 4, etc. */
1134 u8 buf[TPG_MAX_PLANES][8], int color, bool odd) in gen_twopix() argument
1136 unsigned offset = odd * tpg->twopixelsize[0] / 2; in gen_twopix()
1183 if (odd) { in gen_twopix()
1197 if (odd) { in gen_twopix()
1213 if (odd) { in gen_twopix()
1226 if (odd) { in gen_twopix()
1261 if (odd) { in gen_twopix()
1271 if (odd) { in gen_twopix()
1281 if (odd) { in gen_twopix()
1291 if (odd) { in gen_twopix()
1447 buf[0][offset] = odd ? g_u_s : b_v; in gen_twopix()
1448 buf[1][offset] = odd ? r_y_h : g_u_s; in gen_twopix()
1451 buf[0][offset] = odd ? b_v : g_u_s; in gen_twopix()
1452 buf[1][offset] = odd ? g_u_s : r_y_h; in gen_twopix()
1455 buf[0][offset] = odd ? r_y_h : g_u_s; in gen_twopix()
1456 buf[1][offset] = odd ? g_u_s : b_v; in gen_twopix()
1459 buf[0][offset] = odd ? g_u_s : r_y_h; in gen_twopix()
1460 buf[1][offset] = odd ? b_v : g_u_s; in gen_twopix()
1463 buf[0][offset] = odd ? g_u_s << 2 : b_v << 2; in gen_twopix()
1464 buf[0][offset + 1] = odd ? g_u_s >> 6 : b_v >> 6; in gen_twopix()
1465 buf[1][offset] = odd ? r_y_h << 2 : g_u_s << 2; in gen_twopix()
1466 buf[1][offset + 1] = odd ? r_y_h >> 6 : g_u_s >> 6; in gen_twopix()
1471 buf[0][offset] = odd ? b_v << 2 : g_u_s << 2; in gen_twopix()
1472 buf[0][offset + 1] = odd ? b_v >> 6 : g_u_s >> 6; in gen_twopix()
1473 buf[1][offset] = odd ? g_u_s << 2 : r_y_h << 2; in gen_twopix()
1474 buf[1][offset + 1] = odd ? g_u_s >> 6 : r_y_h >> 6; in gen_twopix()
1479 buf[0][offset] = odd ? r_y_h << 2 : g_u_s << 2; in gen_twopix()
1480 buf[0][offset + 1] = odd ? r_y_h >> 6 : g_u_s >> 6; in gen_twopix()
1481 buf[1][offset] = odd ? g_u_s << 2 : b_v << 2; in gen_twopix()
1482 buf[1][offset + 1] = odd ? g_u_s >> 6 : b_v >> 6; in gen_twopix()
1487 buf[0][offset] = odd ? g_u_s << 2 : r_y_h << 2; in gen_twopix()
1488 buf[0][offset + 1] = odd ? g_u_s >> 6 : r_y_h >> 6; in gen_twopix()
1489 buf[1][offset] = odd ? b_v << 2 : g_u_s << 2; in gen_twopix()
1490 buf[1][offset + 1] = odd ? b_v >> 6 : g_u_s >> 6; in gen_twopix()
1495 buf[0][offset] = odd ? g_u_s << 4 : b_v << 4; in gen_twopix()
1496 buf[0][offset + 1] = odd ? g_u_s >> 4 : b_v >> 4; in gen_twopix()
1497 buf[1][offset] = odd ? r_y_h << 4 : g_u_s << 4; in gen_twopix()
1498 buf[1][offset + 1] = odd ? r_y_h >> 4 : g_u_s >> 4; in gen_twopix()
1503 buf[0][offset] = odd ? b_v << 4 : g_u_s << 4; in gen_twopix()
1504 buf[0][offset + 1] = odd ? b_v >> 4 : g_u_s >> 4; in gen_twopix()
1505 buf[1][offset] = odd ? g_u_s << 4 : r_y_h << 4; in gen_twopix()
1506 buf[1][offset + 1] = odd ? g_u_s >> 4 : r_y_h >> 4; in gen_twopix()
1511 buf[0][offset] = odd ? r_y_h << 4 : g_u_s << 4; in gen_twopix()
1512 buf[0][offset + 1] = odd ? r_y_h >> 4 : g_u_s >> 4; in gen_twopix()
1513 buf[1][offset] = odd ? g_u_s << 4 : b_v << 4; in gen_twopix()
1514 buf[1][offset + 1] = odd ? g_u_s >> 4 : b_v >> 4; in gen_twopix()
1519 buf[0][offset] = odd ? g_u_s << 4 : r_y_h << 4; in gen_twopix()
1520 buf[0][offset + 1] = odd ? g_u_s >> 4 : r_y_h >> 4; in gen_twopix()
1521 buf[1][offset] = odd ? b_v << 4 : g_u_s << 4; in gen_twopix()
1522 buf[1][offset + 1] = odd ? b_v >> 4 : g_u_s >> 4; in gen_twopix()
1527 buf[0][offset] = buf[0][offset + 1] = odd ? g_u_s : b_v; in gen_twopix()
1528 buf[1][offset] = buf[1][offset + 1] = odd ? r_y_h : g_u_s; in gen_twopix()
1531 buf[0][offset] = buf[0][offset + 1] = odd ? b_v : g_u_s; in gen_twopix()
1532 buf[1][offset] = buf[1][offset + 1] = odd ? g_u_s : r_y_h; in gen_twopix()
1535 buf[0][offset] = buf[0][offset + 1] = odd ? r_y_h : g_u_s; in gen_twopix()
1536 buf[1][offset] = buf[1][offset + 1] = odd ? g_u_s : b_v; in gen_twopix()
1539 buf[0][offset] = buf[0][offset + 1] = odd ? g_u_s : r_y_h; in gen_twopix()
1540 buf[1][offset] = buf[1][offset + 1] = odd ? b_v : g_u_s; in gen_twopix()
2682 * odd and even lines. Doing that for SEQ_BT/TB would in tpg_fill_plane_buffer()