10 #ifndef __VIFFHEADER_HH__
11 #define __VIFFHEADER_HH__
63 # define VIFF_HEADERSIZE 4096
65 # define VIFF_HEADERSIZE 1024
193 char reserve[VIFF_HEADERSIZE - (21*
sizeof(long))
195 - (2*
sizeof(
char *)) - (4*
sizeof(float))
196 - (
sizeof(
float *))];
217 #define XV_IMAGE_VER_NUM 3
221 #define XV_IMAGE_REL_NUM 1
225 #define VFF_NOTSUB ~0
230 #define VFF_DEP_IEEEORDER 0x2
231 #define VFF_DEP_DECORDER 0x4
232 #define VFF_DEP_NSORDER 0x8
233 #define VFF_DEP_CRAYORDER 0xA
235 #define VFF_DEP_BIGENDIAN VFF_DEP_IEEEORDER
236 #define VFF_DEP_LITENDIAN VFF_DEP_NSORDER
241 #define VFF_TYP_BIT 0
245 #define VFF_TYP_1_BYTE 1
246 #define VFF_TYP_2_BYTE 2
247 #define VFF_TYP_4_BYTE 4
248 #define VFF_TYP_FLOAT 5
249 #define VFF_TYP_COMPLEX 6
250 #define VFF_TYP_DOUBLE 9
252 #define VFF_TYP_DCOMPLEX 10
257 #define VFF_DES_RAW 0
258 #define VFF_DES_COMPRESS 1
259 #define VFF_DES_RLE 2
260 #define VFF_DES_TRANSFORM 3
261 #define VFF_DES_CCITT 4
262 #define VFF_DES_ADPCM 5
263 #define VFF_DES_GENERIC 6
267 #define VFF_MAPTYP_NONE 0
268 #define VFF_MAPTYP_1_BYTE 1
269 #define VFF_MAPTYP_2_BYTE 2
270 #define VFF_MAPTYP_4_BYTE 4
271 #define VFF_MAPTYP_FLOAT 5
272 #define VFF_MAPTYP_COMPLEX 6
273 #define VFF_MAPTYP_DOUBLE 7
277 #define VFF_MS_NONE 0
279 #define VFF_MS_ONEPERBAND 1
280 #define VFF_MS_CYCLE 2
283 #define VFF_MS_SHARED 3
284 #define VFF_MS_GROUP 4
288 #define VFF_MAP_OPTIONAL 1
292 #define VFF_MAP_FORCE 2
318 #define VFF_CM_NONE 0
319 #define VFF_CM_ntscRGB 1
320 #define VFF_CM_ntscCMY 2
321 #define VFF_CM_ntscYIQ 3
325 #define VFF_CM_cieRGB 7
326 #define VFF_CM_cieXYZ 8
327 #define VFF_CM_cieUVW 9
328 #define VFF_CM_cieucsUVW 10
329 #define VFF_CM_cieucsSOW 11
330 #define VFF_CM_cieucsLab 12
331 #define VFF_CM_cieucsLuv 13
332 #define VFF_CM_GENERIC 14
333 #define VFF_CM_genericRGB 15
338 #define VFF_LOC_IMPLICIT 1
342 #define VFF_LOC_EXPLICIT 2
348 #define number_of_rows col_size
349 #define number_of_cols row_size
unsigned long location_type
unsigned long data_storage_type
unsigned long maps_per_cycle
unsigned long subrow_size
unsigned long map_col_size
unsigned long num_data_bands
unsigned long data_encode_scheme
unsigned long location_dim
unsigned long color_space_model
char reserve[VIFF_HEADERSIZE-(21 *sizeof(long))-(520 *sizeof(char))-(2 *sizeof(char *))-(4 *sizeof(float))-(sizeof(float *))]
unsigned long map_row_size
unsigned long map_storage_type
unsigned long map_subrow_size
unsigned long num_of_images