Home
last modified time | relevance | path

Searched refs:trueColor (Results 1 – 17 of 17) sorted by relevance

/php-src/ext/gd/libgd/
H A Dgd_gd.c34 if (trueColorFlag != im->trueColor) { in _gdGetColors()
38 if (!im->trueColor) { in _gdGetColors()
64 if (im->trueColor) { in _gdGetColors()
180 if (im->trueColor) { in gdImageCreateFromGdCtx()
216 gdPutC(im->trueColor, out); in _gdPutColors()
217 if (!im->trueColor) { in _gdPutColors()
221 if (!im->trueColor) { in _gdPutColors()
236 if (im->trueColor) { in _gdPutHeader()
256 if (im->trueColor) { in _gdImageGd()
H A Dgd_color_match.c18 if( !im1->trueColor ) { in gdImageColorMatch()
21 if( im2->trueColor ) { in gdImageColorMatch()
H A Dgd_rotate.c25 if (src->trueColor) { in gdImageSkewX()
120 if (src->trueColor) { in gdImageSkewY()
209 if (src->trueColor) { in gdImageRotate90()
227 if (!src->trueColor) { in gdImageRotate90()
256 if (src->trueColor) { in gdImageRotate180()
274 if (!src->trueColor) { in gdImageRotate180()
304 if (src->trueColor) { in gdImageRotate270()
322 if (!src->trueColor) { in gdImageRotate270()
H A Dgd_gd2.c291 bytesPerPixel = im->trueColor ? 4 : 1; in gdImageCreateFromGd2Ctx()
346 if (im->trueColor) { in gdImageCreateFromGd2Ctx()
364 if (im->trueColor) { in gdImageCreateFromGd2Ctx()
497 if (im->trueColor) { in gdImageCreateFromGd2PartCtx()
553 if (im->trueColor) { in gdImageCreateFromGd2PartCtx()
582 if (im->trueColor) { in gdImageCreateFromGd2PartCtx()
593 if (im->trueColor) { in gdImageCreateFromGd2PartCtx()
605 if (im->trueColor) { in gdImageCreateFromGd2PartCtx()
684 if (im->trueColor) { in _gdImageGd2()
763 if (im->trueColor) { in _gdImageGd2()
[all …]
H A Dgd_transform.c7 if (im->trueColor) { in gdImageFlipVertical()
36 if (im->trueColor) { in gdImageFlipHorizontal()
H A Dgd.c182 im->trueColor = 0; in gdImageCreate()
225 im->trueColor = 1; in gdImageCreateTrueColor()
284 if (im->trueColor) { in gdImageColorClosestAlpha()
449 if (im->trueColor) { in gdImageColorClosestHWB()
475 if (im->trueColor) { in gdImageColorExactAlpha()
498 if (im->trueColor) { in gdImageColorAllocateAlpha()
546 if (im->trueColor) in gdImageColorResolveAlpha()
629 if (to->trueColor || from->trueColor) { in gdImagePaletteCopy()
2876 if (!im->trueColor && !im->brush->trueColor) { in gdImageSetBrush()
2889 if (!im->trueColor && !im->tile->trueColor) { in gdImageSetTile()
[all …]
H A Dgd_png.c360 if (!im->trueColor) { in gdImageCreateFromPngCtx()
427 if (!im->trueColor) { in gdImageCreateFromPngCtx()
566 if (!im->trueColor) { in gdImagePngCtxEx()
603 if (im->trueColor) { in gdImagePngCtxEx()
616 if (im->trueColor && !im->saveAlphaFlag && (transparent >= 0)) { in gdImagePngCtxEx()
624 if (!im->trueColor) { in gdImagePngCtxEx()
673 if (!im->trueColor) { in gdImagePngCtxEx()
708 if (im->trueColor) { in gdImagePngCtxEx()
H A Dwebpng.c140 if (!im->trueColor) in main()
197 if (im->trueColor) { in main()
H A Dgd.h217 int trueColor; member
766 #define gdImageTrueColor(im) ((im)->trueColor)
771 #define gdImageRed(im, c) ((im)->trueColor ? gdTrueColorGetRed(c) : \
773 #define gdImageGreen(im, c) ((im)->trueColor ? gdTrueColorGetGreen(c) : \
775 #define gdImageBlue(im, c) ((im)->trueColor ? gdTrueColorGetBlue(c) : \
777 #define gdImageAlpha(im, c) ((im)->trueColor ? gdTrueColorGetAlpha(c) : \
H A Dgd_bmp.c101 if (im->trueColor) { in gdImageBmpCtx()
119 bitmap_size = ((im->sx * (im->trueColor ? 24 : 8)) / 8) * im->sy; in gdImageBmpCtx()
125 if (!im->trueColor) { in gdImageBmpCtx()
147 gdBMPPutWord(out, (im->trueColor ? 24 : 8)); /* bit count */ in gdImageBmpCtx()
156 padding = ((int)(im->trueColor ? 3 : 1) * im->sx) % 4; in gdImageBmpCtx()
162 if (!im->trueColor) { in gdImageBmpCtx()
H A Dgd_interpolation.c703 if (im->trueColor) { in getPixelInterpolateWeight()
759 if (im->trueColor == 1) { in getPixelInterpolated()
781 if (im->trueColor) { in getPixelInterpolated()
1059 if (!src->trueColor) { in gdImageScaleTwoPass()
1124 if (im->trueColor) { in gdImageScaleNearestNeighbour()
1345 if (im->trueColor) { in gdImageScaleBilinear()
1378 if (src->trueColor == 0) { in gdImageScaleBicubicFixed()
2149 if (src->trueColor == 0) { in gdImageRotateInterpolated()
2273 if (!src->trueColor) { in gdTransformAffineGetImage()
2393 if (dst->trueColor) { in gdTransformAffineCopy()
[all …]
H A Dgdft.c607 if (im->trueColor) {
649 if (im->trueColor) {
674 if ((fg >= 0) && (im->trueColor)) {
845 int render = (im && (im->trueColor || (fg <= 255 && fg >= -255)));
H A Dgd_topal.c1448 oim->trueColor = 0; in free_truecolor_image_data()
1480 if (!oim->trueColor) in gdImageTrueColorToPaletteBody()
1630 if (oim->trueColor) in gdImageTrueColorToPaletteBody()
H A Dgd_gif_out.c134 if (im->trueColor) { in _gdImageGifCtx()
H A Dgd_filter.c21 #define GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel)
H A Dgd_jpeg.c235 if (im->trueColor) { in _gdImageJpegCtx()
/php-src/ext/gd/
H A Dgd.c711 RETURN_BOOL(im->trueColor); in PHP_FUNCTION()
3827 if (im->trueColor) { in PHP_FUNCTION()

Completed in 105 milliseconds