Lines Matching refs:pixelPtr
138 unsigned char *pixelPtr;
202 pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);
203 block.pixelPtr = pixelPtr + srcX * block.pixelSize;
210 count = fread(pixelPtr, 1, (unsigned) nBytes, f);
216 ckfree((char *) pixelPtr);
222 for (p = pixelPtr; count > 0; count--, p++) {
231 ckfree((char *) pixelPtr);
264 unsigned char *pixelPtr, *pixLinePtr;
274 pixLinePtr = blockPtr->pixelPtr + blockPtr->offset[0];
286 pixelPtr = pixLinePtr;
288 if ((putc(pixelPtr[0], f) == EOF)
289 || (putc(pixelPtr[greenOffset], f) == EOF)
290 || (putc(pixelPtr[blueOffset], f) == EOF)) {
293 pixelPtr += blockPtr->pixelSize;