Lines Matching refs:new_height

1058 …_width, const unsigned int src_height, const unsigned int new_width, const unsigned int new_height)  in gdImageScaleTwoPass()  argument
1064 if (new_width == 0 || new_height == 0) { in gdImageScaleTwoPass()
1084 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleTwoPass()
1090 scale_pass_res = _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass()
1110 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour() local
1112 const float dy = (float)im->sy / (float)new_height; in gdImageScaleNearestNeighbour()
1121 if (new_width == 0 || new_height == 0) { in gdImageScaleNearestNeighbour()
1125 dst_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleNearestNeighbour()
1131 for (i=0; i<new_height; i++) { in gdImageScaleNearestNeighbour()
1162 …ageScaleBilinearPalette(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinearPalette() argument
1165 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1178 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearPalette()
1182 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearPalette()
1264 … gdImageScaleBilinearTC(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinearTC() argument
1267 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1279 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearTC()
1283 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearTC()
1353 …tr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinear() argument
1356 return gdImageScaleBilinearTC(im, new_width, new_height); in gdImageScaleBilinear()
1358 return gdImageScaleBilinearPalette(im, new_width, new_height); in gdImageScaleBilinear()
1365 const long new_height = MAX(1, height); in gdImageScaleBicubicFixed() local
1369 const gdFixed f_dy = gd_ftofx((float)src_h / (float)new_height); in gdImageScaleBicubicFixed()
1381 if (new_width == 0 || new_height == 0) { in gdImageScaleBicubicFixed()
1392 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBicubicFixed()
1399 for (i=0; i < new_height; i++) { in gdImageScaleBicubicFixed()
1587 …Ptr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height) in gdImageScale() argument
1595 if (new_width == 0 || new_height == 0) { in gdImageScale()
1602 im_scaled = gdImageScaleNearestNeighbour(src, new_width, new_height); in gdImageScale()
1606 im_scaled = gdImageScaleBilinear(src, new_width, new_height); in gdImageScale()
1610 im_scaled = gdImageScaleBicubicFixed(src, new_width, new_height); in gdImageScale()
1618 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale()
1657 int new_height, new_width; in gdImageRotateNearestNeighbour() local
1661 new_height = bbox.height; in gdImageRotateNearestNeighbour()
1663 if (new_width == 0 || new_height == 0) { in gdImageRotateNearestNeighbour()
1667 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateNearestNeighbour()
1672 for (i = 0; i < new_height; i++) { in gdImageRotateNearestNeighbour()
1676 gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateNearestNeighbour()
1684 if (dst_offset_y < new_height) { in gdImageRotateNearestNeighbour()
1688 if (dst_offset_y < new_height) { in gdImageRotateNearestNeighbour()
1713 int new_width, new_height; in gdImageRotateGeneric() local
1729 new_height = bbox.height; in gdImageRotateGeneric()
1731 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateGeneric()
1737 for (i = 0; i < new_height; i++) { in gdImageRotateGeneric()
1741 gdFixed f_i = gd_itofx((int)i - (int)new_height/ 2); in gdImageRotateGeneric()
1769 unsigned int new_width, new_height; in gdImageRotateBilinear() local
1786 new_height = bbox.height; in gdImageRotateBilinear()
1788 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBilinear()
1794 for (i = 0; i < new_height; i++) { in gdImageRotateBilinear()
1799 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBilinear()
1884 unsigned int new_width, new_height; in gdImageRotateBicubicFixed() local
1904 new_height = bbox.height; in gdImageRotateBicubicFixed()
1905 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBicubicFixed()
1912 for (i=0; i < new_height; i++) { in gdImageRotateBicubicFixed()
1917 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBicubicFixed()