Lines Matching full:bytes_per_pixel
357 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel)
416 switch(vs->clientds.pf.bytes_per_pixel) {
450 if (vs->server.ds->pf.bytes_per_pixel == 4) {
456 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel);
458 } else if (vs->server.ds->pf.bytes_per_pixel == 2) {
464 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel);
466 } else if (vs->server.ds->pf.bytes_per_pixel == 1) {
472 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel);
533 last_fg = (uint8_t *) qemu_malloc(vs->server.ds->pf.bytes_per_pixel);
534 last_bg = (uint8_t *) qemu_malloc(vs->server.ds->pf.bytes_per_pixel);
1649 vs->clientds.pf.bytes_per_pixel = bits_per_pixel / 8;