Lines Matching refs:wbmp
97 Wbmp *wbmp; in gdImageWBMPCtx() local
100 if ((wbmp = createwbmp (gdImageSX (image), gdImageSY (image), WBMP_WHITE)) == NULL) { in gdImageWBMPCtx()
109 wbmp->bitmap[pos] = WBMP_BLACK; in gdImageWBMPCtx()
116 if (writewbmp (wbmp, &gd_putout, out)) { in gdImageWBMPCtx()
120 freewbmp(wbmp); in gdImageWBMPCtx()
130 Wbmp *wbmp; in gdImageCreateFromWBMPCtx() local
135 if (readwbmp (&gd_getin, infile, &wbmp)) { in gdImageCreateFromWBMPCtx()
139 if (!(im = gdImageCreate (wbmp->width, wbmp->height))) { in gdImageCreateFromWBMPCtx()
140 freewbmp (wbmp); in gdImageCreateFromWBMPCtx()
151 for (row = 0; row < wbmp->height; row++) { in gdImageCreateFromWBMPCtx()
152 for (col = 0; col < wbmp->width; col++) { in gdImageCreateFromWBMPCtx()
153 if (wbmp->bitmap[pos++] == WBMP_WHITE) { in gdImageCreateFromWBMPCtx()
161 freewbmp(wbmp); in gdImageCreateFromWBMPCtx()