Home
last modified time | relevance | path

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

/PHP-7.2/ext/gd/libgd/
H A Dgd_gd2.c670 char *chunkData = NULL; /* So we can gdFree it with impunity. */ in _gdImageGd2() local
718 chunkData = safe_emalloc(cs * bytesPerPixel, cs, 0); in _gdImageGd2()
719 memset(chunkData, 0, cs * bytesPerPixel * cs); in _gdImageGd2()
765 chunkData[chunkLen++] = gdTrueColorGetAlpha(p); in _gdImageGd2()
766 chunkData[chunkLen++] = gdTrueColorGetRed(p); in _gdImageGd2()
767 chunkData[chunkLen++] = gdTrueColorGetGreen(p); in _gdImageGd2()
768 chunkData[chunkLen++] = gdTrueColorGetBlue(p); in _gdImageGd2()
770 chunkData[chunkLen++] = im->pixels[y][x]; in _gdImageGd2()
789 …if (compress((unsigned char *) &compData[0], &compLen, (unsigned char *) &chunkData[0], chunkLen) … in _gdImageGd2()
820 if (chunkData) { in _gdImageGd2()
[all …]

Completed in 7 milliseconds