Searched refs:numCt (Results 1 - 10 of 10) sorted by relevance

/inkscape/src/extension/internal/
H A Dwmf-inout.cpp452 uint32_t numCt; local
456 dibparams = wget_DIB_params(dib, &px, &ct, &numCt, &width, &height, &colortype, &invert);
461 numCt, // DIB color table number of entries
466 numCt, // Color table used if not 0
481 base64String = g_base64_encode((guchar*) px, numCt );
550 int32_t width, height, colortype, numCt, invert; local
551 numCt = 0;
561 numCt, // DIB color table number of entries (always 0)
566 numCt, // Color table used if not 0
1322 uint32_t numCt; local
1422 int32_t width, height, colortype, numCt, invert; local
[all...]
H A Dwmf-print.cpp468 int numCt; local
473 (void) RGBA_to_DIB(&px, &cbPx, &ct, &numCt, rgba_px, width, height, width * 4, colortype, 0, 1);
476 Bmih = bitmapinfoheader_set(width, height, 1, colortype, U_BI_RGB, 0, PXPERMETER, PXPERMETER, numCt, 0);
1135 int numCt; local
1139 (void) RGBA_to_DIB(&px, &cbPx, &ct, &numCt, (char *) rgba_px, w, h, w * 4, colortype, 0, 1);
1140 Bmih = bitmapinfoheader_set(w, h, 1, colortype, U_BI_RGB, 0, PXPERMETER, PXPERMETER, numCt, 0);
1163 if (numCt) {
H A Demf-print.cpp478 int numCt; local
483 (void) RGBA_to_DIB(&px, &cbPx, &ct, &numCt, rgba_px, width, height, width * 4, colortype, 0, 1);
486 Bmih = bitmapinfoheader_set(width, height, 1, colortype, U_BI_RGB, 0, PXPERMETER, PXPERMETER, numCt, 0);
556 int numCt = 0; local
585 (void) RGBA_to_DIB(&px, &cbPx, &ct, &numCt, rgba_px, width, height, width * 4, colortype, 0, 1);
588 Bmih = bitmapinfoheader_set(width, height, 1, colortype, U_BI_RGB, 0, PXPERMETER, PXPERMETER, numCt, 0);
1737 int numCt; local
1741 (void) RGBA_to_DIB(&px, &cbPx, &ct, &numCt, (char *) rgba_px, w, h, w * 4, colortype, 0, 1);
1742 Bmih = bitmapinfoheader_set(w, h, 1, colortype, U_BI_RGB, 0, PXPERMETER, PXPERMETER, numCt, 0);
1791 if (numCt) {
[all...]
H A Demf-inout.cpp480 uint32_t width, height, colortype, numCt, invert; // if needed these values will be set in get_DIB_params local
484 &numCt, &width, &height, &colortype, &invert);
488 if(numCt==2){
501 numCt, // DIB color table number of entries
506 numCt, // Color table used if not 0
521 base64String = g_base64_encode((guchar*) px, numCt );
1527 uint32_t width, height, colortype, numCt, invert; // if needed these values will be set in get_DIB_params local
1531 &numCt, &width, &height, &colortype, &invert);
1541 numCt, // DIB color table number of entries
1546 numCt, // Colo
[all...]
/inkscape/src/libuemf/
H A Duemf_safe.c147 uint32_t width, height, colortype, numCt, invert; // these values will be set in get_DIB_params local
150 &numCt, &width, &height, &colortype, &invert);
153 if(numCt && colortype >= U_BCBM_COLOR16)return(0); //color tables not used above 16 bit pixels
154 if(!numCt && colortype < U_BCBM_COLOR16)return(0); //color tables mandatory for < 16 bit
H A Duemf.c617 \param numCt DIB color table number of entries
630 int *numCt,
654 *numCt=0;
673 *numCt = 1<< colortype;
674 if(*numCt >w*h)*numCt=w*h;
675 lct = (PU_RGBQUAD) malloc(*numCt * sizeof(U_RGBQUAD));
711 if(found > *numCt){ // More colors found than are supported by the color table
714 *numCt=0;
859 \param numCt DI
626 RGBA_to_DIB( char **px, uint32_t *cbPx, PU_RGBQUAD *ct, int *numCt, const char *rgba_px, int w, int h, int stride, uint32_t colortype, int use_ct, int invert ) argument
865 get_DIB_params( const char *record, uint32_t offBitsSrc, uint32_t offBmiSrc, const char **px, const U_RGBQUAD **ct, uint32_t *numCt, uint32_t *width, uint32_t *height, uint32_t *colortype, uint32_t *invert ) argument
924 DIB_to_RGBA( const char *px, const U_RGBQUAD *ct, int numCt, char **rgba_px, int w, int h, uint32_t colortype, int use_ct, int invert ) argument
[all...]
H A Duemf_endian.c312 uint32_t width, height, colortype, numCt, invert; // these values will be set in get_DIB_params local
316 &numCt, &width, &height, &colortype, &invert);
321 &numCt, &width, &height, &colortype, &invert);
325 if(numCt && colortype >= U_BCBM_COLOR16)return(0); //color tables not used above 16 bit pixels
326 if(!numCt && colortype < U_BCBM_COLOR16)return(0); //color tables mandatory for < 16 bit
H A Duwmf.c699 uint32_t numCt; // these values will be set in get_DIB_params
702 dibparams = wget_DIB_params(record, &px, (const U_RGBQUAD **) &ct, &numCt, &width, &height, &colortype, &invert);
704 if(numCt && colortype >= U_BCBM_COLOR16)return(0); //color tables not used above 16 bit pixels
705 if(!numCt && colortype < U_BCBM_COLOR16)return(0); //color tables mandatory for < 16 bit
4794 \param numCt DIB color table number of entries, for PNG or JPG returns the number of bytes in the image
4804 uint32_t *numCt,
4831 *numCt = get_real_color_count(dib);
4832 if(*numCt){
4834 *px += U_SIZE_COLORREF * (*numCt);
4839 memcpy(numCt, di
4800 wget_DIB_params( const char *dib, const char **px, const U_RGBQUAD **ct, uint32_t *numCt, int32_t *width, int32_t *height, int32_t *colortype, int32_t *invert ) argument
[all...]
H A Duemf.h3357 int RGBA_to_DIB(char **px, uint32_t *cbPx, PU_RGBQUAD *ct, int *numCt,
3360 const char **px, const U_RGBQUAD **ct, uint32_t *numCt,
3362 int DIB_to_RGBA(const char *px, const U_RGBQUAD *ct, int numCt,
H A Duwmf.h2412 int wget_DIB_params(const char *dib, const char **px, const U_RGBQUAD **ct, uint32_t *numCt,

Completed in 2526 milliseconds