Lines Matching refs:new_width

1028 …signed int src_width, const unsigned int src_height, const unsigned int new_width, const unsigned …  in gdImageScaleTwoPass()  argument
1034 if (new_width == 0 || new_height == 0) { in gdImageScaleTwoPass()
1043 tmp_im = gdImageCreateTrueColor(new_width, src_height); in gdImageScaleTwoPass()
1048 scale_pass_res = _gdScaleHoriz(src, src_width, src_height, tmp_im, new_width, src_height); in gdImageScaleTwoPass()
1054 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleTwoPass()
1060 scale_pass_res = _gdScaleVert(tmp_im, new_width, src_height, dst, new_width, new_height); in gdImageScaleTwoPass()
1079 const unsigned long new_width = MAX(1, width); in gdImageScaleNearestNeighbour() local
1081 const float dx = (float)im->sx / (float)new_width; in gdImageScaleNearestNeighbour()
1091 if (new_width == 0 || new_height == 0) { in gdImageScaleNearestNeighbour()
1095 dst_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleNearestNeighbour()
1105 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour()
1116 for (j=0; j<new_width; j++) { in gdImageScaleNearestNeighbour()
1132 static gdImagePtr gdImageScaleBilinearPalette(gdImagePtr im, const unsigned int new_width, const un… in gdImageScaleBilinearPalette() argument
1134 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1148 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearPalette()
1152 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearPalette()
1234 static gdImagePtr gdImageScaleBilinearTC(gdImagePtr im, const unsigned int new_width, const unsigne… in gdImageScaleBilinearTC() argument
1236 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1249 if (new_width == 0 || new_height == 0) { in gdImageScaleBilinearTC()
1253 new_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBilinearTC()
1323 gdImagePtr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new… in gdImageScaleBilinear() argument
1326 return gdImageScaleBilinearTC(im, new_width, new_height); in gdImageScaleBilinear()
1328 return gdImageScaleBilinearPalette(im, new_width, new_height); in gdImageScaleBilinear()
1334 const long new_width = MAX(1, width); in gdImageScaleBicubicFixed() local
1338 const gdFixed f_dx = gd_ftofx((float)src_w / (float)new_width); in gdImageScaleBicubicFixed()
1351 if (new_width == 0 || new_height == 0) { in gdImageScaleBicubicFixed()
1362 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleBicubicFixed()
1373 for (j=0; j < new_width; j++) { in gdImageScaleBicubicFixed()
1557 gdImagePtr gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_… in gdImageScale() argument
1565 if (new_width == 0 || new_height == 0) { in gdImageScale()
1572 im_scaled = gdImageScaleNearestNeighbour(src, new_width, new_height); in gdImageScale()
1576 im_scaled = gdImageScaleBilinear(src, new_width, new_height); in gdImageScale()
1580 im_scaled = gdImageScaleBicubicFixed(src, new_width, new_height); in gdImageScale()
1588 im_scaled = gdImageScaleTwoPass(src, src->sx, src->sy, new_width, new_height); in gdImageScale()
1627 int new_height, new_width; in gdImageRotateNearestNeighbour() local
1630 new_width = bbox.width; in gdImageRotateNearestNeighbour()
1633 if (new_width == 0 || new_height == 0) { in gdImageRotateNearestNeighbour()
1637 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateNearestNeighbour()
1645 for (j = 0; j < new_width; j++) { in gdImageRotateNearestNeighbour()
1647 gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateNearestNeighbour()
1683 int new_width, new_height; in gdImageRotateGeneric() local
1698 new_width = bbox.width; in gdImageRotateGeneric()
1701 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateGeneric()
1710 for (j = 0; j < new_width; j++) { in gdImageRotateGeneric()
1712 gdFixed f_j = gd_itofx((int)j - (int)new_width / 2); in gdImageRotateGeneric()
1739 unsigned int new_width, new_height; in gdImageRotateBilinear() local
1755 new_width = bbox.width; in gdImageRotateBilinear()
1758 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBilinear()
1768 for (j=0; j < new_width; j++) { in gdImageRotateBilinear()
1770 const gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateBilinear()
1854 unsigned int new_width, new_height; in gdImageRotateBicubicFixed() local
1873 new_width = bbox.width; in gdImageRotateBicubicFixed()
1875 dst = gdImageCreateTrueColor(new_width, new_height); in gdImageRotateBicubicFixed()
1886 for (j=0; j < new_width; j++) { in gdImageRotateBicubicFixed()
1888 const gdFixed f_j = gd_itofx((int)j - (int)new_width/2); in gdImageRotateBicubicFixed()