Searched refs:maxIntensity (Results 1 - 3 of 3) sorted by relevance
/macosx-10.10.1/tcl-105/tk/tk/generic/ |
H A D | tkImgPPM.c | 146 int fileWidth, fileHeight, maxIntensity; 151 type = ReadPPMFileHeader(chan, &fileWidth, &fileHeight, &maxIntensity); 162 if ((maxIntensity <= 0) || (maxIntensity >= 256)) { 165 sprintf(buffer, "%d", maxIntensity); 231 if (maxIntensity != 255) { 235 *p = (((int) *p) * 255)/maxIntensity; 484 int fileWidth, fileHeight, maxIntensity; 490 &maxIntensity, &dataBuffer, &dataSize); 501 if ((maxIntensity < 144 int fileWidth, fileHeight, maxIntensity; local 478 int fileWidth, fileHeight, maxIntensity; local [all...] |
/macosx-10.10.1/tcl-105/tk84/tk/generic/ |
H A D | tkImgPPM.c | 155 int fileWidth, fileHeight, maxIntensity; 160 type = ReadPPMFileHeader(chan, &fileWidth, &fileHeight, &maxIntensity); 171 if ((maxIntensity <= 0) || (maxIntensity >= 256)) { 174 sprintf(buffer, "%d", maxIntensity); 238 if (maxIntensity != 255) { 242 *p = (((int) *p) * 255)/maxIntensity; 486 int fileWidth, fileHeight, maxIntensity; 492 &maxIntensity, &dataBuffer, &dataSize); 503 if ((maxIntensity < 153 int fileWidth, fileHeight, maxIntensity; local 480 int fileWidth, fileHeight, maxIntensity; local [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/ppm/ |
H A D | ppm.c | 744 Int fileWidth, fileHeight, maxIntensity; 767 type = ReadPPMFileHeader (handle, &fileWidth, &fileHeight, &maxIntensity, &isAscii); 779 if ((maxIntensity <= 0) || (maxIntensity >= 65536)) { 782 sprintf(buffer, "%d", maxIntensity); 789 bytesPerPixel = maxIntensity >= 256? 2: 1; 794 printImgInfo (fileWidth, fileHeight, maxIntensity, isAscii, type==PGM? 1: 3, 1143 * Parse the fields, which are: id, width, height, maxIntensity. 742 Int fileWidth, fileHeight, maxIntensity; local
|
Completed in 130 milliseconds