Home
last modified time | relevance | path

Searched refs:cupsNumColors (Results 1 – 4 of 4) sorted by relevance

/external/libcups/filter/
Dtestraster.c568 header.cupsNumColors = 4; in do_raster_tests()
574 header.cupsNumColors = 1; in do_raster_tests()
710 expected.cupsNumColors = 4; in do_raster_tests()
716 expected.cupsNumColors = 1; in do_raster_tests()
1029 if (header->cupsNumColors != expected->cupsNumColors) in print_changes()
1030 printf(" cupsNumColors %d, expected %d\n", header->cupsNumColors, in print_changes()
1031 expected->cupsNumColors); in print_changes()
Draster.c358 h->cupsNumColors = h->cupsBitsPerPixel / h->cupsBitsPerColor; in cupsRasterInitPWGHeader()
1058 fh.cupsNumColors = htonl(r->header.cupsNumColors); in cupsRasterWriteHeader()
1255 fh.cupsNumColors = htonl(r->header.cupsNumColors); in cupsRasterWriteHeader2()
1619 …r->header.cupsNumColors = appleheader[1] >= (sizeof(rawnumcolors) / sizeof(rawnumcolors[0])) ? … in cups_raster_read_header()
1620 r->header.cupsBitsPerColor = r->header.cupsBitsPerPixel / r->header.cupsNumColors; in cups_raster_read_header()
1857 r->header.cupsNumColors == 0) in cups_raster_update()
1871 r->header.cupsNumColors = 1; in cups_raster_update()
1896 r->header.cupsNumColors = 3; in cups_raster_update()
1906 r->header.cupsNumColors = 4; in cups_raster_update()
1911 r->header.cupsNumColors = 6; in cups_raster_update()
[all …]
Dinterpret.c408 h->cupsNumColors = 1; in cupsRasterInterpretPPD()
436 h->cupsNumColors = 3; in cupsRasterInterpretPPD()
447 h->cupsNumColors = 6; in cupsRasterInterpretPPD()
467 h->cupsNumColors = 4; in cupsRasterInterpretPPD()
485 h->cupsNumColors = h->cupsColorSpace - CUPS_CSPACE_DEVICE1 + 1; in cupsRasterInterpretPPD()
488 h->cupsBitsPerPixel = h->cupsBitsPerColor * h->cupsNumColors; in cupsRasterInterpretPPD()
497 h->cupsBytesPerLine *= h->cupsNumColors; in cupsRasterInterpretPPD()
/external/libcups/cups/
Draster.h343 unsigned cupsNumColors; /* Number of color compoents @since CUPS 1.2/macOS 10.5@ */ member