Searched refs:im2 (Results 1 – 17 of 17) sorted by relevance
/PHP-5.5/ext/gd/libgd/ |
H A D | gdtest.c | 76 gdImageDestroy (im2); in main() 84 gdImageDestroy (im2); in main() 108 gdImageDestroy (im2); in main() 119 gdImageDestroy (im2); in main() 143 gdImageDestroy (im2); in main() 154 gdImageDestroy (im2); in main() 168 if (im2 == NULL) in main() 229 gdImageDestroy (im2); in main() 270 gdImageDestroy (im2); in main() 290 if (!im2) in main() [all …]
|
H A D | gd_color.c | 15 int gdImageColorMatch (gdImagePtr im1, gdImagePtr im2) in gdImageColorMatch() argument 26 if( im2->trueColor ) { in gdImageColorMatch() 29 if( (im1->sx != im2->sx) || (im1->sy != im2->sy) ) { in gdImageColorMatch() 32 if (im2->colorsTotal<1) { in gdImageColorMatch() 37 memset( buf, 0, sizeof(unsigned long) * 5 * im2->colorsTotal ); in gdImageColorMatch() 41 color = im2->pixels[y][x]; in gdImageColorMatch() 52 for (color=0; color<im2->colorsTotal; color++) { in gdImageColorMatch() 55 im2->red[color] = *(bp++) / count; in gdImageColorMatch() 56 im2->green[color] = *(bp++) / count; in gdImageColorMatch() 57 im2->blue[color] = *(bp++) / count; in gdImageColorMatch() [all …]
|
H A D | webpimg.c | 535 void gd_RGBAToYUV420(gdImagePtr im2, in gd_RGBAToYUV420() argument 539 int y_width = im2->sx; in gd_RGBAToYUV420() 540 int y_height = im2->sy; in gd_RGBAToYUV420() 548 if (!im2->trueColor) { in gd_RGBAToYUV420() 552 im = gdImageCreateTrueColor(im2->sx, im2->sy); in gd_RGBAToYUV420() 557 gdImageCopy(im, im2, 0, 0, 0, 0, im->sx, im->sy); in gd_RGBAToYUV420() 560 im = im2; in gd_RGBAToYUV420()
|
H A D | gd.c | 2798 if (im1->interlace != im2->interlace) { in gdImageCompare() 2802 if (im1->transparent != im2->transparent) { in gdImageCompare() 2806 if (im1->trueColor != im2->trueColor) { in gdImageCompare() 2811 if (im1->sx != im2->sx) { in gdImageCompare() 2813 if (im2->sx < im1->sx) { in gdImageCompare() 2814 sx = im2->sx; in gdImageCompare() 2819 if (im1->sy != im2->sy) { in gdImageCompare() 2821 if (im2->sy < im1->sy) { in gdImageCompare() 2822 sy = im2->sy; in gdImageCompare() 2826 if (im1->colorsTotal != im2->colorsTotal) { in gdImageCompare() [all …]
|
H A D | gd_webp.c | 17 extern void gd_RGBAToYUV420(gdImagePtr im2,
|
H A D | gd.h | 571 int gdImageColorMatch(gdImagePtr im1, gdImagePtr im2); 803 int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
|
/PHP-5.5/ext/gd/tests/ |
H A D | copypalette.phpt | 15 $im2 = imagecreate(1,1); 16 imagepalettecopy($im2, $im); 19 $c = imagecolorsforindex($im2, $i); 30 $im2 = imagecreate(1,1); 33 imagepalettecopy($im2, $im); 34 $c = imagecolorsforindex($im2, 0);
|
H A D | createfromgd2.phpt | 11 $im2 = imagecreatefromgd2($file); 13 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed'; 18 echo imagecolorat($im2, 4,4) == 0xffffff ? 'ok' : 'failed';
|
H A D | imagewbmp.phpt | 16 $im2 = imagecreatefromwbmp($file); 18 $c = imagecolorsforindex($im2, imagecolorat($im2, 3,3));
|
H A D | bug27582_1.phpt | 20 $im2 = imagecreatefrompng($dest); 21 $col = imagecolorat($im2, 5, 5); 22 $color = imagecolorsforindex($im2, $col);
|
H A D | createfromwbmp.phpt | 11 $im2 = imagecreatefromwbmp($file); 13 echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';
|
H A D | colormatch.phpt | 11 $im2 = imagecreate(5,5); 13 imagecolormatch($im, $im2);
|
H A D | pngcomp.phpt | 23 $im2 = imagecreatefrompng($cwd . '/test_pngcomp.png'); 24 $col = imagecolorat($im2, 8,8);
|
H A D | bug24155.phpt | 20 $im2 = imagecreatefrompng($dest); 23 $col = imagecolorat($im2, 20, 20);
|
H A D | gif.phpt | 18 $im2 = imagecreatefromgif($cwd . '/test_gif.gif'); 20 $c = imagecolorsforindex($im2, imagecolorat($im2, 8,8));
|
/PHP-5.5/Zend/ |
H A D | bench.php | 51 $s=0; $rec=0; $imc=0; $re=0; $im=0; $re2=0; $im2=0; 64 $im2=$im*$im; 65 while( ((($re2+$im2)<1000000) && $color>0)) { 67 $re=$re2-$im2+$rec; 69 $im2=$im*$im;
|
/PHP-5.5/ext/gd/ |
H A D | gd.c | 171 ZEND_ARG_INFO(0, im2) 1656 gdImagePtr im1, im2; in PHP_FUNCTION() local 1664 ZEND_FETCH_RESOURCE(im2, gdImagePtr, &IM2, -1, "Image", le_gd); in PHP_FUNCTION() 1666 result = gdImageColorMatch(im1, im2); in PHP_FUNCTION()
|
Completed in 51 milliseconds