Home
last modified time | relevance | path

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

/php-src/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()
412 uint8_t *p = rgb.pixels; in gdImageCreateFromAvifCtx()
428 if (rgb.pixels) in gdImageCreateFromAvifCtx()
537 p = rgb.pixels; in gdImageAvifCtx()
584 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 (sizeof (unsigned char *), oim->sy); in gdImageTrueColorToPaletteBody()
1502 if (!nim->pixels) in gdImageTrueColorToPaletteBody()
1509 nim->pixels[i] = gdCalloc (sizeof (unsigned char *), oim->sx); 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.c159 im->pixels = (unsigned char **) gdMalloc(sizeof(unsigned char *) * sy); in gdImageCreate()
167 im->pixels[i] = (unsigned char *) gdCalloc(sx, sizeof(unsigned char)); in gdImageCreate()
250 if (im->pixels) { in gdImageDestroy()
252 gdFree(im->pixels[i]); in gdImageDestroy()
254 gdFree(im->pixels); in gdImageDestroy()
791 im->pixels[y][x] = color; in gdImageSetPixel()
957 return im->pixels[y][x]; in gdImageGetPixel()
3085 const unsigned char *src_row = src->pixels[y]; in gdImagePaletteToTrueColor()
3108 gdFree(src->pixels[yy]); in gdImagePaletteToTrueColor()
3110 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.c668 const int c = im->pixels[y][x]; in getPixelOverflowPalette()
1114 dst_img->tpixels[dst_offset_y][dst_offset_x++] = colorIndex2RGBA(im->pixels[m][n]); in gdImageScaleNearestNeighbour()
2366 dst_p = dst->pixels[dst_y + y] + dst_x; in gdTransformAffineCopy()
H A Dgdft.c750 pixel = &im->pixels[y][x];
/php-src/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.phpt29 assert(preg_match('/The images are equal|The images differ in (\d+) pixels/', $output, $matches));
31 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.phpt39 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-src/ext/standard/tests/image/
H A Dgetimagesize_246x247.phpt2 GetImageSize() with 246x247 pixels
H A Dgetimagesize_384x385.phpt2 GetImageSize() with 384x385 pixels
/php-src/ext/gd/
H A Dgd.c2076 if (im->pixels && gdImageBoundsSafe(im, x, y)) { in PHP_FUNCTION()
2077 RETURN_LONG(im->pixels[y][x]); in PHP_FUNCTION()
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます7363 # PixelsPerLine is the number of pixels in a scan line of bitmapp
10230 >380 lelong x \b%d pixels
15399 # lightening mask to eliminate pixels, usually 5555h
20142 # width in pixels: 1-30000 1-300000 for PSB
22075 # object height in pixels
33981 >>>>>>>(104.l+132) string/c cljr Proprietary YUV 4 pixels
H A Dmagic7363 # PixelsPerLine is the number of pixels in a scan line of bitmapp
10230 >380 lelong x \b%d pixels
15399 # lightening mask to eliminate pixels, usually 5555h
20142 # width in pixels: 1-30000 1-300000 for PSB
22075 # object height in pixels
33981 >>>>>>>(104.l+132) string/c cljr Proprietary YUV 4 pixels

Completed in 226 milliseconds