Lines Matching defs:fileWidth
155 int fileWidth, fileHeight, maxIntensity;
160 type = ReadPPMFileHeader(chan, &fileWidth, &fileHeight, &maxIntensity);
166 if ((fileWidth <= 0) || (fileHeight <= 0)) {
180 if ((srcX + width) > fileWidth) {
181 width = fileWidth - srcX;
187 || (srcX >= fileWidth) || (srcY >= fileHeight)) {
205 block.pitch = block.pixelSize * fileWidth;
486 int fileWidth, fileHeight, maxIntensity;
491 type = ReadPPMStringHeader(dataObj, &fileWidth, &fileHeight,
498 if ((fileWidth <= 0) || (fileHeight <= 0)) {
513 if ((srcX + width) > fileWidth) {
514 width = fileWidth - srcX;
520 || (srcX >= fileWidth) || (srcY >= fileHeight)) {
537 block.pitch = block.pixelSize * fileWidth;