Lines Matching refs:width
39 int width, height, ret; in gdImageCreateFromWebpPtr() local
45 ret = WebPDecode(data, size, &Y, &U, &V, &width, &height); in gdImageCreateFromWebpPtr()
53 im = gdImageCreateTrueColor(width, height); in gdImageCreateFromWebpPtr()
63 int width, height, ret; in gdImageCreateFromWebpCtx() local
83 ret = WebPDecode(filedata, size, &Y, &U, &V, &width, &height); in gdImageCreateFromWebpCtx()
92 im = gdImageCreateTrueColor(width, height); in gdImageCreateFromWebpCtx()
157 int width = im->sx; in gdImageWebpCtx() local
170 yuv_width = (width + 1) >> 1; in gdImageWebpCtx()
172 yuv_nbytes = width * height + 2 * yuv_width * yuv_height; in gdImageWebpCtx()
180 U = Y + width * height; in gdImageWebpCtx()
185 ret = WebPEncode(Y, U, V, width, height, width, yuv_width, yuv_height, yuv_width, in gdImageWebpCtx()