Home
last modified time | relevance | path

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

/PHP-7.1/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_color.c41 color = im2->pixels[y][x]; in gdImageColorMatch()
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.c358 im->pixels[y][x] = ch; in gdImageCreateFromGd2Ctx()
371 im->pixels[y][x] = chunkBuf[chunkPos++]; in gdImageCreateFromGd2Ctx()
607 im->pixels[y - srcy][x - srcx] = ch; in gdImageCreateFromGd2PartCtx()
769 chunkData[chunkLen++] = im->pixels[y][x]; in _gdImageGd2()
779 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd2()
H A Dgd_topal.c131 #define output_buf (nim->pixels)
1820 nim->pixels = gdCalloc (sizeof (unsigned char *), oim->sy);
1821 if (!nim->pixels)
1828 nim->pixels[i] = gdCalloc (sizeof (unsigned char *), oim->sx);
1829 if (!nim->pixels[i])
2026 if (nim->pixels[i])
2028 gdFree (nim->pixels[i]);
2031 if (nim->pixels)
2033 gdFree (nim->pixels);
2035 nim->pixels = 0;
H A Dgd_crop.c91 dst->pixels[y - crop->y][x - crop->x] = src->pixels[y][x]; in gdImageCrop()
H A Dgd_png.c396 im->pixels[h][w] = idx; in gdImageCreateFromPngCtx()
735 row_pointers[j][i] = mapping[im->pixels[j][i]]; in gdImagePngCtxEx()
748 png_write_image(png_ptr, im->pixels); in gdImagePngCtxEx()
H A Dgd.c141 im->pixels = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy); in gdImageCreate()
150 im->pixels[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreate()
236 if (im->pixels) { in gdImageDestroy()
238 gdFree(im->pixels[i]); in gdImageDestroy()
240 gdFree(im->pixels); in gdImageDestroy()
780 im->pixels[y][x] = color; in gdImageSetPixel()
1008 return im->pixels[y][x]; in gdImageGetPixel()
3072 const unsigned char *src_row = src->pixels[y]; in gdImagePaletteToTrueColor()
3095 gdFree(src->pixels[yy]); in gdImagePaletteToTrueColor()
3097 gdFree(src->pixels); in gdImagePaletteToTrueColor()
[all …]
H A Dgd.h171 unsigned char ** pixels; member
745 #define gdImagePalettePixel(im, x, y) (im)->pixels[(y)][(x)]
H A Dgd_jpeg.c245 int idx = im->pixels[i][j]; in gdImageJpegCtx()
H A Dgdft.c733 pixel = &im->pixels[y][x];
H A Dgd_interpolation.c710 const int c = im->pixels[y][x]; in getPixelOverflowPalette()
1202 dst_img->tpixels[dst_offset_y][dst_offset_x++] = colorIndex2RGBA(im->pixels[m][n]); in gdImageScaleNearestNeighbour()
/PHP-7.1/ext/gd/tests/
H A Dimagettftext_charmap_order.phpt59 printf("SUCCESS %d black pixels\n", $black_pixels);
61 printf("FAIL %d black pixels\n", $black_pixels);
66 SUCCESS %d black pixels
H A Dbug50194.phpt26 assert(preg_match('/The images are equal|The images differ in (\d+) pixels/', $output, $matches));
28 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 Dbug39286-mb.phpt2 Bug #39508 (imagefill crashes with small images 3 pixels or less)
H A Dbug39286.phpt2 Bug #39508 (imagefill crashes with small images 3 pixels or less)
H A Dtest_image_equals_file_palette.phpt36 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.phpt34 /* assert all pixels have the same color */
/PHP-7.1/ext/standard/tests/image/
H A Dgetimagesize_246x247.phpt2 GetImageSize() with 246x247 pixels
H A Dgetimagesize_384x385.phpt2 GetImageSize() with 384x385 pixels
/PHP-7.1/ext/gd/
H A Dgd.c2845 if (im->pixels && gdImageBoundsSafe(im, x, y)) { in PHP_FUNCTION()
2846 RETURN_LONG(im->pixels[y][x]); in PHP_FUNCTION()
/PHP-7.1/ext/fileinfo/tests/
H A Dmagic5103 >380 lelong x \b%d pixels
H A Dmagic私はガラスを食べられます5103 >380 lelong x \b%d pixels

Completed in 365 milliseconds