Lines Matching full:bytes_per_pixel
351 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel)
410 switch(vs->clientds.pf.bytes_per_pixel) {
444 if (vs->server.ds->pf.bytes_per_pixel == 4) {
450 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel);
452 } else if (vs->server.ds->pf.bytes_per_pixel == 2) {
458 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel);
460 } else if (vs->server.ds->pf.bytes_per_pixel == 1) {
466 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel);
527 last_fg = (uint8_t *) qemu_malloc(vs->server.ds->pf.bytes_per_pixel);
528 last_bg = (uint8_t *) qemu_malloc(vs->server.ds->pf.bytes_per_pixel);
1643 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8;