Lines Matching defs:fileWidth
146 int fileWidth, fileHeight, maxIntensity;
151 type = ReadPPMFileHeader(chan, &fileWidth, &fileHeight, &maxIntensity);
157 if ((fileWidth <= 0) || (fileHeight <= 0)) {
171 if ((srcX + width) > fileWidth) {
172 width = fileWidth - srcX;
178 || (srcX >= fileWidth) || (srcY >= fileHeight)) {
195 block.pitch = block.pixelSize * fileWidth;
484 int fileWidth, fileHeight, maxIntensity;
489 type = ReadPPMStringHeader(dataObj, &fileWidth, &fileHeight,
496 if ((fileWidth <= 0) || (fileHeight <= 0)) {
511 if ((srcX + width) > fileWidth) {
512 width = fileWidth - srcX;
518 || (srcX >= fileWidth) || (srcY >= fileHeight)) {
535 block.pitch = block.pixelSize * fileWidth;