Home | History | Annotate | Download | only in x11vnc

Lines Matching full:bits_per_pixel

56 int guess_bits_per_color(int bits_per_pixel);
132 int guess_bits_per_color(int bits_per_pixel) {
136 bits_per_color = bits_per_pixel/3;
142 if (bits_per_pixel == 8) {
144 } else if (bits_per_pixel == 15 || bits_per_pixel == 16) {
146 } else if (bits_per_pixel == 24 || bits_per_pixel == 32) {
351 xi->bits_per_pixel = 32;
353 xi->bits_per_pixel = 24;
355 xi->bits_per_pixel = 16;
357 xi->bits_per_pixel = 8;
366 xi->width * xi->bits_per_pixel / 8;
468 x, y, w, h, bpl, dest->bytes_per_line, dest->width, dest->height, dest->bits_per_pixel, dest->depth, dst);