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

/ast/src/lib/libtk/generic/
H A DtkImgPPM.c136 int fileWidth, fileHeight, maxIntensity;
141 type = ReadPPMFileHeader(f, &fileWidth, &fileHeight, &maxIntensity);
152 if ((maxIntensity <= 0) || (maxIntensity >= 256)) {
155 sprintf(buffer, "%d", maxIntensity);
219 if (maxIntensity != 255) {
223 *p = (((int) *p) * 255)/maxIntensity;
392 * Parse the fields, which are: id, width, height, maxIntensity.
134 int fileWidth, fileHeight, maxIntensity; local

Completed in 9 milliseconds