Searched refs:cupsWidth (Results 1 – 10 of 10) sorted by relevance
/external/libcups/filter/ |
D | rastertopwg.c | 109 fprintf(stderr, "DEBUG: cupsWidth = %d\n", inheader.cupsWidth); in main() 197 outheader.cupsWidth = page_width; in main() 300 inheader.cupsWidth; in main() 318 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main() 332 inheader.cupsWidth; in main() 350 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main() 364 inheader.cupsWidth; in main() 382 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main() 403 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main() 418 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main()
|
D | rastertoepson.c | 134 fprintf(stderr, "DEBUG: cupsWidth = %d\n", header->cupsWidth); in StartPage() 299 if ((CompBuffer = calloc(2, header->cupsWidth + 1)) == NULL) in StartPage() 310 …if ((LineBuffers[0] = calloc((size_t)DotBytes, (header->cupsWidth + 7) * (size_t)(Shingling + 1)))… in StartPage() 316 LineBuffers[1] = LineBuffers[0] + DotBytes * header->cupsWidth; in StartPage() 637 for (x = header->cupsWidth, bit = 128, pixel = Planes[0], in OutputLine() 679 for (width = header->cupsWidth, tempptr = CompBuffer; in OutputLine() 700 for (width = header->cupsWidth, tempptr = CompBuffer, in OutputLine() 738 memset(CompBuffer, 0, header->cupsWidth); in OutputLine() 805 memcmp(LineBuffers[row], LineBuffers[row] + 1, header->cupsWidth * DotBytes - 1)) in OutputRows() 812 dot_count = header->cupsWidth * DotBytes; in OutputRows() [all …]
|
D | raster.c | 236 h->cupsWidth = (unsigned)(media->width * xdpi / 2540); in cupsRasterInitPWGHeader() 239 if (h->cupsWidth > 0x00ffffff || h->cupsHeight > 0x00ffffff) in cupsRasterInitPWGHeader() 245 h->cupsInteger[CUPS_RASTER_PWG_ImageBoxRight] = h->cupsWidth; in cupsRasterInitPWGHeader() 359 h->cupsBytesPerLine = (h->cupsWidth * h->cupsBitsPerPixel + 7) / 8; in cupsRasterInitPWGHeader() 646 DEBUG_printf(("1cupsRasterReadHeader: cupsWidth=%u", h->cupsWidth)); in cupsRasterReadHeader() 689 DEBUG_printf(("1cupsRasterReadHeader2: cupsWidth=%u", h->cupsWidth)); in cupsRasterReadHeader2() 983 DEBUG_printf(("1cupsRasterWriteHeader: cupsWidth=%u", h->cupsWidth)); in cupsRasterWriteHeader() 1051 fh.cupsWidth = htonl(r->header.cupsWidth); in cupsRasterWriteHeader() 1133 appleheader[12] = (unsigned char)(r->header.cupsWidth >> 24); in cupsRasterWriteHeader() 1134 appleheader[13] = (unsigned char)(r->header.cupsWidth >> 16); in cupsRasterWriteHeader() [all …]
|
D | testraster.c | 482 header.cupsWidth, header.cupsHeight, header.cupsBitsPerPixel, in do_ras_file() 553 header.cupsWidth = 256; in do_raster_tests() 685 expected.cupsWidth = 256; in do_raster_tests() 981 if (header->cupsWidth != expected->cupsWidth) in print_changes() 982 printf(" cupsWidth %d, expected %d\n", header->cupsWidth, in print_changes() 983 expected->cupsWidth); in print_changes()
|
D | rastertohp.c | 100 fprintf(stderr, "DEBUG: cupsWidth = %d\n", header->cupsWidth); in StartPage() 307 printf("\033*r%uS", header->cupsWidth); /* Set width */ in StartPage() 341 BitBuffer = malloc(ColorBits * ((header->cupsWidth + 7) / 8)); in StartPage() 585 bytes = (header->cupsWidth + 7) / 8; in OutputLine()
|
D | rastertolabel.c | 176 fprintf(stderr, "DEBUG: cupsWidth = %d\n", header->cupsWidth); in StartPage() 271 printf("q%u\n", (header->cupsWidth + 7) & ~7U); in StartPage() 307 printf("PAGE-WIDTH %u\r\n", header->cupsWidth); in StartPage() 407 printf("\033*r%uS", header->cupsWidth); in StartPage() 509 printf("^PW%u\n", header->cupsWidth); in EndPage()
|
D | rasterbench.c | 307 header.cupsWidth = TEST_WIDTH; in write_test()
|
D | testclient.c | 598 if (header.cupsWidth > (4 * header.HWResolution[0])) in make_raster_file() 609 xrep = (header.cupsWidth - 2 * xoff) / 140; in make_raster_file()
|
D | interpret.c | 395 h->cupsWidth = (unsigned)((right - left) * h->cupsBorderlessScalingFactor * in cupsRasterInterpretPPD() 494 h->cupsBytesPerLine = (h->cupsBitsPerPixel * h->cupsWidth + 7) / 8; in cupsRasterInterpretPPD()
|
/external/libcups/cups/ |
D | raster.h | 280 unsigned cupsWidth; /* Width of page image in pixels */ member 329 unsigned cupsWidth; /* Width of page image in pixels */ member
|