Searched refs:im2 (Results 1 - 8 of 8) sorted by relevance
| /PHP_TRUNK/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; variable 65 while( ((($re2+$im2)<1000000) && $color>0)) { 67 $re=$re2-$im2+$rec; 69 $im2=$im*$im; variable
|
| /PHP_TRUNK/ext/gd/libgd/ |
| H A D | gd_color.c | 12 /* bring the palette colors in im2 to be closer to im1 15 int gdImageColorMatch (gdImagePtr im1, gdImagePtr im2) argument 26 if( im2->trueColor ) { 27 return -2; /* im2 must be indexed */ 29 if( (im1->sx != im2->sx) || (im1->sy != im2->sy) ) { 32 if (im2->colorsTotal<1) { 36 buf = (unsigned long *)safe_emalloc(sizeof(unsigned long), 5 * im2->colorsTotal, 0); 37 memset( buf, 0, sizeof(unsigned long) * 5 * im2->colorsTotal ); 41 color = im2 [all...] |
| H A D | gd_webp.c | 17 extern void gd_RGBAToYUV420(gdImagePtr im2,
|
| H A D | gdtest.c | 14 void CompareImages (char *msg, gdImagePtr im1, gdImagePtr im2); 22 gdImagePtr im, ref, im2, im3; local 70 im2 = gdImageCreateFromPng (in); 73 CompareImages ("GD->PNG File->GD", ref, im2); 76 gdImageDestroy (im2); 80 im2 = gdImageCreateFromPngCtx (ctx); 82 CompareImages ("GD->PNG ptr->GD", ref, im2); 84 gdImageDestroy (im2); 102 im2 = gdImageCreateFromGd2 (in); 105 CompareImages ("GD->GD2 File->GD", ref, im2); 360 CompareImages(char *msg, gdImagePtr im1, gdImagePtr im2) argument [all...] |
| H A D | webpimg.c | 535 void gd_RGBAToYUV420(gdImagePtr im2, argument 539 int y_width = im2->sx; 540 int y_height = im2->sy; 548 if (!im2->trueColor) { 552 im = gdImageCreateTrueColor(im2->sx, im2->sy); 557 gdImageCopy(im, im2, 0, 0, 0, 0, im->sx, im->sy); 560 im = im2;
|
| H A D | gd.h | 570 and im2 is the palette version */ 571 int gdImageColorMatch(gdImagePtr im1, gdImagePtr im2); 803 int gdImageCompare(gdImagePtr im1, gdImagePtr im2);
|
| H A D | gd.c | 2780 int gdImageCompare (gdImagePtr im1, gdImagePtr im2) argument 2787 if (im1->interlace != im2->interlace) { 2791 if (im1->transparent != im2->transparent) { 2795 if (im1->trueColor != im2->trueColor) { 2800 if (im1->sx != im2->sx) { 2802 if (im2->sx < im1->sx) { 2803 sx = im2->sx; 2808 if (im1->sy != im2->sy) { 2810 if (im2->sy < im1->sy) { 2811 sy = im2 [all...] |
| /PHP_TRUNK/ext/gd/ |
| H A D | gd.c | 179 ZEND_ARG_INFO(0, im2) 1653 /* {{{ proto bool imagecolormatch(resource im1, resource im2) 1658 gdImagePtr im1, im2; local 1666 ZEND_FETCH_RESOURCE(im2, gdImagePtr, &IM2, -1, "Image", le_gd); 1668 result = gdImageColorMatch(im1, im2);
|
Completed in 20 milliseconds