Searched refs:nLines (Results 1 - 2 of 2) sorted by relevance
/ast/src/lib/libtk/generic/ |
H A D | tkImgPPM.c | 137 int nLines, nBytes, h, type, count; 194 nLines = (MAX_MEMORY + block.pitch - 1) / block.pitch; 195 if (nLines > height) { 196 nLines = height; 198 if (nLines <= 0) { 199 nLines = 1; 201 nBytes = nLines * block.pitch; 205 for (h = height; h > 0; h -= nLines) { 206 if (nLines > h) { 207 nLines 135 int nLines, nBytes, h, type, count; local [all...] |
H A D | tkImgPhoto.c | 3643 int nLines, bigEndian; 3681 nLines = (MAX_PIXELS + width - 1) / width; 3682 if (nLines < 1) { 3683 nLines = 1; 3685 if (nLines > height ) { 3686 nLines = height; 3696 imagePtr->height = nLines; 3698 imagePtr->data = (char *) ckalloc((unsigned) (imagePtr->bytes_per_line * nLines)); 3708 * Loop over the image, doing at most nLines lines before 3712 for (; height > 0; height -= nLines) { 3615 int nLines, bigEndian; local [all...] |
Completed in 18 milliseconds