Home | History | Annotate | Download | only in filter

Lines Matching refs:cupsBitsPerPixel

171     h->cupsBitsPerPixel = 24;
177 h->cupsBitsPerPixel = 48;
183 h->cupsBitsPerPixel = 1;
189 h->cupsBitsPerPixel = 8;
195 h->cupsBitsPerPixel = 16;
201 h->cupsBitsPerPixel = 32;
207 h->cupsBitsPerPixel = 64;
222 h->cupsBitsPerPixel = (unsigned)(ncolors * bits);
228 h->cupsBitsPerPixel = 24;
234 h->cupsBitsPerPixel = 48;
240 h->cupsBitsPerPixel = 1;
246 h->cupsBitsPerPixel = 8;
252 h->cupsBitsPerPixel = 16;
258 h->cupsBitsPerPixel = 24;
264 h->cupsBitsPerPixel = 48;
274 h->cupsNumColors = h->cupsBitsPerPixel / h->cupsBitsPerColor;
275 h->cupsBytesPerLine = (h->cupsWidth * h->cupsBitsPerPixel + 7) / 8;
632 r->header.cupsBitsPerPixel == 12 ||
633 r->header.cupsBitsPerPixel == 16))
777 r->header.cupsBitsPerPixel == 12 ||
778 r->header.cupsBitsPerPixel == 16) &&
908 fh.cupsBitsPerPixel = htonl(r->header.cupsBitsPerPixel);
980 appleheader[0] = (unsigned char)r->header.cupsBitsPerPixel;
1090 fh.cupsBitsPerPixel = htonl(r->header.cupsBitsPerPixel);
1140 appleheader[0] = (unsigned char)r->header.cupsBitsPerPixel;
1201 r->header.cupsBitsPerPixel == 12 ||
1202 r->header.cupsBitsPerPixel == 16))
1468 r->header.cupsBitsPerPixel = appleheader[0];
1471 r->header.cupsBitsPerColor = r->header.cupsBitsPerPixel / r->header.cupsNumColors;
1474 r->header.cupsBytesPerLine = r->header.cupsWidth * r->header.cupsBitsPerPixel / 8;
1499 DEBUG_printf(("4cups_raster_read_header: cupsBitsPerPixel=%u, cupsBitsPerColor=%u, cupsBytesPerLine=%u, cupsWidth=%u, cupsHeight=%u, r->bpp=%d", r->header.cupsBitsPerPixel, r->header.cupsBitsPerColor, r->header.cupsBytesPerLine, r->header.cupsWidth, r->header.cupsHeight, r->bpp));
1501 return (r->header.cupsBitsPerPixel > 0 && r->header.cupsBitsPerPixel <= 240 && r->header.cupsBitsPerColor > 0 && r->header.cupsBitsPerColor <= 16 && r->header.cupsBytesPerLine > 0 && r->header.cupsBytesPerLine <= 0x7fffffff && r->header.cupsHeight != 0 && (r->header.cupsBytesPerLine % r->bpp) == 0);
1758 if (r->header.cupsBitsPerPixel < 8)
1794 r->bpp = (r->header.cupsBitsPerPixel + 7) / 8;