/haiku-fatelf/src/add-ons/print/drivers/pdf/source/ |
H A D | ImageCache.h | 56 int GetMask(PDF* pdf, const char* mask, int length, int width, int height, int bpc);
|
H A D | Mask.cpp | 40 MaskDescription::MaskDescription(PDF* pdf, const char* mask, int length, int width, int height, int bpc) argument 46 , fBPC(bpc) 89 // *maskId = PDF_open_image(fPdf, "raw", "memory", (const char *) mask, length, width, height, 1, bpc, "mask"); 93 options << "width " << fWidth << " height " << fHeight << " components 1 bpc " << fBPC; 101 Mask::Mask(PDF* pdf, int imageID, const char* fileName, int length, int width, int height, int bpc) argument 108 , fBPC(bpc)
|
H A D | ImageCache.cpp | 88 int ImageCache::GetMask(PDF* pdf, const char* mask, int length, int width, int height, int bpc) { argument 89 MaskDescription desc(pdf, mask, length, width, height, bpc);
|
H A D | Mask.h | 40 MaskDescription(PDF* pdf, const char* mask, int length, int width, int height, int bpc); 64 Mask(PDF* pdf, int imageID, const char* fileName, int length, int width, int height, int bpc);
|
H A D | PDFWriter.cpp | 1559 int bpc = 0; local 1565 bpc = 1; 1570 bpc = 8; 1578 // *maskId = PDF_open_image(fPdf, "raw", "memory", (const char *) mask, length, width, height, 1, bpc, "mask"); 1580 *maskId = fImageCache.GetMask(fPdf, (char*)mask, length, width, height, bpc); 1584 options << "width " << width << " height " << height << " components 1 bpc " << bpc;
|
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/ |
H A D | jp2_cod.h | 197 uint_fast8_t bpc; member in struct:__anon2761 236 uint_fast8_t *bpc; member in struct:__anon2764 338 #define JP2_BPCTODTYPE(bpc) \ 339 (JAS_IMAGE_CDT_SETSGND(bpc >> 7) | JAS_IMAGE_CDT_SETPREC((bpc & 0x7f) + 1))
|
H A D | jp2_dec.c | 294 if ((samedtype && dec->ihdr->data.ihdr.bpc != JP2_DTYPETOBPC(dtype)) || 295 (!samedtype && dec->ihdr->data.ihdr.bpc != JP2_IHDR_BPCNULL)) { 405 jas_image_depalettize(dec->image, cmapent->cmptno, pclrd->numlutents, lutents, JP2_BPCTODTYPE(pclrd->bpc[cmapent->pcol]), newcmptno);
|
H A D | jp2_cod.c | 399 jp2_getuint16(in, &ihdr->numcmpts) || jp2_getuint8(in, &ihdr->bpc) || 589 jp2_putuint16(out, ihdr->numcmpts) || jp2_putuint8(out, ihdr->bpc) || 850 if (!(pclr->bpc = jas_malloc(pclr->numchans * sizeof(uint_fast8_t)))) { 854 if (jp2_getuint8(in, &pclr->bpc[i])) { 860 if (jp2_getint(in, (pclr->bpc[j] & 0x80) != 0, 861 (pclr->bpc[j] & 0x7f) + 1, &x)) {
|
H A D | jp2_enc.c | 206 ihdr->bpc = allcmptssame ? JP2_SPTOBPC(jas_image_cmptsgnd(image, 0),
|
/haiku-fatelf/src/libs/pdflib/libs/pdflib/ |
H A D | p_tiff.c | 269 uint16 unit, bpc, compression, photometric, inkset, extra, *sinfo; local 327 TIFFGetFieldDefaulted(image->info.tiff.tif, TIFFTAG_BITSPERSAMPLE, &bpc); 335 if (bpc != 1 && bpc != 2 && bpc != 4 && bpc != 8) { 337 errint = bpc; 346 image->bpc = bpc; 378 image->bpc [all...] |
H A D | p_image.c | 43 image->bpc = pdc_undef; 272 pdc_printf(p->out, "/BPC %d", image->bpc); 320 if (image->bpc != 8) 321 pdc_printf(p->out, "/BitsPerComponent %d", image->bpc); 444 } else if (image->mask != pdc_undef && p->images[image->mask].bpc > 1) { 458 pdc_printf(p->out, "/BitsPerComponent %d\n", image->bpc); 610 if (image->bpc != 8) 611 pdc_printf(p->out, "/BitsPerComponent %d", image->bpc); 1094 int bpc, 1107 width, height, components, bpc, param 1085 PDF_open_image( PDF *p, const char *type, const char *source, const char *data, long length, int width, int height, int components, int bpc, const char *params) argument [all...] |
H A D | p_jpeg.c | 334 image->bpc = pdc_fgetc(image->fp); 541 if (image->bpc != 8) { 542 errint = image->bpc;
|
H A D | p_bmp.c | 437 image->bpc = bpp; 494 image->bpc = 8; 505 if (image->components != 1 || image->bpc != 1) { 509 } else if (image->bpc > 1) {
|
H A D | p_image.h | 137 int bpc; /* bits per color component */ member in struct:pdf_image_s
|
H A D | p_png.c | 417 image->bpc = bit_depth; 501 if (image->components != 1 || image->bpc != 1) { 505 } else if (image->bpc > 1) { 697 image->bpc = s_info.bit_depth;
|
H A D | p_ccitt.c | 133 ((image->width_pixel * image->components * image->bpc + 7) / 8)))
|
H A D | p_gif.c | 326 image->bpc = 8;
|
H A D | pdflib.h | 610 int bpc, const char *params); 1088 int height, int components, int bpc, const char *params);
|
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/ |
H A D | jp2.h | 128 unsigned int bpc; member in struct:opj_jp2
|
H A D | jp2.c | 223 jp2->bpc = cio_read(cio, 1); /* BPC */ 248 cio_write(cio, jp2->bpc, 1); /* BPC */ 669 if (jp2->bpc == 255) 809 if (jp2->bpc == 255) { 1150 jp2->bpc = depth_0 + (sign << 7); 1155 jp2->bpc = 255;
|
/haiku-fatelf/src/libs/pdflib/bind/pdflib/java/ |
H A D | pdflib.java | 891 int height, int components, int bpc, String params) 895 height, components, bpc, params); 889 open_image( String imagetype, String source, byte[] data, long length, int width, int height, int components, int bpc, String params) argument
|
H A D | pdflib_java.c | 2033 int bpc; local 2058 bpc = (int )jbpc; 2062 width, height, components, bpc, params);
|
/haiku-fatelf/src/libs/pdflib/bind/pdflib/cpp/ |
H A D | pdflib.hpp | 227 long len, int width, int height, int components, int bpc,
|
H A D | pdflib.cpp | 885 int width, int height, int components, int bpc, string params) 893 data, len, width, height, components, bpc, CHAR(params));
|
/haiku-fatelf/src/add-ons/accelerants/radeon_hd/ |
H A D | pll.cpp | 593 cpu_to_le16((mode->clock * bpc / 8) / 10);
|