MISR Toolkit  1.5.1
htags.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF. The full HDF copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the COPYING file, which can be found at the root of the source code *
9  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF/releases/. *
10  * If you do not have access to either file, you may request a copy from *
11  * help@hdfgroup.org. *
12  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 /* $Id$ */
15 
16 /*+ htags.h
17  *** This file contains all the tag definitions for HDF
18  + */
19 
20 #ifndef _HTAGS_H
21 #define _HTAGS_H
22 
23 /* wild-card tags and refs. Should only be used in interface calls
24  and never stored in the file i.e. in DD's. */
25 #define DFREF_WILDCARD 0
26 #define DFTAG_WILDCARD 0
27 
28 #define DFREF_NONE 0 /* used by mfhdf/libsrc/putget.c */
29 /* tags and refs */
30 #define DFTAG_NULL 1
31 #define DFTAG_LINKED 20 /* linked-block special element */
32 #define DFTAG_VERSION 30
33 #define DFTAG_COMPRESSED 40 /* compressed special element */
34 #define DFTAG_VLINKED 50 /* variable-len linked-block header */
35 #define DFTAG_VLINKED_DATA 51 /* variable-len linked-block data */
36 #define DFTAG_CHUNKED 60 /* chunked special element header
37  (for expansion, not used )*/
38 #define DFTAG_CHUNK 61 /* chunk element */
39 
40 /* utility set */
41 #define DFTAG_FID ((uint16)100) /* File identifier */
42 #define DFTAG_FD ((uint16)101) /* File description */
43 #define DFTAG_TID ((uint16)102) /* Tag identifier */
44 #define DFTAG_TD ((uint16)103) /* Tag descriptor */
45 #define DFTAG_DIL ((uint16)104) /* data identifier label */
46 #define DFTAG_DIA ((uint16)105) /* data identifier annotation */
47 #define DFTAG_NT ((uint16)106) /* number type */
48 #define DFTAG_MT ((uint16)107) /* machine type */
49 #define DFTAG_FREE ((uint16)108) /* free space in the file */
50 
51 /* raster-8 set */
52 #define DFTAG_ID8 ((uint16)200) /* 8-bit Image dimension */
53 #define DFTAG_IP8 ((uint16)201) /* 8-bit Image palette */
54 #define DFTAG_RI8 ((uint16)202) /* Raster-8 image */
55 #define DFTAG_CI8 ((uint16)203) /* RLE compressed 8-bit image */
56 #define DFTAG_II8 ((uint16)204) /* IMCOMP compressed 8-bit image */
57 
58 /* Raster Image set */
59 #define DFTAG_ID ((uint16)300) /* Image DimRec */
60 #define DFTAG_LUT ((uint16)301) /* Image Palette */
61 #define DFTAG_RI ((uint16)302) /* Raster Image */
62 #define DFTAG_CI ((uint16)303) /* Compressed Image */
63 #define DFTAG_NRI ((uint16)304) /* New-format Raster Image */
64 
65 #define DFTAG_RIG ((uint16)306) /* Raster Image Group */
66 #define DFTAG_LD ((uint16)307) /* Palette DimRec */
67 #define DFTAG_MD ((uint16)308) /* Matte DimRec */
68 #define DFTAG_MA ((uint16)309) /* Matte Data */
69 #define DFTAG_CCN ((uint16)310) /* color correction */
70 #define DFTAG_CFM ((uint16)311) /* color format */
71 #define DFTAG_AR ((uint16)312) /* aspect ratio */
72 
73 #define DFTAG_DRAW ((uint16)400) /* Draw these images in sequence */
74 #define DFTAG_RUN ((uint16)401) /* run this as a program/script */
75 
76 #define DFTAG_XYP ((uint16)500) /* x-y position */
77 #define DFTAG_MTO ((uint16)501) /* machine-type override */
78 
79 /* Tektronix */
80 #define DFTAG_T14 ((uint16)602) /* TEK 4014 data */
81 #define DFTAG_T105 ((uint16)603) /* TEK 4105 data */
82 
83 /* Scientific Data set */
84 /*
85  Objects of tag 721 are never actually written to the file. The tag is
86  needed to make things easier mixing DFSD and SD style objects in the
87  same file
88  */
89 #define DFTAG_SDG ((uint16)700) /* Scientific Data Group */
90 #define DFTAG_SDD ((uint16)701) /* Scientific Data DimRec */
91 #define DFTAG_SD ((uint16)702) /* Scientific Data */
92 #define DFTAG_SDS ((uint16)703) /* Scales */
93 #define DFTAG_SDL ((uint16)704) /* Labels */
94 #define DFTAG_SDU ((uint16)705) /* Units */
95 #define DFTAG_SDF ((uint16)706) /* Formats */
96 #define DFTAG_SDM ((uint16)707) /* Max/Min */
97 #define DFTAG_SDC ((uint16)708) /* Coord sys */
98 #define DFTAG_SDT ((uint16)709) /* Transpose */
99 #define DFTAG_SDLNK ((uint16)710) /* Links related to the dataset */
100 #define DFTAG_NDG ((uint16)720) /* Numeric Data Group */
101  /* tag 721 reserved chouck 24-Nov-93 */
102 #define DFTAG_CAL ((uint16)731) /* Calibration information */
103 #define DFTAG_FV ((uint16)732) /* Fill Value information */
104 #define DFTAG_BREQ ((uint16)799) /* Beginning of required tags */
105 #define DFTAG_SDRAG ((uint16)781) /* List of ragged array line lengths */
106 #define DFTAG_EREQ ((uint16)780) /* Current end of the range */
107 
108 /* VSets */
109 #define DFTAG_VG ((uint16)1965) /* Vgroup */
110 #define DFTAG_VH ((uint16)1962) /* Vdata Header */
111 #define DFTAG_VS ((uint16)1963) /* Vdata Storage */
112 
113 /* compression schemes */
114 #define DFTAG_RLE ((uint16)11) /* run length encoding */
115 #define DFTAG_IMC ((uint16)12) /* IMCOMP compression alias */
116 #define DFTAG_IMCOMP ((uint16)12) /* IMCOMP compression */
117 #define DFTAG_JPEG ((uint16)13) /* JPEG compression (24-bit data) */
118 #define DFTAG_GREYJPEG ((uint16)14) /* JPEG compression (8-bit data) */
119 #define DFTAG_JPEG5 ((uint16)15) /* JPEG compression (24-bit data) */
120 #define DFTAG_GREYJPEG5 ((uint16)16) /* JPEG compression (8-bit data) */
121 
122 /* Interlace schemes */
123 #define DFIL_PIXEL 0 /* Pixel Interlacing */
124 #define DFIL_LINE 1 /* Scan Line Interlacing */
125 #define DFIL_PLANE 2 /* Scan Plane Interlacing */
126 
127 /* SPECIAL CODES */
128 #define SPECIAL_LINKED 1 /* Fixed-size Linked blocks */
129 #define SPECIAL_EXT 2 /* External */
130 #define SPECIAL_COMP 3 /* Compressed */
131 #define SPECIAL_VLINKED 4 /* Variable-length linked blocks */
132 #define SPECIAL_CHUNKED 5 /* chunked element */
133 #define SPECIAL_BUFFERED 6 /* Buffered element */
134 #define SPECIAL_COMPRAS 7 /* Compressed Raster element */
135 
136 #endif /* _HTAGS_H */
137 

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:52