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

/ast/src/lib/libtk/generic/
H A DtkImgPPM.c186 block.pitch = block.pixelSize * fileWidth;
191 fseek(f, (long) (srcY * block.pitch), SEEK_CUR);
194 nLines = (MAX_MEMORY + block.pitch - 1) / block.pitch;
201 nBytes = nLines * block.pitch;
208 nBytes = nLines * block.pitch;
279 && (blockPtr->pitch == (blockPtr->width * 3))) {
280 nBytes = blockPtr->height * blockPtr->pitch;
295 pixLinePtr += blockPtr->pitch;
H A DtkImgPhoto.c691 + options.fromY * block.pitch;
810 block.pitch = dataWidth * 3;
1015 block.pixelPtr += options.fromY * block.pitch + options.fromX * 3;
1988 int h, offset, pitch;
2029 pitch = width * 3;
2030 newPix24 = (unsigned char *) ckalloc((unsigned) (height * pitch));
2041 memset((VOID *) newPix24, 0, (size_t) (validBox.y * pitch));
2045 memset((VOID *) (newPix24 + h * pitch), 0,
2046 (size_t) ((height - h) * pitch));
2049 memset((VOID *) newPix24, 0, (size_t) (height * pitch));
1976 int h, offset, pitch; local
3216 int pitch; local
3363 int pitch; local
[all...]
H A DtkImgGIF.c205 block.pitch = 3 * fileWidth;
209 nBytes = fileHeight * block.pitch;
H A Dtk.h816 int pitch; /* Address difference between corresponding
812 int pitch; /* Address difference between corresponding member in struct:Tk_PhotoImageBlock

Completed in 33 milliseconds