/usr/include/hdf/dfgr.h is in libhdf4-alt-dev 4.2r4-12build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF. The full HDF copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at *
* http://hdfgroup.org/products/hdf4/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* $Id: dfgr.h 4932 2007-09-07 17:17:23Z bmribler $ */
/*-----------------------------------------------------------------------------
* 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_H /* avoid re-inclusion */
#define DFGR_H
/* description record: used to describe image data, palette data etc. */
typedef struct
{
intn ncomponents; /* number of components */
intn interlace; /* data ordering: chunky / planar etc */
int32 xdim; /* X- dimension of data */
int32 ydim; /* Y- dimensionsof data */
DFdi nt; /* number type of data */
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
{
char *cf; /* color format */
int32 xpos; /* X position of image on screen */
int32 ypos; /* Y position of image on screen */
float32 aspectratio; /* ratio of pixel height to width */
float32 ccngamma; /* gamma color correction parameter */
float32 ccnred[3]; /* red color correction parameter */
float32 ccngrren[3]; /* green color correction parameter */
float32 ccnblue[3]; /* blue color correction parameter */
float32 ccnwhite[3]; /* white color correction parameter */
DFdi data[3]; /* image/lut/mattechannel */
DFGRdr datadesc[3]; /* description of image/lut/mattechannel */
}
DFGRrig;
#if defined c_plusplus || defined __cplusplus
extern "C"
{
#endif /* c_plusplus || __cplusplus */
/* Library-developer functions */
extern int32 DFGRIopen
(const char *filename, int acc_mode);
#if defined c_plusplus || defined __cplusplus
}
#endif /* c_plusplus || __cplusplus */
#endif /* DFGR_H */
|