Searched refs:bpc (Results 1 - 25 of 25) sorted by relevance

/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DImageCache.h56 int GetMask(PDF* pdf, const char* mask, int length, int width, int height, int bpc);
H A DMask.cpp40 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 DImageCache.cpp88 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 DMask.h40 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 DPDFWriter.cpp1559 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 Djp2_cod.h197 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 Djp2_dec.c294 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 Djp2_cod.c399 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 Djp2_enc.c206 ihdr->bpc = allcmptssame ? JP2_SPTOBPC(jas_image_cmptsgnd(image, 0),
/haiku-fatelf/src/libs/pdflib/libs/pdflib/
H A Dp_tiff.c269 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 Dp_image.c43 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 Dp_jpeg.c334 image->bpc = pdc_fgetc(image->fp);
541 if (image->bpc != 8) {
542 errint = image->bpc;
H A Dp_bmp.c437 image->bpc = bpp;
494 image->bpc = 8;
505 if (image->components != 1 || image->bpc != 1) {
509 } else if (image->bpc > 1) {
H A Dp_image.h137 int bpc; /* bits per color component */ member in struct:pdf_image_s
H A Dp_png.c417 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 Dp_ccitt.c133 ((image->width_pixel * image->components * image->bpc + 7) / 8)))
H A Dp_gif.c326 image->bpc = 8;
H A Dpdflib.h610 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 Djp2.h128 unsigned int bpc; member in struct:opj_jp2
H A Djp2.c223 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 Dpdflib.java891 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 Dpdflib_java.c2033 int bpc; local
2058 bpc = (int )jbpc;
2062 width, height, components, bpc, params);
/haiku-fatelf/src/libs/pdflib/bind/pdflib/cpp/
H A Dpdflib.hpp227 long len, int width, int height, int components, int bpc,
H A Dpdflib.cpp885 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 Dpll.cpp593 cpu_to_le16((mode->clock * bpc / 8) / 10);

Completed in 194 milliseconds