Home
last modified time | relevance | path

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

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

Completed in 5 milliseconds