Home
last modified time | relevance | path

Searched refs:pixels (Results 1 – 24 of 24) sorted by relevance

/PHP-8.2/ext/gd/libgd/
H A Dgd_transform.c22 p = im->pixels[y][x]; in gdImageFlipVertical()
23 im->pixels[y][x] = im->pixels[im->sy - 1 - y][x]; in gdImageFlipVertical()
24 im->pixels[im->sy - 1 - y][x] = p; in gdImageFlipVertical()
54 px1 = im->pixels[y]; in gdImageFlipHorizontal()
55 px2 = im->pixels[y] + im->sx - 1; in gdImageFlipHorizontal()
H A Dgd_avif.c359 rgb.pixels = NULL; in gdImageCreateFromAvifCtx()
418 uint8_t *p = rgb.pixels; in gdImageCreateFromAvifCtx()
434 if (rgb.pixels) in gdImageCreateFromAvifCtx()
554 p = rgb.pixels; in gdImageAvifCtx()
607 if (rgb.pixels) in gdImageAvifCtx()
H A Dgd_color_match.c36 color = im2->pixels[y][x]; in gdImageColorMatch()
H A Dgd_topal.c117 #define output_buf (nim->pixels)
1501 nim->pixels = gdCalloc (oim->sy, sizeof (unsigned char *)); in gdImageTrueColorToPaletteBody()
1502 if (!nim->pixels) in gdImageTrueColorToPaletteBody()
1509 nim->pixels[i] = gdCalloc (oim->sx, sizeof (unsigned char *)); in gdImageTrueColorToPaletteBody()
1510 if (!nim->pixels[i]) in gdImageTrueColorToPaletteBody()
1636 if (nim->pixels[i]) in gdImageTrueColorToPaletteBody()
1638 gdFree (nim->pixels[i]); in gdImageTrueColorToPaletteBody()
1641 if (nim->pixels) in gdImageTrueColorToPaletteBody()
1643 gdFree (nim->pixels); in gdImageTrueColorToPaletteBody()
1645 nim->pixels = 0; in gdImageTrueColorToPaletteBody()
H A Dgd_gd.c199 im->pixels[y][x] = ch; in gdImageCreateFromGdCtx()
259 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd()
H A Dgd_gd2.c359 im->pixels[y][x] = ch; in gdImageCreateFromGd2Ctx()
372 im->pixels[y][x] = chunkBuf[chunkPos++]; in gdImageCreateFromGd2Ctx()
608 im->pixels[y - srcy][x - srcx] = ch; in gdImageCreateFromGd2PartCtx()
770 chunkData[chunkLen++] = im->pixels[y][x]; in _gdImageGd2()
780 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd2()
H A Dgd_png.c421 im->pixels[h][w] = idx; in gdImageCreateFromPngCtx()
761 row_pointers[j][i] = mapping[im->pixels[j][i]]; in gdImagePngCtxEx()
774 png_write_image(png_ptr, im->pixels); in gdImagePngCtxEx()
H A Dgd.c189 im->pixels = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy); in gdImageCreate()
197 im->pixels[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreate()
280 if (im->pixels) { in gdImageDestroy()
282 gdFree(im->pixels[i]); in gdImageDestroy()
284 gdFree(im->pixels); in gdImageDestroy()
821 im->pixels[y][x] = color; in gdImageSetPixel()
987 return im->pixels[y][x]; in gdImageGetPixel()
3115 const unsigned char *src_row = src->pixels[y]; in gdImagePaletteToTrueColor()
3138 gdFree(src->pixels[yy]); in gdImagePaletteToTrueColor()
3140 gdFree(src->pixels); in gdImagePaletteToTrueColor()
[all …]
H A Dgd.h172 unsigned char ** pixels; member
785 #define gdImagePalettePixel(im, x, y) (im)->pixels[(y)][(x)]
H A Dgd_jpeg.c259 int idx = im->pixels[i][j]; in _gdImageJpegCtx()
H A Dgd_interpolation.c678 const int c = im->pixels[y][x]; in getPixelOverflowPalette()
1154 dst_img->tpixels[dst_offset_y][dst_offset_x++] = colorIndex2RGBA(im->pixels[m][n]); in gdImageScaleNearestNeighbour()
2406 dst_p = dst->pixels[dst_y + y] + dst_x; in gdTransformAffineCopy()
H A Dgdft.c750 pixel = &im->pixels[y][x];
/PHP-8.2/ext/gd/tests/
H A Dimagettftext_charmap_order.phpt60 printf("SUCCESS %d black pixels\n", $black_pixels);
62 printf("FAIL %d black pixels\n", $black_pixels);
67 SUCCESS %d black pixels
H A Dbug50194.phpt27 assert(preg_match('/The images are equal|The images differ in (\d+) pixels/', $output, $matches));
29 echo "The images differ in {$matches[1]} pixels.\n";
H A Dbug39508.phpt2 Bug #39508 (imagefill crashes with small images 3 pixels or less)
H A Davif_decode_encode.phpt52 echo 'How many pixels are different in the two images? ';
73 How many pixels are different in the two images? 0
H A Dtest_image_equals_file_palette.phpt33 The images differ in 25 pixels.
H A Dfunc.inc65 * It checks for equal image sizes, and whether any pixels are different.
110 echo "The images differ in {$pixels_changed} pixels.\n";
H A Dimagecopyresampled_variation1.phpt32 /* assert all pixels have the same color */
/PHP-8.2/ext/standard/tests/image/
H A Dgetimagesize_246x247.phpt2 GetImageSize() with 246x247 pixels
H A Dgetimagesize_384x385.phpt2 GetImageSize() with 384x385 pixels
/PHP-8.2/ext/gd/
H A Dgd.c2085 if (im->pixels && gdImageBoundsSafe(im, x, y)) { in PHP_FUNCTION()
2086 RETURN_LONG(im->pixels[y][x]); in PHP_FUNCTION()
/PHP-8.2/ext/fileinfo/tests/
H A Dmagic6536 # PixelsPerLine is the number of pixels in a scan line of bitmapp
9215 >380 lelong x \b%d pixels
13919 # lightening mask to eliminate pixels, usually 5555h
19320 # object height in pixels
29224 >>>>>>>(104.l+132) string/c cljr Proprietary YUV 4 pixels
H A Dmagic私はガラスを食べられます6536 # PixelsPerLine is the number of pixels in a scan line of bitmapp
9215 >380 lelong x \b%d pixels
13919 # lightening mask to eliminate pixels, usually 5555h
19320 # object height in pixels
29224 >>>>>>>(104.l+132) string/c cljr Proprietary YUV 4 pixels

Completed in 207 milliseconds