Searched refs:pixels (Results 1 – 25 of 25) sorted by relevance
/PHP-7.1/ext/gd/libgd/ |
H A D | gd_transform.c | 22 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 D | gd_color.c | 41 color = im2->pixels[y][x]; in gdImageColorMatch()
|
H A D | gd_gd.c | 199 im->pixels[y][x] = ch; in gdImageCreateFromGdCtx() 259 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd()
|
H A D | gd_gd2.c | 358 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 D | gd_topal.c | 131 #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 D | gd_crop.c | 91 dst->pixels[y - crop->y][x - crop->x] = src->pixels[y][x]; in gdImageCrop()
|
H A D | gd_png.c | 396 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 D | gd.c | 141 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 D | gd.h | 171 unsigned char ** pixels; member 745 #define gdImagePalettePixel(im, x, y) (im)->pixels[(y)][(x)]
|
H A D | gd_jpeg.c | 245 int idx = im->pixels[i][j]; in gdImageJpegCtx()
|
H A D | gdft.c | 733 pixel = &im->pixels[y][x];
|
H A D | gd_interpolation.c | 710 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 D | imagettftext_charmap_order.phpt | 59 printf("SUCCESS %d black pixels\n", $black_pixels); 61 printf("FAIL %d black pixels\n", $black_pixels); 66 SUCCESS %d black pixels
|
H A D | bug50194.phpt | 26 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 D | bug39508.phpt | 2 Bug #39508 (imagefill crashes with small images 3 pixels or less)
|
H A D | bug39286-mb.phpt | 2 Bug #39508 (imagefill crashes with small images 3 pixels or less)
|
H A D | bug39286.phpt | 2 Bug #39508 (imagefill crashes with small images 3 pixels or less)
|
H A D | test_image_equals_file_palette.phpt | 36 The images differ in 25 pixels.
|
H A D | func.inc | 65 * It checks for equal image sizes, and whether any pixels are different. 110 echo "The images differ in {$pixels_changed} pixels.\n";
|
H A D | imagecopyresampled_variation1.phpt | 34 /* assert all pixels have the same color */
|
/PHP-7.1/ext/standard/tests/image/ |
H A D | getimagesize_246x247.phpt | 2 GetImageSize() with 246x247 pixels
|
H A D | getimagesize_384x385.phpt | 2 GetImageSize() with 384x385 pixels
|
/PHP-7.1/ext/gd/ |
H A D | gd.c | 2845 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 D | magic | 5103 >380 lelong x \b%d pixels
|
H A D | magic私はガラスを食べられます | 5103 >380 lelong x \b%d pixels
|
Completed in 365 milliseconds