/***************************************************************************
*
*
*                         NCSA HDF version 3.3r1
*                            September 20, 1993
*
* NCSA HDF Version 3.3 source code and documentation are in the public
* domain.  Specifically, we give to the public domain all rights for future
* licensing of the source code, all resale rights, and all publishing rights.
*
* We ask, but do not require, that the following message be included in all
* derived works:
*
* Portions developed at the National Center for Supercomputing Applications at
* the University of Illinois at Urbana-Champaign, in collaboration with the
* Information Technology Institute of Singapore.
*
* THE UNIVERSITY OF ILLINOIS GIVES NO WARRANTY, EXPRESSED OR IMPLIED, FOR THE
* SOFTWARE AND/OR DOCUMENTATION PROVIDED, INCLUDING, WITHOUT LIMITATION,
* WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE
*
*****************************************************************************/

/*--------------------------------------------------------------------------*\
 | Simple subset of hdf.h, used to get tag and ref definitions only.		|
\*--------------------------------------------------------------------------*/

/* tags and refs */
#define DFREF_WILDCARD	0
#define DFTAG_WILDCARD	0
#define DFTAG_NULL		1
#define DFTAG_LINKED	20         /* check uniqueness */
#define DFTAG_VERSION	30

/* utility set */
#define DFTAG_FID   ((unsigned short)100) /* File identifier */
#define DFTAG_FD    ((unsigned short)101) /* File description */
#define DFTAG_TID   ((unsigned short)102) /* Tag identifier */
#define DFTAG_TD    ((unsigned short)103) /* Tag descriptor */
#define DFTAG_DIL   ((unsigned short)104) /* data identifier label */
#define DFTAG_DIA   ((unsigned short)105) /* data identifier annotation */
#define DFTAG_NT    ((unsigned short)106) /* number type */
#define DFTAG_MT    ((unsigned short)107) /* machine type */

/* raster-8 set */
#define DFTAG_ID8   ((unsigned short)200) /* 8-bit Image dimension */
#define DFTAG_IP8   ((unsigned short)201) /* 8-bit Image palette */
#define DFTAG_RI8   ((unsigned short)202) /* Raster-8 image */
#define DFTAG_CI8   ((unsigned short)203) /* RLE compressed 8-bit image */
#define DFTAG_II8   ((unsigned short)204) /* IMCOMP compressed 8-bit image */

/* Raster Image set */
#define DFTAG_ID    ((unsigned short)300) /* Image DimRec */
#define DFTAG_LUT   ((unsigned short)301) /* Image Palette */
#define DFTAG_RI    ((unsigned short)302) /* Raster Image */
#define DFTAG_CI    ((unsigned short)303) /* Compressed Image */

#define DFTAG_RIG   ((unsigned short)306) /* Raster Image Group */
#define DFTAG_LD    ((unsigned short)307) /* Palette DimRec */
#define DFTAG_MD    ((unsigned short)308) /* Matte DimRec */
#define DFTAG_MA    ((unsigned short)309) /* Matte Data */
#define DFTAG_CCN   ((unsigned short)310) /* color correction */
#define DFTAG_CFM   ((unsigned short)311) /* color format */
#define DFTAG_AR    ((unsigned short)312) /* aspect ratio */

#define DFTAG_DRAW  ((unsigned short)400) /* Draw these images in sequence */
#define DFTAG_RUN   ((unsigned short)401) /* run this as a program/script */

#define DFTAG_XYP   ((unsigned short)500) /* x-y position */
#define DFTAG_MTO   ((unsigned short)501) /* machine-type override */

/* Tektronix */
#define DFTAG_T14   ((unsigned short)602) /* TEK 4014 data */
#define DFTAG_T105  ((unsigned short)603) /* TEK 4105 data */

/* Scientific Data set */
#define DFTAG_SDG   ((unsigned short)700) /* Scientific Data Group */
#define DFTAG_SDD   ((unsigned short)701) /* Scientific Data DimRec */
#define DFTAG_SD    ((unsigned short)702) /* Scientific Data */
#define DFTAG_SDS   ((unsigned short)703) /* Scales */
#define DFTAG_SDL   ((unsigned short)704) /* Labels */
#define DFTAG_SDU   ((unsigned short)705) /* Units */
#define DFTAG_SDF   ((unsigned short)706) /* Formats */
#define DFTAG_SDM   ((unsigned short)707) /* Max/Min */
#define DFTAG_SDC   ((unsigned short)708) /* Coord sys */
#define DFTAG_SDT   ((unsigned short)709) /* Transpose */
#define DFTAG_SDLNK ((unsigned short)710) /* Links related to the dataset */
#define DFTAG_NDG   ((unsigned short)720) /* Numeric Data Group */
#define DFTAG_CAL   ((unsigned short)731) /* Calibration information */
#define DFTAG_FV    ((unsigned short)732) /* Fill Value information */
#define DFTAG_BREQ  ((unsigned short)799) /* Beginning of required tags   */
#define DFTAG_EREQ  ((unsigned short)780) /* Current end of the range   */

/* VSets */
#define DFTAG_VG     ((unsigned short)1965) /* Vgroup */
#define DFTAG_VH     ((unsigned short)1962) /* Vdata Header */
#define DFTAG_VS     ((unsigned short)1963) /* Vdata Storage */

/* compression schemes */
#define DFTAG_RLE   ((unsigned short)11)    /* run length encoding */
#define DFTAG_IMC   ((unsigned short)12)    /* IMCOMP compression alias */
#define DFTAG_IMCOMP ((unsigned short)12)   /* IMCOMP compression */
#define DFTAG_JPEG  ((unsigned short)13)    /* JPEG compression (24-bit data) */
#define DFTAG_GREYJPEG  ((unsigned short)14)    /* JPEG compression (8-bit data) */

/* Interlace schemes */
#define DFIL_PIXEL   0  /* Pixel Interlacing */
#define DFIL_LINE    1  /* Scan Line Interlacing */
#define DFIL_PLANE   2  /* Scan Plane Interlacing */

/*------------------------------------------------------------------------*\
\*------------------------------------------------------------------------*/
