Lines Matching refs:common
282 tif->tif_header.common.tiff_magic = tif->tif_flags & TIFF_SWAB
285 tif->tif_header.common.tiff_magic = tif->tif_flags & TIFF_SWAB
290 tif->tif_header.common.tiff_version = TIFF_VERSION_CLASSIC;
293 TIFFSwabShort(&tif->tif_header.common.tiff_version);
298 tif->tif_header.common.tiff_version = TIFF_VERSION_BIG;
304 TIFFSwabShort(&tif->tif_header.common.tiff_version);
325 if (tif->tif_header.common.tiff_magic == TIFF_BIGENDIAN) {
348 if (tif->tif_header.common.tiff_magic != TIFF_BIGENDIAN &&
349 tif->tif_header.common.tiff_magic != TIFF_LITTLEENDIAN
353 tif->tif_header.common.tiff_magic != MDI_BIGENDIAN
355 tif->tif_header.common.tiff_magic != MDI_LITTLEENDIAN
365 tif->tif_header.common.tiff_magic,
366 tif->tif_header.common.tiff_magic);
369 if (tif->tif_header.common.tiff_magic == TIFF_BIGENDIAN) {
379 TIFFSwabShort(&tif->tif_header.common.tiff_version);
380 if ((tif->tif_header.common.tiff_version != TIFF_VERSION_CLASSIC)&&
381 (tif->tif_header.common.tiff_version != TIFF_VERSION_BIG)) {
384 tif->tif_header.common.tiff_version,
385 tif->tif_header.common.tiff_version);
388 if (tif->tif_header.common.tiff_version == TIFF_VERSION_CLASSIC)
652 return (tif->tif_header.common.tiff_magic == TIFF_BIGENDIAN);