Home | History | Annotate | Download | only in dist

Lines Matching defs:picture

94     unsigned char *pInBits, *picture, *line = NULL;
102 picture = malloc(widthBytes * height);
103 if (!picture) {
104 bdfError("Couldn't allocate picture (%d*%d)\n", widthBytes, height);
109 picture = NULL;
110 pCI->bits = (char *) picture;
129 if ((widthBits == 0) || (picture == NULL)) {
148 picture[nextByte++] = bdfHexByte(pInBits);
153 picture[nextByte++] = 0;
159 if (mask && picture[nextByte - 1] & ~mask) {
160 picture[nextByte - 1] &= mask;
167 picture[nextByte++] = 0;
183 if (picture != NULL) {
185 BitOrderInvert(picture, nextByte);
188 TwoByteSwap(picture, nextByte);
190 FourByteSwap(picture, nextByte);
195 if (picture)
196 free(picture);