Lines Matching refs:new_width

1024 …signed int src_width, const unsigned int src_height, const unsigned int new_width, const unsigned …  in gdImageScaleTwoPass()  argument
1030 if (new_width == 0 || new_height == 0) { in gdImageScaleTwoPass()
1039 tmp_im = gdImageCreateTrueColor(new_width, src_height); in gdImageScaleTwoPass()
1044 scale_pass_res = _gdScaleHoriz(src, src_width, src_height, tmp_im, new_width, src_height); in gdImageScaleTwoPass()
1050 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleTwoPass()
1056 scale_pass_res = _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass()
1075 const unsigned long new_width = MAX(1, width); in gdImageScaleNearestNeighbour() local
1077 const float dx = (float)im->sx / (float)new_width; in gdImageScaleNearestNeighbour()
1087 if (new_width == 0 || new_height == 0) { in gdImageScaleNearestNeighbour()
1091 dst_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleNearestNeighbour()
1101 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour()
1112 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour()
1176 static gdImagePtr gdImageScaleBilinearPalette(gdImagePtr im, const unsigned int new_width, const un… in gdImageScaleBilinearPalette() argument
1178 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1192 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearPalette()
1196 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearPalette()
1278 static gdImagePtr gdImageScaleBilinearTC(gdImagePtr im, const unsigned int new_width, const unsigne… in gdImageScaleBilinearTC() argument
1280 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1294 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearTC()
1298 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearTC()
1369 gdImagePtr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new… in gdImageScaleBilinear() argument
1372 return gdImageScaleBilinearTC(im, new_width, new_height); in gdImageScaleBilinear()
1374 return gdImageScaleBilinearPalette(im, new_width, new_height); in gdImageScaleBilinear()
1380 const long new_width = MAX(1, width); in gdImageScaleBicubicFixed() local
1384 const gdFixed f_dx = gd_ftofx((float)src_w / (float)new_width); in gdImageScaleBicubicFixed()
1397 if (new_width == 0 || new_height == 0) { in gdImageScaleBicubicFixed()
1408 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBicubicFixed()
1419 for (j=0; j < new_width; j++) { in gdImageScaleBicubicFixed()
1603 gdImagePtr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_… in gdImageScale() argument
1611 if (new_width == 0 || new_height == 0) { in gdImageScale()
1618 im_scaled = gdImageScaleNearestNeighbour(src, new_width, new_height); in gdImageScale()
1622 im_scaled = gdImageScaleBilinear(src, new_width, new_height); in gdImageScale()
1626 im_scaled = gdImageScaleBicubicFixed(src, new_width, new_height); in gdImageScale()
1634 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale()
1673 int new_height, new_width; in gdImageRotateNearestNeighbour() local
1676 new_width = bbox.width; in gdImageRotateNearestNeighbour()
1679 if (new_width == 0 || new_height == 0) { in gdImageRotateNearestNeighbour()
1683 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateNearestNeighbour()
1691 for (j = 0; j < new_width; j++) { in gdImageRotateNearestNeighbour()
1693 gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateNearestNeighbour()
1729 int new_width, new_height; in gdImageRotateGeneric() local
1744 new_width = bbox.width; in gdImageRotateGeneric()
1747 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateGeneric()
1756 for (j = 0; j < new_width; j++) { in gdImageRotateGeneric()
1758 gdFixed f_j = gd_itofx((int)j - (int)new_width / 2); in gdImageRotateGeneric()
1785 unsigned int new_width, new_height; in gdImageRotateBilinear() local
1801 new_width = bbox.width; in gdImageRotateBilinear()
1804 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBilinear()
1814 for (j=0; j < new_width; j++) { in gdImageRotateBilinear()
1816 const gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateBilinear()
1900 unsigned int new_width, new_height; in gdImageRotateBicubicFixed() local
1919 new_width = bbox.width; in gdImageRotateBicubicFixed()
1921 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBicubicFixed()
1932 for (j=0; j < new_width; j++) { in gdImageRotateBicubicFixed()
1934 const gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateBicubicFixed()