Lines Matching defs:fileWidth
503 int fileWidth, int fileHeight, int type)
517 pixbuf = (UByte *) ckalloc (fileWidth);
519 sprintf(errMsg, "Can't allocate memory of size %d", fileWidth);
525 block.pitch = fileWidth;
535 linepad = ((fileWidth+7)/8) % 2; /* Check for 16bit align */
553 x = fileWidth;
594 int fileWidth, int fileHeight,
610 linepad = fileWidth % 2;
622 pixbuf = (UByte *) ckalloc (fileWidth * nchan);
625 fileWidth * nchan);
634 indData = (UByte *)ckalloc (fileWidth * sizeof (UByte));
637 fileWidth * sizeof (UByte));
643 block.pitch = fileWidth * nchan;
662 memset ((char *)src, 0, fileWidth);
663 err = ((rle ? rle_fread ((char *)src, 1, fileWidth, ifp) :
664 sun_fread ((char *)src, 1, fileWidth, ifp)) != fileWidth);
709 int fileWidth, int fileHeight,
722 pixbuf = (UByte *) ckalloc (fileWidth * nchan);
725 fileWidth * nchan);
731 block.pitch = fileWidth * nchan;
745 linepad = (fileWidth*nchan) % 2;
755 memset ((char *)dest, 0, nchan*fileWidth);
756 err = ((rle ? rle_fread ((char *)dest, nchan, fileWidth, ifp) :
757 sun_fread ((char *)dest, nchan, fileWidth, ifp)) != fileWidth);
1034 int fileWidth, fileHeight;
1046 CommonMatch(handle, &fileWidth, &fileHeight, &sh);
1050 if ((srcX + width) > fileWidth) {
1051 outWidth = fileWidth - srcX;
1061 || (srcX >= fileWidth) || (srcY >= fileHeight)) {
1127 fileWidth, fileHeight, sh.ras_type))
1134 fileWidth, fileHeight, sh.ras_type,
1143 fileWidth, fileHeight,