Searched refs:ink (Results 1 - 6 of 6) sorted by relevance

/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Descp2-papers.c180 build_media_type(const stp_vars_t *v, const char *name, const inklist_t *ink, argument
213 if (ink && ink->name)
215 stp_mxml_node_t *inknode = stp_mxmlFindElement(node, node, "ink",
216 "name", ink->name,
233 build_media_id(const char *name, const inklist_t *ink, const res_t *res) argument
238 ink ? ink->name : "",
H A Dprint-canon.c33 * Large parts of this file (mainly the ink handling) is based on
257 N_("Type of ink in the printer"),
1410 if(init->mode->inks[i].ink){
1411 if(init->mode->inks[i].ink->flags & INK_FLAG_5pixel_in_1byte)
1412 buf[3+i*3+0]=(1<<5)|init->mode->inks[i].ink->bits; /*info*/
1413 /*else if(init->mode->inks[i].ink->flags & INK_FLAG_lowresmode)
1416 buf[3+i*3+0]=init->mode->inks[i].ink->bits;
1419 buf[3+i*3+0]=init->mode->inks[i].ink->bits;
1422 /*if (init->mode->inks[i].ink->bits == 4)
1424 /*else if (init->mode->inks[i].ink
1699 canon_setup_channel(stp_vars_t *v,canon_privdata_t* privdata,int channel,int subchannel,const canon_inkset_t* ink,stp_shade_t** shades) argument
1776 const canon_inkset_t* ink = &privdata->mode->inks[i]; local
1783 const canon_inkset_t* ink = &privdata->mode->inks[i]; local
[all...]
H A Ddither-eventone.c370 print_ink(stpi_dither_t *d, unsigned char *tptr, const stpi_ink_defn_t *ink, argument
378 switch(ink->bits)
391 for (j=1; j <= ink->bits; j+=j, tptr += length)
393 if (j & ink->bits)
H A Dprint-olympus.c1888 N_("Type of ink in the printer"),
2470 unsigned short ink[MAX_INK_CHANNELS * MAX_BYTES_PER_CHANNEL], *out; local
2486 ink[i] = out[i];
2490 ink[i] = out[i * pv->out_channels / pv->ink_channels];
2497 ink[i] = avg * pv->ink_channels / pv->out_channels;
2503 ink_u8 = (unsigned char *) ink;
2505 ink_u8[i] = ink[i] / 257;
2509 stp_zfwrite((char *) ink + plane, pv->bytes_per_ink_channel, 1, v);
2511 /* stp_zfwrite((char *) ink, pv->bytes_per_ink_channel, pv->ink_channels, v);*/
2514 stp_zfwrite((char *) ink
[all...]
H A Dcanon-inks.h30 /* ink definition:
31 * ink dots can be printed in various sizes
36 * an ink is therefore defined by the number of bits used for the bitpattern (bitdepth) and the number of possible levels:
37 * a 1 bit ink can have 2 possible levels 0 and 1
38 * a 2 bit ink can have 2*2=4 possible levels with the bitpatterns 0,1,2 and 3
39 * a 3 bit ink can have 2*2*2=8 possible levels with the bitpatterns 0 to 7
45 * inks are named canon_xb_yl_ink where x is the number of bits representing the y possible ink levels
61 /* declare a standard ink */
68 /* declare an ink with flags */
211 * followed by YZ combinations for every defined ink wher
225 const canon_ink_t* ink; member in struct:__anon5084
[all...]
/haiku-fatelf/src/libs/print/libgutenprint/test/
H A Dunprint.c322 mix_ink(ppmpixel p, int color, unsigned int amount, float *ink, quadtone_t quadtone) argument
344 p[i] *= (1 - size) + size * ink[i];
503 float *ink = ink_colors[inknum]; local
509 mix_ink(out_row[p - left], c, amount, ink,

Completed in 112 milliseconds