Lines Matching refs:new_height

1029 …_width, const unsigned int src_height, const unsigned int new_width, const unsigned int new_height)  in gdImageScaleTwoPass()  argument
1035 if (new_width == 0 || new_height == 0) { in gdImageScaleTwoPass()
1055 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleTwoPass()
1061 scale_pass_res = _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass()
1081 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour() local
1083 const float dy = (float)im->sy / (float)new_height; in gdImageScaleNearestNeighbour()
1092 if (new_width == 0 || new_height == 0) { in gdImageScaleNearestNeighbour()
1096 dst_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleNearestNeighbour()
1102 for (i=0; i<new_height; i++) { in gdImageScaleNearestNeighbour()
1133 …ageScaleBilinearPalette(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinearPalette() argument
1136 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1149 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearPalette()
1153 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearPalette()
1235 … gdImageScaleBilinearTC(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinearTC() argument
1238 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1250 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearTC()
1254 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearTC()
1324 …tr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) in gdImageScaleBilinear() argument
1327 return gdImageScaleBilinearTC(im, new_width, new_height); in gdImageScaleBilinear()
1329 return gdImageScaleBilinearPalette(im, new_width, new_height); in gdImageScaleBilinear()
1336 const long new_height = MAX(1, height); in gdImageScaleBicubicFixed() local
1340 const gdFixed f_dy = gd_ftofx((float)src_h / (float)new_height); in gdImageScaleBicubicFixed()
1352 if (new_width == 0 || new_height == 0) { in gdImageScaleBicubicFixed()
1363 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBicubicFixed()
1370 for (i=0; i < new_height; i++) { in gdImageScaleBicubicFixed()
1558 …Ptr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height) in gdImageScale() argument
1566 if (new_width == 0 || new_height == 0) { in gdImageScale()
1573 im_scaled = gdImageScaleNearestNeighbour(src, new_width, new_height); in gdImageScale()
1577 im_scaled = gdImageScaleBilinear(src, new_width, new_height); in gdImageScale()
1581 im_scaled = gdImageScaleBicubicFixed(src, new_width, new_height); in gdImageScale()
1589 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale()
1628 int new_height, new_width; in gdImageRotateNearestNeighbour() local
1632 new_height = bbox.height; in gdImageRotateNearestNeighbour()
1634 if (new_width == 0 || new_height == 0) { in gdImageRotateNearestNeighbour()
1638 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateNearestNeighbour()
1643 for (i = 0; i < new_height; i++) { in gdImageRotateNearestNeighbour()
1647 gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateNearestNeighbour()
1655 if (dst_offset_y < new_height) { in gdImageRotateNearestNeighbour()
1659 if (dst_offset_y < new_height) { in gdImageRotateNearestNeighbour()
1684 int new_width, new_height; in gdImageRotateGeneric() local
1700 new_height = bbox.height; in gdImageRotateGeneric()
1702 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateGeneric()
1708 for (i = 0; i < new_height; i++) { in gdImageRotateGeneric()
1712 gdFixed f_i = gd_itofx((int)i - (int)new_height/ 2); in gdImageRotateGeneric()
1740 unsigned int new_width, new_height; in gdImageRotateBilinear() local
1757 new_height = bbox.height; in gdImageRotateBilinear()
1759 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBilinear()
1765 for (i = 0; i < new_height; i++) { in gdImageRotateBilinear()
1770 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBilinear()
1855 unsigned int new_width, new_height; in gdImageRotateBicubicFixed() local
1875 new_height = bbox.height; in gdImageRotateBicubicFixed()
1876 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBicubicFixed()
1883 for (i=0; i < new_height; i++) { in gdImageRotateBicubicFixed()
1888 const gdFixed f_i = gd_itofx((int)i - (int)new_height/2); in gdImageRotateBicubicFixed()