/***************************************************************************** * * NCSA HDF version 3.10 * July 1, 1990 * * NCSA HDF Version 3.10 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. * * 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 * *****************************************************************************/ /* $Header: /pita/work/HDF/dev/RCS/src/dfgr.h,v 3.0 90/02/02 20:34:28 clow beta $ $Log: dfgr.h,v $ * Revision 3.0 90/02/02 20:34:28 clow * *** empty log message *** * */ /*----------------------------------------------------------------------------- * File: dfgr.h * Purpose: header file for the Raster Image set * Invokes: df.h * Contents: * Structure definitions: DFGRdr, DFGRrig * Remarks: This is included with user programs which use general raster *---------------------------------------------------------------------------*/ #ifndef DFGR /* avoid re-inclusion */ #define DFGR #include "df.h" /* description record: used to describe image data, palette data etc. */ typedef struct { int32 xdim, ydim; /* dimensions of data */ DFdi nt; /* number type of data */ int16 ncomponents, interlace; /* data ordering: chunky / planar etc */ DFdi compr; /* compression */ /* ### Note: compression is currently uniquely described with a tag. No data is attached to this tag/ref. But this capability is provided for future expansion, when this tag/ref might point to some data needed for decompression, such as the actual encodings */ } DFGRdr; /* structure to hold RIG info */ typedef struct { DFdi data??(3??); /* image/lut/mattechannel */ DFGRdr datadesc??(3??); /* description of image/lut/mattechannel */ int32 xpos, ypos; /* X-Y position of image on screen */ float aspectratio; /* ratio of pixel height to width */ float ccngamma, /* color correction parameters */ ccnred??(3??), ccngrren??(3??), ccnblue??(3??), ccnwhite??(3??); char *cf; /* color format */ } DFGRrig; #ifdef IBM /* JES 90 */ #pragma map( DFGRgetlutdims, "DGGLUTDI" ) /* JES 90 */ #pragma map( DFGRreqlutil, "DGRLUTIL" ) /* JES 90 */ #pragma map( DFGRgetlut, "DGGLUT" ) /* JES 90 */ #pragma map( DFGRgetimdims, "DGGIMDIM" ) /* JES 90 */ #pragma map( DFGRreqimil, "DGRIMIL" ) /* JES 90 */ #pragma map( DFGRgetimage, "DGGIMAGE" ) /* JES 90 */ #pragma map( DFGRsetcompress,"DGSCOMP" ) /* JES 90 */ #pragma map( DFGRsetlutdims, "DGSLUTDI" ) /* JES 90 */ #pragma map( DFGRsetlut, "DGSLUT" ) /* JES 90 */ #pragma map( DFGRaddlut, "DGALUT" ) /* JES 90 */ #pragma map( DFGRsetimdims, "DGSTIMDI" ) /* JES 90 */ #pragma map( DFGRaddimage, "DGAIMAGE" ) /* JES 90 */ #pragma map( DFGRreadref, "DGRDREF" ) /* JES 90 */ #pragma map( DFGRgetrig, "DGGRIG" ) /* JES 90 */ #pragma map( DFGRaddrig, "DGARIG" ) /* JES 90 */ #pragma map( DFGRIopen, "DGIOPEN" ) /* JES 90 */ #pragma map( DFGRIriginfo, "DGIRIGIN" ) /* JES 90 */ #pragma map( DFGRIgetdims, "DGIGDIMS" ) /* JES 90 */ #pragma map( DFGRIreqil, "DGIRIL" ) /* JES 90 */ #pragma map( DFGRIgetimlut, "DGIGIMLT" ) /* JES 90 */ #pragma map( DFGRIsetdims, "DGISDIMS" ) /* JES 90 */ #pragma map( DFGRIsetil, "DGISIL" ) /* JES 90 */ #pragma map( DFGRIrestart, "DGIFIRST" ) /* JES 90 */ #pragma map( DFGRIaddimlut, "DGIADLUT" ) /* JES 90 */ #endif /*IBM*/ /* JES 90 */ #endif /*DFGR*/