Lines Matching refs:argb
42 uint8_t *argb = NULL; in gdImageCreateFromWebpCtx() local
80 argb = WebPDecodeARGB(filedata, size, &width, &height); in gdImageCreateFromWebpCtx()
81 if (!argb) { in gdImageCreateFromWebpCtx()
87 for (y = 0, p = argb; y < height; y++) { in gdImageCreateFromWebpCtx()
98 free(argb); in gdImageCreateFromWebpCtx()
105 uint8_t *argb; in gdImageWebpCtx() local
132 argb = (uint8_t *)gdMalloc(gdImageSX(im) * 4 * gdImageSY(im)); in gdImageWebpCtx()
133 if (!argb) { in gdImageWebpCtx()
136 p = argb; in gdImageWebpCtx()
156 out_size = WebPEncodeLosslessRGBA(argb, gdImageSX(im), gdImageSY(im), gdImageSX(im) * 4, &out); in gdImageWebpCtx()
158 out_size = WebPEncodeRGBA(argb, gdImageSX(im), gdImageSY(im), gdImageSX(im) * 4, quality, &out); in gdImageWebpCtx()
169 gdFree(argb); in gdImageWebpCtx()