Searched refs:ncolors (Results 1 - 7 of 7) sorted by relevance

/haiku-fatelf/src/libs/print/libgutenprint/include/gutenprint/
H A Dweave.h84 int ncolors; member in struct:__anon5052
89 int ncolors; member in struct:__anon5053
94 int ncolors; member in struct:__anon5054
99 int ncolors; member in struct:__anon5055
104 int ncolors; member in struct:__anon5056
130 int vertical, int ncolors, int bitwidth,
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dprint-weave.c83 int ncolors; /* How many colors */ member in struct:stpi_softweave
886 allocate_lineoff(int count, int ncolors) argument
892 retval[i].ncolors = ncolors;
893 retval[i].v = stp_zalloc(ncolors * sizeof(unsigned long));
899 allocate_lineactive(int count, int ncolors) argument
905 retval[i].ncolors = ncolors;
906 retval[i].v = stp_zalloc(ncolors * sizeof(char));
912 allocate_linecount(int count, int ncolors) argument
925 allocate_linebounds(int count, int ncolors) argument
939 allocate_linebuf(int count, int ncolors) argument
1004 stp_initialize_weave(stp_vars_t *v, int jets, int sep, int osample, int v_subpasses, int v_subsample, int ncolors, int bitwidth, int linewidth, int line_count, int first_line, int page_height, const int *head_offset, stp_weave_strategy_t weave_strategy, stp_flushfunc flushfunc, stp_fillfunc fillfunc, stp_packfunc pack, stp_compute_linewidth_func compute_linewidth) argument
[all...]
H A Dprint-lexmark.c467 int ncolors; member in struct:__anon5146
597 /* output_type ncolors used_colors pass_length v_top_head_offset
667 /* output_type ncolors used_colors pass_length v_top_head_offset
790 int ncolors; member in struct:lexm_privdata_weave
1624 int ncolors; local
1691 ncolors = ink_parameter->ncolors;
1894 ncolors, /* colors */
1909 privdata.ncolors = ncolors;
[all...]
H A Dprint-canon.c175 int ncolors; /* number of colors to print with */ member in struct:__anon5112
2097 privdata.ncolors = 4;
2098 privdata.head_offset = stp_zalloc(sizeof(int) * privdata.ncolors);
2107 privdata.ncolors = 1;
2140 "ncolors=%d, out_width=%d, out_height=%d\n"
2145 privdata.vertical_oversample, privdata.ncolors,
2153 privdata.vertical_oversample, privdata.ncolors,
2603 for ( color = 0; color < pd->ncolors; color++ ) /* find max. linecount */
2618 for ( color = 0; color < pd->ncolors; color++ )
2656 for ( color = 0; color < pd->ncolors; colo
[all...]
/haiku-fatelf/src/libs/pdflib/libs/pdflib/
H A Dp_bmp.c362 pdc_ulong ncolors = 0, importcolors = 0, compression = PDF_BMP_RGB; local
426 ncolors = PDF_GET_ULONG(pos);
446 if (!ncolors)
447 ncolors = (pdc_ulong) (1 << bpp);
448 if (ncolors > (offras - PDF_BMP_FILE_HEADSIZE - infosize) / colsize)
455 nbytes = colsize * ncolors;
465 for (i = 0; i < (int) ncolors; i++)
481 cs.val.indexed.palette_size = (int) ncolors;
/haiku-fatelf/src/add-ons/translators/bmp/
H A DBMPTranslator.cpp483 uint16 ncolors = 1 << pmsheader->bitsperpixel; local
484 pmsheader->colorsused = ncolors;
485 pmsheader->colorsimportant = ncolors;
487 static_cast<uint32> (26 + (ncolors * 3)))
489 (26 + (ncolors * 3));
491 pfileheader->dataOffset = 54 + (ncolors * 4);
1722 uint16 ncolors = 1 << msheader.bitsperpixel; local
1723 rd = inSource->Read(buf, ncolors * 3);
1724 if (rd != ncolors * 3)
1727 for (uint16 i = 0; i < ncolors;
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/src/gimp2/
H A Dprint-image-gimp.c86 gint32 ncolors; member in struct:__anon5066
168 im->cmap = gimp_image_get_cmap(image_ID, &(im->ncolors));

Completed in 192 milliseconds