Searched refs:pixelPtr (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkImgPPM.c138 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
136 unsigned char *pixelPtr; local
261 unsigned char *pixelPtr, *pixLinePtr; local
[all...]
H A DtkImgGIF.c210 block.pixelPtr = (unsigned char *) ckalloc((unsigned) nBytes);
269 if (ReadImage(interp, (char *) block.pixelPtr, f, fileWidth,
275 if (ReadImage(interp, (char *) block.pixelPtr, f, fileWidth,
285 ckfree((char *) block.pixelPtr);
289 ckfree((char *) block.pixelPtr);
H A DtkImgPhoto.c543 unsigned char *pixelPtr;
690 block.pixelPtr += options.fromX * block.pixelSize
724 pixelPtr = masterPtr->pix24 + (y * masterPtr->width + x) * 3;
725 sprintf(string, "%d %d %d", pixelPtr[0], pixelPtr[1],
726 pixelPtr[2]);
751 block.pixelPtr = NULL;
753 pixelPtr = NULL;
761 pixelPtr = (unsigned char *) ckalloc((unsigned)
763 block.pixelPtr
540 unsigned char *pixelPtr; local
[all...]
H A Dtk.h813 unsigned char *pixelPtr; /* Pointer to the first pixel. */
809 unsigned char *pixelPtr; /* Pointer to the first pixel. */ member in struct:Tk_PhotoImageBlock

Completed in 22 milliseconds