1 #ifndef vil_viffheader_h_ 2 #define vil_viffheader_h_ 66 #include <vxl_config.h> 128 #define VIFF_HEADERSIZE 1024 150 unsigned ncols,
unsigned nrows,
275 char reserve[VIFF_HEADERSIZE - (21*
sizeof(vxl_sint_32))
277 - (2*
sizeof(
char *)) - (4*
sizeof(float))
278 - (
sizeof(
float *))];
298 #define XV_FILE_MAGIC_NUM 0xab 299 #define XV_FILE_TYPE_XVIFF 1 303 #define XV_IMAGE_VER_NUM 3 307 #define XV_IMAGE_REL_NUM 1 311 #define VFF_NOTSUB ~0 316 #define VFF_DEP_IEEEORDER 0x2 317 #define VFF_DEP_DECORDER 0x4 318 #define VFF_DEP_NSORDER 0x8 319 #define VFF_DEP_CRAYORDER 0xA 321 #define VFF_DEP_BIGENDIAN VFF_DEP_IEEEORDER 322 #define VFF_DEP_LITENDIAN VFF_DEP_NSORDER 327 #define VFF_DES_RAW 0 328 #define VFF_DES_COMPRESS 1 329 #define VFF_DES_RLE 2 330 #define VFF_DES_TRANSFORM 3 331 #define VFF_DES_CCITT 4 332 #define VFF_DES_ADPCM 5 333 #define VFF_DES_GENERIC 6 337 #define VFF_MAPTYP_NONE 0 338 #define VFF_MAPTYP_1_BYTE 1 339 #define VFF_MAPTYP_2_BYTE 2 340 #define VFF_MAPTYP_4_BYTE 4 341 #define VFF_MAPTYP_FLOAT 5 342 #define VFF_MAPTYP_COMPLEX 6 343 #define VFF_MAPTYP_DOUBLE 7 346 #define VFF_MS_NONE 0 348 #define VFF_MS_ONEPERBAND 1 349 #define VFF_MS_CYCLE 2 352 #define VFF_MS_SHARED 3 353 #define VFF_MS_GROUP 4 357 #define VFF_MAP_OPTIONAL 1 361 #define VFF_MAP_FORCE 2 386 #define VFF_CM_NONE 0 387 #define VFF_CM_ntscRGB 1 388 #define VFF_CM_ntscCMY 2 389 #define VFF_CM_ntscYIQ 3 393 #define VFF_CM_cieRGB 7 394 #define VFF_CM_cieXYZ 8 395 #define VFF_CM_cieUVW 9 396 #define VFF_CM_cieucsUVW 10 397 #define VFF_CM_cieucsSOW 11 398 #define VFF_CM_cieucsLab 12 399 #define VFF_CM_cieucsLuv 13 400 #define VFF_CM_GENERIC 14 401 #define VFF_CM_genericRGB 15 405 #define VFF_LOC_IMPLICIT 1 409 #define VFF_LOC_EXPLICIT 2
vxl_uint_32 location_type
vxl_uint_32 data_encode_scheme
vxl_uint_32 map_storage_type
vxl_uint_32 color_space_model
vxl_uint_32 data_storage_type
vxl_uint_32 num_data_bands
char reserve[VIFF_HEADERSIZE -(21 *sizeof(vxl_sint_32)) -(520 *sizeof(char)) -(2 *sizeof(char *)) -(4 *sizeof(float)) -(sizeof(float *))]
vxl_uint_32 num_of_images
vxl_uint_32 map_subrow_size
vxl_uint_32 maps_per_cycle