Lines Matching refs:wbmp
105 Wbmp *wbmp; in _gdImageWBMPCtx() local
108 if ((wbmp = createwbmp (gdImageSX (image), gdImageSY (image), WBMP_WHITE)) == NULL) { in _gdImageWBMPCtx()
118 wbmp->bitmap[pos] = WBMP_BLACK; in _gdImageWBMPCtx()
125 if (writewbmp (wbmp, &gd_putout, out)) { in _gdImageWBMPCtx()
126 freewbmp(wbmp); in _gdImageWBMPCtx()
132 freewbmp(wbmp); in _gdImageWBMPCtx()
144 Wbmp *wbmp; in gdImageCreateFromWBMPCtx() local
149 if (readwbmp (&gd_getin, infile, &wbmp)) { in gdImageCreateFromWBMPCtx()
153 if (!(im = gdImageCreate (wbmp->width, wbmp->height))) { in gdImageCreateFromWBMPCtx()
154 freewbmp (wbmp); in gdImageCreateFromWBMPCtx()
165 for (row = 0; row < wbmp->height; row++) { in gdImageCreateFromWBMPCtx()
166 for (col = 0; col < wbmp->width; col++) { in gdImageCreateFromWBMPCtx()
167 if (wbmp->bitmap[pos++] == WBMP_WHITE) { in gdImageCreateFromWBMPCtx()
175 freewbmp(wbmp); in gdImageCreateFromWBMPCtx()