XIEprotost.h revision a2760a4d593af57a19ec32cdfd1723b68495df8c
/* $Xorg: XIEprotost.h,v 1.7 2001/02/09 02:03:23 xorgcvs Exp $ */
/******************************************************************************
Copyright 1993, 1994, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of The Open Group shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
NOTICE
This software is being provided by AGE Logic, Inc. under the
you agree that you have read, understood, and will comply with these
terms and conditions:
Permission to use, copy, modify, distribute and sell this
software and its documentation for any purpose and without
fee or royalty and to grant others any or all rights granted
herein is hereby granted, provided that you agree to comply
with the following copyright notice and statements, including
the disclaimer, and that the same appears on all copies and
derivative works of the software and documentation you make.
"Copyright 1993, 1994 by AGE Logic, Inc."
THIS SOFTWARE IS PROVIDED "AS IS". AGE LOGIC MAKES NO
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. By way of
example, but not limitation, AGE LOGIC MAKE NO
REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE SOFTWARE DOES NOT
INFRINGE THIRD-PARTY PROPRIETARY RIGHTS. AGE LOGIC
SHALL BEAR NO LIABILITY FOR ANY USE OF THIS SOFTWARE. IN NO
EVENT SHALL EITHER PARTY BE LIABLE FOR ANY INDIRECT,
INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS
OF PROFITS, REVENUE, DATA OR USE, INCURRED BY EITHER PARTY OR
ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT OR
BASED ON A WARRANTY, EVEN IF AGE LOGIC LICENSEES
HEREUNDER HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
The name of AGE Logic, Inc. may not be used in
advertising or publicity pertaining to this software without
specific, written prior permission from AGE Logic.
Title to this software shall at all times remain with AGE
Logic, Inc.
******************************************************************************/
#ifndef _XIEPROTOST_H_
#define _XIEPROTOST_H_
typedef CARD32 xieTypFloat;
#ifndef WORD64
#else /* WORD64 */
#endif /* WORD64 */
typedef CARD8 xieTypAlignment;
typedef CARD8 xieTypArithmeticOp;
typedef CARD16 xieTypColorAllocTechnique;
typedef CARD32 xieTypColorList;
typedef CARD8 xieTypCompareOp;
typedef CARD16 xieTypConstrainTechnique;
typedef CARD16 xieTypConvertFromRGBTechnique;
typedef CARD16 xieTypConvertToRGBTechnique;
typedef CARD16 xieTypConvolveTechnique;
typedef CARD8 xieTypDataClass;
typedef CARD8 xieTypDataType;
typedef CARD16 xieTypDecodeTechnique;
typedef CARD16 xieTypDitherTechnique;
typedef CARD16 xieTypEncodeTechnique;
typedef CARD32 xieTypPhotospace;
typedef CARD32 xieTypPhotoflo;
typedef struct {
union {
struct {
} immed;
struct {
} stored;
} u;
typedef CARD8 xieTypExportNotify;
typedef CARD8 xieTypExportState;
typedef CARD16 xieTypGamutTechnique;
typedef CARD16 xieTypGeometryTechnique;
typedef struct {
typedef CARD16 xieTypHistogramShape;
typedef CARD8 xieTypInterleave;
typedef CARD8 xieTypMathOp;
typedef CARD8 xieTypOrientation;
typedef CARD8 xieTypPhotofloOutcome;
typedef CARD8 xieTypPhotofloState;
typedef CARD32 xieTypPhotomap;
typedef CARD16 xieTypPhototag;
typedef struct {
typedef struct {
typedef CARD8 xieTypServiceClass;
typedef CARD8 xieTypTechniqueGroup;
typedef struct {
/* LISTofCARD8 (nameLength) */
/* pad (nameLength) */
typedef struct {
} xieTypTile;
typedef CARD16 xieTypWhiteAdjustTechnique;
/*
* Generic Element
*/
typedef struct {
} xieFlo;
/*
* Import Elements
*/
typedef struct {
#if defined(__cplusplus) || defined(c_plusplus)
#else
#endif
typedef struct {
#if defined(__cplusplus) || defined(c_plusplus)
#else
#endif
/* Technique dependent decode params */
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
/*
* Process Elements
*/
typedef struct {
#if defined(__cplusplus) || defined(c_plusplus)
#else
#endif
typedef struct {
typedef struct {
typedef struct {
typedef struct {
} xieFloBlend;
typedef struct {
#if defined(__cplusplus) || defined(c_plusplus)
#else
#endif
typedef struct {
/* Technique dependent constrain params */
typedef struct {
#if defined(__cplusplus) || defined(c_plusplus)
#else
#endif
typedef struct {
/* Technique dependent conversion params */
typedef struct {
/* Technique dependent color alloc params */
typedef struct {
/* Technique dependent conversion params */
typedef struct {
/* LISTofFloat (kernelSize^2) */
/* Technique dependent convolve params */
typedef struct {
/* Technique dependent dither params */
} xieFloDither;
typedef struct {
xieTypFloat a B32;
xieTypFloat b B32;
xieTypFloat c B32;
xieTypFloat d B32;
/* Technique dependent sample params */
typedef struct {
#if defined(__cplusplus) || defined(c_plusplus)
#else
#endif
typedef struct {
/* Technique dependent shape params */
typedef struct {
#if defined(__cplusplus) || defined(c_plusplus)
#else
#endif
} xieFloMath;
typedef struct {
/* LISTofTile (numTiles) */
typedef struct {
} xieFloPoint;
typedef struct {
/*
* Export Elements
*/
typedef struct {
typedef struct {
typedef struct {
/* Technique dependent encode params */
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
/* Technique dependent encode params */
typedef struct {
/*
* Technique Parameters
*/
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
/* Technique dependent white params */
typedef struct {
typedef struct {
typedef struct {
/* Technique dependent white params */
/* Technique dependent gamut params */
typedef struct {
/* Technique dependent gamut params */
typedef struct {
/* Technique dependent gamut params */
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
/* LISTofCARD8 (Qtable) */
/* LISTofCARD8 (ACtable) */
/* LISTofCARD8 (DCtable) */
typedef struct {
/* LISTofCARD8 (table) */
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
typedef struct {
/*
* SIZEOF values
*/
#define sz_xieTypAlignment 1
#define sz_xieTypArithmeticOp 1
#define sz_xieTypColorAllocTechnique 2
#define sz_xieTypColorList 4
#define sz_xieTypCompareOp 1
#define sz_xieTypConstant 12
#define sz_xieTypConstrainTechnique 2
#define sz_xieTypConvertFromRGBTechnique 2
#define sz_xieTypConvertToRGBTechnique 2
#define sz_xieTypConvolveTechnique 2
#define sz_xieTypDataClass 1
#define sz_xieTypDataType 1
#define sz_xieTypDecodeTechnique 2
#define sz_xieTypDitherTechnique 2
#define sz_xieTypEncodeTechnique 2
#define sz_xieTypPhotospace 4
#define sz_xieTypPhotoflo 4
#define sz_xieTypExecutable 8
#define sz_xieTypExportNotify 1
#define sz_xieTypExportState 1
#define sz_xieTypFloat 4
#define sz_xieTypGamutTechnique 2
#define sz_xieTypGeometryTechnique 2
#define sz_xieTypHistogramData 8
#define sz_xieTypHistogramShape 2
#define sz_xieTypInterleave 1
#define sz_xieTypLevels 12
#define sz_xieTypLUT 4
#define sz_xieTypMathOp 1
#define sz_xieTypMatrix 36
#define sz_xieTypOrientation 1
#define sz_xieTypPhotofloOutcome 1
#define sz_xieTypPhotofloState 1
#define sz_xieTypPhotomap 4
#define sz_xieTypPhototag 2
#define sz_xieTypProcessDomain 12
#define sz_xieTypRectangle 16
#define sz_xieTypROI 4
#define sz_xieTypServiceClass 1
#define sz_xieTypTechniqueGroup 1
#define sz_xieTypTechniqueRec 8
#define sz_xieTypTile 12
#define sz_xieTypTripleofCARD8 3
#define sz_xieTypTripleofCARD16 6
#define sz_xieTypTripleofCARD32 12
#define sz_xieTypWhiteAdjustTechnique 2
#define sz_xieFloImportClientLUT 32
#define sz_xieFloImportClientPhoto 48
#define sz_xieFloImportClientROI 8
#define sz_xieFloImportDrawable 24
#define sz_xieFloImportDrawablePlane 28
#define sz_xieFloImportLUT 8
#define sz_xieFloImportPhotomap 12
#define sz_xieFloImportROI 8
#define sz_xieFloArithmetic 32
#define sz_xieFloBandCombine 12
#define sz_xieFloBandExtract 28
#define sz_xieFloBandSelect 8
#define sz_xieFloBlend 40
#define sz_xieFloCompare 36
#define sz_xieFloConstrain 24
#define sz_xieFloConvertFromIndex 12
#define sz_xieFloConvertFromRGB 12
#define sz_xieFloConvertToIndex 20
#define sz_xieFloConvertToRGB 12
#define sz_xieFloConvolve 24
#define sz_xieFloDither 24
#define sz_xieFloGeometry 56
#define sz_xieFloLogical 32
#define sz_xieFloMatchHistogram 24
#define sz_xieFloMath 20
#define sz_xieFloPasteUp 28
#define sz_xieFloPoint 20
#define sz_xieFloUnconstrain 8
#define sz_xieFloExportClientHistogram 20
#define sz_xieFloExportClientLUT 32
#define sz_xieFloExportClientPhoto 12
#define sz_xieFloExportClientROI 8
#define sz_xieFloExportDrawable 20
#define sz_xieFloExportDrawablePlane 20
#define sz_xieFloExportLUT 24
#define sz_xieFloExportPhotomap 16
#define sz_xieFloExportROI 12
#define sz_xieTecColorAllocAll 4
#define sz_xieTecColorAllocMatch 8
#define sz_xieTecColorAllocRequantize 4
#define sz_xieTecClipScale 48
#define sz_xieTecHardClip 0
#define sz_xieTecRGBToCIELab 40
#define sz_xieTecRGBToCIEXYZ 40
#define sz_xieTecRGBToYCbCr 36
#define sz_xieTecRGBToYCC 28
#define sz_xieTecYCbCrToRGB 40
#define sz_xieTecYCCToRGB 32
#define sz_xieTecCIELabToRGB 44
#define sz_xieTecCIEXYZToRGB 44
#define sz_xieTecConvolveConstant 12
#define sz_xieTecConvolveReplicate 0
#define sz_xieTecDecodeUncompressedSingle 8
#define sz_xieTecDecodeUncompressedTriple 16
#define sz_xieTecDecodeG31D 4
#define sz_xieTecDecodeG32D 4
#define sz_xieTecDecodeG42D 4
#define sz_xieTecDecodeTIFF2 4
#define sz_xieTecDecodeTIFFPackBits 4
#define sz_xieTecDecodeJPEGBaseline 4
#define sz_xieTecDecodeJPEGLossless 4
#define sz_xieTecDitherOrdered 4
#define sz_xieTecDitherErrorDiffusion 4
#define sz_xieTecEncodeServerChoice 4
#define sz_xieTecEncodeUncompressedSingle 4
#define sz_xieTecEncodeUncompressedTriple 12
#define sz_xieTecEncodeG31D 4
#define sz_xieTecEncodeG32D 8
#define sz_xieTecEncodeG42D 4
#define sz_xieTecEncodeJPEGBaseline 16
#define sz_xieTecEncodeJPEGLossless 8
#define sz_xieTecEncodeTIFF2 4
#define sz_xieTecEncodeTIFFPackBits 4
#define sz_xieTecGamutNone 0
#define sz_xieTecGamutClipRGB 0
#define sz_xieTecGeomAntialias 0
#define sz_xieTecGeomAntialiasByArea 4
#define sz_xieTecGeomAntialiasByLowpass 4
#define sz_xieTecGeomBilinearInterpolation 0
#define sz_xieTecGeomGaussian 12
#define sz_xieTecGeomNearestNeighbor 4
#define sz_xieTecHistogramFlat 0
#define sz_xieTecHistogramGaussian 8
#define sz_xieTecHistogramHyperbolic 8
#define sz_xieTecWhiteAdjustNone 0
#define sz_xieTecWhiteAdjustCIELabShift 12
#endif /* _XIEPROTOST_H_ */