Home
last modified time | relevance | path

Searched refs:cupsWidth (Results 1 – 13 of 13) sorted by relevance

/external/libcups/filter/
Drastertopwg.c104 fprintf(stderr, "DEBUG: cupsWidth = %d\n", inheader.cupsWidth); in main()
192 outheader.cupsWidth = page_width; in main()
295 inheader.cupsWidth; in main()
313 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main()
327 inheader.cupsWidth; in main()
345 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main()
359 inheader.cupsWidth; in main()
377 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main()
398 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main()
413 outheader.cupsInteger[5] = page_left + inheader.cupsWidth; in main()
Drastertoepson.c129 fprintf(stderr, "DEBUG: cupsWidth = %d\n", header->cupsWidth); in StartPage()
294 if ((CompBuffer = calloc(2, header->cupsWidth + 1)) == NULL) in StartPage()
305 …if ((LineBuffers[0] = calloc((size_t)DotBytes, (header->cupsWidth + 7) * (size_t)(Shingling + 1)))… in StartPage()
311 LineBuffers[1] = LineBuffers[0] + DotBytes * header->cupsWidth; in StartPage()
632 for (x = header->cupsWidth, bit = 128, pixel = Planes[0], in OutputLine()
674 for (width = header->cupsWidth, tempptr = CompBuffer; in OutputLine()
695 for (width = header->cupsWidth, tempptr = CompBuffer, in OutputLine()
733 memset(CompBuffer, 0, header->cupsWidth); in OutputLine()
800 memcmp(LineBuffers[row], LineBuffers[row] + 1, header->cupsWidth * DotBytes - 1)) in OutputRows()
807 dot_count = header->cupsWidth * DotBytes; in OutputRows()
[all …]
Drastertohp.c94 fprintf(stderr, "DEBUG: cupsWidth = %d\n", header->cupsWidth); in StartPage()
301 printf("\033*r%uS", header->cupsWidth); /* Set width */ in StartPage()
335 BitBuffer = malloc(ColorBits * ((header->cupsWidth + 7) / 8)); in StartPage()
579 bytes = (header->cupsWidth + 7) / 8; in OutputLine()
Drastertolabel.c171 fprintf(stderr, "DEBUG: cupsWidth = %d\n", header->cupsWidth); in StartPage()
267 printf("q%u\n", (header->cupsWidth + 7) & ~7U); in StartPage()
303 printf("PAGE-WIDTH %u\r\n", header->cupsWidth); in StartPage()
403 printf("\033*r%uS", header->cupsWidth); in StartPage()
505 printf("^PW%u\n", header->cupsWidth); in EndPage()
/external/libcups/cups/
Draster-stream.c237 h->cupsWidth = (unsigned)(media->width * xdpi / 2540); in _cupsRasterInitPWGHeader()
240 if (h->cupsWidth > 0x00ffffff || h->cupsHeight > 0x00ffffff) in _cupsRasterInitPWGHeader()
246 h->cupsInteger[CUPS_RASTER_PWG_ImageBoxRight] = h->cupsWidth; in _cupsRasterInitPWGHeader()
360 h->cupsBytesPerLine = (h->cupsWidth * h->cupsBitsPerPixel + 7) / 8; in _cupsRasterInitPWGHeader()
688 …r->header.cupsWidth = ((((((unsigned)appleheader[12] << 8) | (unsigned)appleheader[13]) << … in _cupsRasterReadHeader()
690 r->header.cupsBytesPerLine = r->header.cupsWidth * r->header.cupsBitsPerPixel / 8; in _cupsRasterReadHeader()
696 r->header.PageSize[0] = (unsigned)(r->header.cupsWidth * 72 / r->header.HWResolution[0]); in _cupsRasterReadHeader()
698 r->header.cupsPageSize[0] = (float)(r->header.cupsWidth * 72.0 / r->header.HWResolution[0]); in _cupsRasterReadHeader()
732 DEBUG_printf(("4_cupsRasterReadHeader: cupsWidth=%u", r->header.cupsWidth)); in _cupsRasterReadHeader()
1015 DEBUG_printf(("1_cupsRasterWriteHeader: cupsWidth=%u", r->header.cupsWidth)); in _cupsRasterWriteHeader()
[all …]
Dtestraster.c95 header.cupsWidth, header.cupsHeight, header.cupsBitsPerPixel, in do_ras_file()
166 header.cupsWidth = 256; in do_raster_tests()
304 expected.cupsWidth = 256; in do_raster_tests()
659 if (header->cupsWidth != expected->cupsWidth) in print_changes()
660 printf(" cupsWidth %d, expected %d\n", header->cupsWidth, in print_changes()
661 expected->cupsWidth); in print_changes()
Draster.h275 unsigned cupsWidth; /* Width of page image in pixels */ member
324 unsigned cupsWidth; /* Width of page image in pixels */ member
Drasterbench.c301 header.cupsWidth = TEST_WIDTH; in write_test()
Dtestppd.c1685 if (header->cupsWidth != expected->cupsWidth) in print_changes()
1686 printf(" cupsWidth %d, expected %d\n", header->cupsWidth, in print_changes()
1687 expected->cupsWidth); in print_changes()
Dtestclient.c489 if (header.cupsWidth > (4 * header.HWResolution[0])) in make_raster_file()
500 xrep = (header.cupsWidth - 2 * xoff) / 140; in make_raster_file()
Draster-interpret.c391 h->cupsWidth = (unsigned)((right - left) * h->cupsBorderlessScalingFactor * in _cupsRasterInterpretPPD()
490 h->cupsBytesPerLine = (h->cupsBitsPerPixel * h->cupsWidth + 7) / 8; in _cupsRasterInterpretPPD()
/external/libcups/tools/
Dippevepcl.c134 pcl_left = (header->cupsWidth - 8 * header->HWResolution[0]) / 2; in pcl_start_page()
141 pcl_right = header->cupsWidth - header->HWResolution[0] / 4 - 1; in pcl_start_page()
242 pcl_line = malloc(header->cupsWidth / 8 + 1); in pcl_start_page()
Dippeveps.c1064 …fprintf(stderr, "DEBUG: Page %d: %ux%ux%u\n", page, header.cupsWidth, header.cupsHeight, header.cu… in raster_to_ps()
1106 … currentfile/ASCII85Decode filter/Decode[%s]>>image}bind def\n", header.cupsWidth, header.cupsBits… in raster_to_ps()