Home
last modified time | relevance | path

Searched refs:dst_img (Results 1 – 1 of 1) sorted by relevance

/PHP-7.0/ext/gd/libgd/
H A Dgd_interpolation.c1164 gdImagePtr dst_img; in gdImageScaleNearestNeighbour() local
1173 dst_img = gdImageCreateTrueColor(new_width, new_height); in gdImageScaleNearestNeighbour()
1175 if (dst_img == NULL) { in gdImageScaleNearestNeighbour()
1191 dst_img->tpixels[dst_offset_y][dst_offset_x++] = im->tpixels[m][n]; in gdImageScaleNearestNeighbour()
1202 dst_img->tpixels[dst_offset_y][dst_offset_x++] = colorIndex2RGBA(im->pixels[m][n]); in gdImageScaleNearestNeighbour()
1207 return dst_img; in gdImageScaleNearestNeighbour()

Completed in 11 milliseconds