Lines Matching refs:bits_per_pixel
1597 switch (vs->ds->surface->pf.bits_per_pixel) {
1610 switch (vs->ds->surface->pf.bits_per_pixel) {
1625 int bits_per_pixel, int depth,
1648 vs->clientds.pf.bits_per_pixel = bits_per_pixel;
1649 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8;
1650 vs->clientds.pf.depth = bits_per_pixel == 32 ? 24 : bits_per_pixel;
1662 vnc_write_u8(vs, vs->ds->surface->pf.bits_per_pixel); /* bits-per-pixel */
1677 if (vs->ds->surface->pf.bits_per_pixel == 32)
1679 else if (vs->ds->surface->pf.bits_per_pixel == 16)
1681 else if (vs->ds->surface->pf.bits_per_pixel == 8)