Lines Matching defs:nplanes
169 int nplanes; // number of planes
184 nplanes = hdr[HDR_NPLANES];
195 if ((nplanes == 3) && (bitsperpixel == 8))
197 else if ((nplanes == 1) && (bitsperpixel == 8))
220 if ((p = (unsigned char *) malloc(bytesperline * nplanes)) == NULL)
231 RLEdecode(p, bytesperline * nplanes, stream);
233 stream.Read(p, bytesperline * nplanes);
315 unsigned char nplanes = 3; // number of planes
327 nplanes = 1;
343 if ((p = (unsigned char *) malloc(bytesperline * nplanes)) == NULL)
354 hdr[HDR_NPLANES] = nplanes;
401 RLEencode(p, bytesperline * nplanes, stream);