Searched refs:fileHeight (Results 1 - 2 of 2) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkImgGIF.c155 int fileWidth, fileHeight;
165 if (!ReadGIFHeader(f, &fileWidth, &fileHeight)) {
170 if ((fileWidth <= 0) || (fileHeight <= 0)) {
192 if ((srcY + height) > fileHeight) {
193 height = fileHeight - srcY;
196 || (srcX >= fileWidth) || (srcY >= fileHeight)) {
203 block.height = fileHeight;
209 nBytes = fileHeight * block.pitch;
270 fileHeight, localColorMap, BitSet(buf[8], INTERLACE),
276 fileHeight, colorMa
153 int fileWidth, fileHeight; local
[all...]
H A DtkImgPPM.c136 int fileWidth, fileHeight, maxIntensity;
141 type = ReadPPMFileHeader(f, &fileWidth, &fileHeight, &maxIntensity);
147 if ((fileWidth <= 0) || (fileHeight <= 0)) {
165 if ((srcY + height) > fileHeight) {
166 height = fileHeight - srcY;
169 || (srcX >= fileWidth) || (srcY >= fileHeight)) {
134 int fileWidth, fileHeight, maxIntensity; local

Completed in 7 milliseconds