Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/X11
File: Xcms.h
[0] Fix | Delete
/*
[1] Fix | Delete
* Code and supporting documentation (c) Copyright 1990 1991 Tektronix, Inc.
[2] Fix | Delete
* All Rights Reserved
[3] Fix | Delete
*
[4] Fix | Delete
* This file is a component of an X Window System-specific implementation
[5] Fix | Delete
* of Xcms based on the TekColor Color Management System. Permission is
[6] Fix | Delete
* hereby granted to use, copy, modify, sell, and otherwise distribute this
[7] Fix | Delete
* software and its documentation for any purpose and without fee, provided
[8] Fix | Delete
* that this copyright, permission, and disclaimer notice is reproduced in
[9] Fix | Delete
* all copies of this software and in supporting documentation. TekColor
[10] Fix | Delete
* is a trademark of Tektronix, Inc.
[11] Fix | Delete
*
[12] Fix | Delete
* Tektronix makes no representation about the suitability of this software
[13] Fix | Delete
* for any purpose. It is provided "as is" and with all faults.
[14] Fix | Delete
*
[15] Fix | Delete
* TEKTRONIX DISCLAIMS ALL WARRANTIES APPLICABLE TO THIS SOFTWARE,
[16] Fix | Delete
* INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
[17] Fix | Delete
* PARTICULAR PURPOSE. IN NO EVENT SHALL TEKTRONIX BE LIABLE FOR ANY
[18] Fix | Delete
* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
[19] Fix | Delete
* RESULTING FROM LOSS OF USE, DATA, OR PROFITS, WHETHER IN AN ACTION OF
[20] Fix | Delete
* CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
[21] Fix | Delete
* CONNECTION WITH THE USE OR THE PERFORMANCE OF THIS SOFTWARE.
[22] Fix | Delete
*
[23] Fix | Delete
*
[24] Fix | Delete
* DESCRIPTION
[25] Fix | Delete
* Public include file for X Color Management System
[26] Fix | Delete
*/
[27] Fix | Delete
#ifndef _X11_XCMS_H_
[28] Fix | Delete
#define _X11_XCMS_H_
[29] Fix | Delete
[30] Fix | Delete
#include <X11/Xlib.h>
[31] Fix | Delete
[32] Fix | Delete
/* The Xcms structs are full of implicit padding to properly align members.
[33] Fix | Delete
We can't clean that up without breaking ABI, so tell clang not to bother
[34] Fix | Delete
complaining about it. */
[35] Fix | Delete
#ifdef __clang__
[36] Fix | Delete
#pragma clang diagnostic push
[37] Fix | Delete
#pragma clang diagnostic ignored "-Wpadded"
[38] Fix | Delete
#endif
[39] Fix | Delete
[40] Fix | Delete
/*
[41] Fix | Delete
* XCMS Status Values
[42] Fix | Delete
*/
[43] Fix | Delete
#define XcmsFailure 0
[44] Fix | Delete
#define XcmsSuccess 1
[45] Fix | Delete
#define XcmsSuccessWithCompression 2
[46] Fix | Delete
[47] Fix | Delete
/*
[48] Fix | Delete
* Color Space Format ID's
[49] Fix | Delete
* Color Space ID's are of XcmsColorFormat type.
[50] Fix | Delete
*
[51] Fix | Delete
* bit 31
[52] Fix | Delete
* 0 == Device-Independent
[53] Fix | Delete
* 1 == Device-Dependent
[54] Fix | Delete
*
[55] Fix | Delete
* bit 30:
[56] Fix | Delete
* 0 == Registered with X Consortium
[57] Fix | Delete
* 1 == Unregistered
[58] Fix | Delete
*/
[59] Fix | Delete
#define XcmsUndefinedFormat (XcmsColorFormat)0x00000000
[60] Fix | Delete
#define XcmsCIEXYZFormat (XcmsColorFormat)0x00000001
[61] Fix | Delete
#define XcmsCIEuvYFormat (XcmsColorFormat)0x00000002
[62] Fix | Delete
#define XcmsCIExyYFormat (XcmsColorFormat)0x00000003
[63] Fix | Delete
#define XcmsCIELabFormat (XcmsColorFormat)0x00000004
[64] Fix | Delete
#define XcmsCIELuvFormat (XcmsColorFormat)0x00000005
[65] Fix | Delete
#define XcmsTekHVCFormat (XcmsColorFormat)0x00000006
[66] Fix | Delete
#define XcmsRGBFormat (XcmsColorFormat)0x80000000
[67] Fix | Delete
#define XcmsRGBiFormat (XcmsColorFormat)0x80000001
[68] Fix | Delete
[69] Fix | Delete
/*
[70] Fix | Delete
* State of XcmsPerScrnInfo
[71] Fix | Delete
*/
[72] Fix | Delete
#define XcmsInitNone 0x00 /* no initialization attempted */
[73] Fix | Delete
#define XcmsInitSuccess 0x01 /* initialization successful */
[74] Fix | Delete
#define XcmsInitFailure 0xff /* failure, use defaults */
[75] Fix | Delete
[76] Fix | Delete
#define DisplayOfCCC(ccc) ((ccc)->dpy)
[77] Fix | Delete
#define ScreenNumberOfCCC(ccc) ((ccc)->screenNumber)
[78] Fix | Delete
#define VisualOfCCC(ccc) ((ccc)->visual)
[79] Fix | Delete
#define ClientWhitePointOfCCC(ccc) (&(ccc)->clientWhitePt)
[80] Fix | Delete
#define ScreenWhitePointOfCCC(ccc) (&(ccc)->pPerScrnInfo->screenWhitePt)
[81] Fix | Delete
#define FunctionSetOfCCC(ccc) ((ccc)->pPerScrnInfo->functionSet)
[82] Fix | Delete
[83] Fix | Delete
typedef unsigned long XcmsColorFormat; /* Color Space Format ID */
[84] Fix | Delete
[85] Fix | Delete
typedef double XcmsFloat;
[86] Fix | Delete
[87] Fix | Delete
/*
[88] Fix | Delete
* Device RGB
[89] Fix | Delete
*/
[90] Fix | Delete
typedef struct {
[91] Fix | Delete
unsigned short red; /* scaled from 0x0000 to 0xffff */
[92] Fix | Delete
unsigned short green; /* scaled from 0x0000 to 0xffff */
[93] Fix | Delete
unsigned short blue; /* scaled from 0x0000 to 0xffff */
[94] Fix | Delete
} XcmsRGB;
[95] Fix | Delete
[96] Fix | Delete
/*
[97] Fix | Delete
* RGB Intensity
[98] Fix | Delete
*/
[99] Fix | Delete
typedef struct {
[100] Fix | Delete
XcmsFloat red; /* 0.0 - 1.0 */
[101] Fix | Delete
XcmsFloat green; /* 0.0 - 1.0 */
[102] Fix | Delete
XcmsFloat blue; /* 0.0 - 1.0 */
[103] Fix | Delete
} XcmsRGBi;
[104] Fix | Delete
[105] Fix | Delete
/*
[106] Fix | Delete
* CIE XYZ
[107] Fix | Delete
*/
[108] Fix | Delete
typedef struct {
[109] Fix | Delete
XcmsFloat X;
[110] Fix | Delete
XcmsFloat Y;
[111] Fix | Delete
XcmsFloat Z;
[112] Fix | Delete
} XcmsCIEXYZ;
[113] Fix | Delete
[114] Fix | Delete
/*
[115] Fix | Delete
* CIE u'v'Y
[116] Fix | Delete
*/
[117] Fix | Delete
typedef struct {
[118] Fix | Delete
XcmsFloat u_prime; /* 0.0 - 1.0 */
[119] Fix | Delete
XcmsFloat v_prime; /* 0.0 - 1.0 */
[120] Fix | Delete
XcmsFloat Y; /* 0.0 - 1.0 */
[121] Fix | Delete
} XcmsCIEuvY;
[122] Fix | Delete
[123] Fix | Delete
/*
[124] Fix | Delete
* CIE xyY
[125] Fix | Delete
*/
[126] Fix | Delete
typedef struct {
[127] Fix | Delete
XcmsFloat x; /* 0.0 - 1.0 */
[128] Fix | Delete
XcmsFloat y; /* 0.0 - 1.0 */
[129] Fix | Delete
XcmsFloat Y; /* 0.0 - 1.0 */
[130] Fix | Delete
} XcmsCIExyY;
[131] Fix | Delete
[132] Fix | Delete
/*
[133] Fix | Delete
* CIE L*a*b*
[134] Fix | Delete
*/
[135] Fix | Delete
typedef struct {
[136] Fix | Delete
XcmsFloat L_star; /* 0.0 - 100.0 */
[137] Fix | Delete
XcmsFloat a_star;
[138] Fix | Delete
XcmsFloat b_star;
[139] Fix | Delete
} XcmsCIELab;
[140] Fix | Delete
[141] Fix | Delete
/*
[142] Fix | Delete
* CIE L*u*v*
[143] Fix | Delete
*/
[144] Fix | Delete
typedef struct {
[145] Fix | Delete
XcmsFloat L_star; /* 0.0 - 100.0 */
[146] Fix | Delete
XcmsFloat u_star;
[147] Fix | Delete
XcmsFloat v_star;
[148] Fix | Delete
} XcmsCIELuv;
[149] Fix | Delete
[150] Fix | Delete
/*
[151] Fix | Delete
* TekHVC
[152] Fix | Delete
*/
[153] Fix | Delete
typedef struct {
[154] Fix | Delete
XcmsFloat H; /* 0.0 - 360.0 */
[155] Fix | Delete
XcmsFloat V; /* 0.0 - 100.0 */
[156] Fix | Delete
XcmsFloat C; /* 0.0 - 100.0 */
[157] Fix | Delete
} XcmsTekHVC;
[158] Fix | Delete
[159] Fix | Delete
/*
[160] Fix | Delete
* PAD
[161] Fix | Delete
*/
[162] Fix | Delete
typedef struct {
[163] Fix | Delete
XcmsFloat pad0;
[164] Fix | Delete
XcmsFloat pad1;
[165] Fix | Delete
XcmsFloat pad2;
[166] Fix | Delete
XcmsFloat pad3;
[167] Fix | Delete
} XcmsPad;
[168] Fix | Delete
[169] Fix | Delete
[170] Fix | Delete
/*
[171] Fix | Delete
* XCMS Color Structure
[172] Fix | Delete
*/
[173] Fix | Delete
typedef struct {
[174] Fix | Delete
union {
[175] Fix | Delete
XcmsRGB RGB;
[176] Fix | Delete
XcmsRGBi RGBi;
[177] Fix | Delete
XcmsCIEXYZ CIEXYZ;
[178] Fix | Delete
XcmsCIEuvY CIEuvY;
[179] Fix | Delete
XcmsCIExyY CIExyY;
[180] Fix | Delete
XcmsCIELab CIELab;
[181] Fix | Delete
XcmsCIELuv CIELuv;
[182] Fix | Delete
XcmsTekHVC TekHVC;
[183] Fix | Delete
XcmsPad Pad;
[184] Fix | Delete
} spec; /* the color specification */
[185] Fix | Delete
unsigned long pixel; /* pixel value (as needed) */
[186] Fix | Delete
XcmsColorFormat format; /* the specification format */
[187] Fix | Delete
} XcmsColor;
[188] Fix | Delete
[189] Fix | Delete
[190] Fix | Delete
/*
[191] Fix | Delete
* XCMS Per Screen related data
[192] Fix | Delete
*/
[193] Fix | Delete
[194] Fix | Delete
typedef struct _XcmsPerScrnInfo {
[195] Fix | Delete
XcmsColor screenWhitePt; /* Screen White point */
[196] Fix | Delete
XPointer functionSet; /* pointer to Screen Color Characterization */
[197] Fix | Delete
/* Function Set structure */
[198] Fix | Delete
XPointer screenData; /* pointer to corresponding Screen Color*/
[199] Fix | Delete
/* Characterization Data */
[200] Fix | Delete
unsigned char state; /* XcmsInitNone, XcmsInitSuccess, XcmsInitFailure */
[201] Fix | Delete
char pad[3];
[202] Fix | Delete
} XcmsPerScrnInfo;
[203] Fix | Delete
[204] Fix | Delete
typedef struct _XcmsCCC *XcmsCCC;
[205] Fix | Delete
[206] Fix | Delete
typedef Status (*XcmsCompressionProc)( /* Gamut Compression Proc */
[207] Fix | Delete
XcmsCCC /* ccc */,
[208] Fix | Delete
XcmsColor* /* colors_in_out */,
[209] Fix | Delete
unsigned int /* ncolors */,
[210] Fix | Delete
unsigned int /* index */,
[211] Fix | Delete
Bool* /* compression_flags_return */
[212] Fix | Delete
);
[213] Fix | Delete
[214] Fix | Delete
typedef Status (*XcmsWhiteAdjustProc)( /* White Point Adjust Proc */
[215] Fix | Delete
XcmsCCC /* ccc */,
[216] Fix | Delete
XcmsColor* /* initial_white_point*/,
[217] Fix | Delete
XcmsColor* /* target_white_point*/,
[218] Fix | Delete
XcmsColorFormat /* target_format */,
[219] Fix | Delete
XcmsColor* /* colors_in_out */,
[220] Fix | Delete
unsigned int /* ncolors */,
[221] Fix | Delete
Bool* /* compression_flags_return */
[222] Fix | Delete
);
[223] Fix | Delete
[224] Fix | Delete
/*
[225] Fix | Delete
* XCMS Color Conversion Context
[226] Fix | Delete
*/
[227] Fix | Delete
typedef struct _XcmsCCC {
[228] Fix | Delete
Display *dpy; /* X Display */
[229] Fix | Delete
int screenNumber; /* X screen number */
[230] Fix | Delete
Visual *visual; /* X Visual */
[231] Fix | Delete
XcmsColor clientWhitePt; /* Client White Point */
[232] Fix | Delete
XcmsCompressionProc gamutCompProc; /* Gamut Compression Function */
[233] Fix | Delete
XPointer gamutCompClientData; /* Gamut Comp Func Client Data */
[234] Fix | Delete
XcmsWhiteAdjustProc whitePtAdjProc; /* White Point Adjustment Function */
[235] Fix | Delete
XPointer whitePtAdjClientData; /* White Pt Adj Func Client Data */
[236] Fix | Delete
XcmsPerScrnInfo *pPerScrnInfo; /* pointer to per screen information */
[237] Fix | Delete
/* associated with the above display */
[238] Fix | Delete
/* screenNumber */
[239] Fix | Delete
} XcmsCCCRec;
[240] Fix | Delete
[241] Fix | Delete
typedef Status (*XcmsScreenInitProc)( /* Screen Initialization Proc */
[242] Fix | Delete
Display* /* dpy */,
[243] Fix | Delete
int /* screen_number */,
[244] Fix | Delete
XcmsPerScrnInfo* /* screen_info */
[245] Fix | Delete
);
[246] Fix | Delete
[247] Fix | Delete
typedef void (*XcmsScreenFreeProc)(
[248] Fix | Delete
XPointer /* screenData */
[249] Fix | Delete
);
[250] Fix | Delete
[251] Fix | Delete
/*
[252] Fix | Delete
* Function List Pointer -- pointer to an array of function pointers.
[253] Fix | Delete
* The end of list is indicated by a NULL pointer.
[254] Fix | Delete
*/
[255] Fix | Delete
/*
[256] Fix | Delete
* XXX: The use of the XcmsConversionProc type is broken. The
[257] Fix | Delete
* device-independent colour conversion code uses it as:
[258] Fix | Delete
[259] Fix | Delete
typedef Status (*XcmsConversionProc)(XcmsCCC, XcmsColor *, XcmsColor *,
[260] Fix | Delete
unsigned int);
[261] Fix | Delete
[262] Fix | Delete
* while the device-dependent code uses it as:
[263] Fix | Delete
[264] Fix | Delete
typedef Status (*XcmsConversionProc)(XcmsCCC, XcmsColor *, unsigned int,
[265] Fix | Delete
Bool *);
[266] Fix | Delete
[267] Fix | Delete
* Until this is reworked, it's probably best to leave it unprotoized.
[268] Fix | Delete
* The code works regardless.
[269] Fix | Delete
*/
[270] Fix | Delete
typedef Status (*XcmsDDConversionProc)( /* using device-dependent version */
[271] Fix | Delete
XcmsCCC /* ccc */,
[272] Fix | Delete
XcmsColor* /* pcolors_in_out */,
[273] Fix | Delete
unsigned int /* ncolors */,
[274] Fix | Delete
Bool* /* pCompressed */
[275] Fix | Delete
);
[276] Fix | Delete
[277] Fix | Delete
typedef Status (*XcmsDIConversionProc)( /* using device-independent version */
[278] Fix | Delete
XcmsCCC /* ccc */,
[279] Fix | Delete
XcmsColor* /* white_point */,
[280] Fix | Delete
XcmsColor* /* pcolors_in_out */,
[281] Fix | Delete
unsigned int /* ncolors */
[282] Fix | Delete
);
[283] Fix | Delete
[284] Fix | Delete
typedef XcmsDIConversionProc XcmsConversionProc;
[285] Fix | Delete
typedef XcmsConversionProc *XcmsFuncListPtr;
[286] Fix | Delete
[287] Fix | Delete
typedef int (*XcmsParseStringProc)( /* Color String Parsing Proc */
[288] Fix | Delete
char* /* color_string */,
[289] Fix | Delete
XcmsColor* /* color_return */
[290] Fix | Delete
);
[291] Fix | Delete
[292] Fix | Delete
/*
[293] Fix | Delete
* Color Space -- per Color Space related data (Device-Independent
[294] Fix | Delete
* or Device-Dependent)
[295] Fix | Delete
*/
[296] Fix | Delete
typedef struct _XcmsColorSpace {
[297] Fix | Delete
const char *prefix; /* Prefix of string format. */
[298] Fix | Delete
XcmsColorFormat id; /* Format ID number. */
[299] Fix | Delete
XcmsParseStringProc parseString;
[300] Fix | Delete
/* String format parsing function */
[301] Fix | Delete
XcmsFuncListPtr to_CIEXYZ; /* Pointer to an array of function */
[302] Fix | Delete
/* pointers such that when the */
[303] Fix | Delete
/* functions are executed in sequence */
[304] Fix | Delete
/* will convert a XcmsColor structure */
[305] Fix | Delete
/* from this color space to CIEXYZ */
[306] Fix | Delete
/* space. */
[307] Fix | Delete
XcmsFuncListPtr from_CIEXYZ;/* Pointer to an array of function */
[308] Fix | Delete
/* pointers such that when the */
[309] Fix | Delete
/* functions are executed in sequence */
[310] Fix | Delete
/* will convert a XcmsColor structure */
[311] Fix | Delete
/* from CIEXYZ space to this color */
[312] Fix | Delete
/* space. */
[313] Fix | Delete
int inverse_flag; /* If 1, indicates that for 0 <= i < n */
[314] Fix | Delete
/* where n is the number of function */
[315] Fix | Delete
/* pointers in the lists to_CIEXYZ */
[316] Fix | Delete
/* and from_CIEXYZ; for each function */
[317] Fix | Delete
/* to_CIEXYZ[i] its inverse function */
[318] Fix | Delete
/* is from_CIEXYZ[n - i]. */
[319] Fix | Delete
[320] Fix | Delete
} XcmsColorSpace;
[321] Fix | Delete
[322] Fix | Delete
/*
[323] Fix | Delete
* Screen Color Characterization Function Set -- per device class
[324] Fix | Delete
* color space conversion functions.
[325] Fix | Delete
*/
[326] Fix | Delete
typedef struct _XcmsFunctionSet {
[327] Fix | Delete
XcmsColorSpace **DDColorSpaces;
[328] Fix | Delete
/* Pointer to an array of pointers to */
[329] Fix | Delete
/* Device-DEPENDENT color spaces */
[330] Fix | Delete
/* understood by this SCCFuncSet. */
[331] Fix | Delete
XcmsScreenInitProc screenInitProc;
[332] Fix | Delete
/* Screen initialization function that */
[333] Fix | Delete
/* reads Screen Color Characterization*/
[334] Fix | Delete
/* Data off properties on the screen's*/
[335] Fix | Delete
/* root window. */
[336] Fix | Delete
XcmsScreenFreeProc screenFreeProc;
[337] Fix | Delete
/* Function that frees the SCCData */
[338] Fix | Delete
/* structures. */
[339] Fix | Delete
} XcmsFunctionSet;
[340] Fix | Delete
[341] Fix | Delete
_XFUNCPROTOBEGIN
[342] Fix | Delete
[343] Fix | Delete
extern Status XcmsAddColorSpace (
[344] Fix | Delete
XcmsColorSpace* /* pColorSpace */
[345] Fix | Delete
);
[346] Fix | Delete
[347] Fix | Delete
extern Status XcmsAddFunctionSet (
[348] Fix | Delete
XcmsFunctionSet* /* functionSet */
[349] Fix | Delete
);
[350] Fix | Delete
[351] Fix | Delete
extern Status XcmsAllocColor (
[352] Fix | Delete
Display* /* dpy */,
[353] Fix | Delete
Colormap /* colormap */,
[354] Fix | Delete
XcmsColor* /* color_in_out */,
[355] Fix | Delete
XcmsColorFormat /* result_format */
[356] Fix | Delete
);
[357] Fix | Delete
[358] Fix | Delete
extern Status XcmsAllocNamedColor (
[359] Fix | Delete
Display* /* dpy */,
[360] Fix | Delete
Colormap /* colormap */,
[361] Fix | Delete
_Xconst char* /* color_string */,
[362] Fix | Delete
XcmsColor* /* color_scrn_return */,
[363] Fix | Delete
XcmsColor* /* color_exact_return */,
[364] Fix | Delete
XcmsColorFormat /* result_format */
[365] Fix | Delete
);
[366] Fix | Delete
[367] Fix | Delete
extern XcmsCCC XcmsCCCOfColormap (
[368] Fix | Delete
Display* /* dpy */,
[369] Fix | Delete
Colormap /* colormap */
[370] Fix | Delete
);
[371] Fix | Delete
[372] Fix | Delete
extern Status XcmsCIELabClipab(
[373] Fix | Delete
XcmsCCC /* ccc */,
[374] Fix | Delete
XcmsColor* /* colors_in_out */,
[375] Fix | Delete
unsigned int /* ncolors */,
[376] Fix | Delete
unsigned int /* index */,
[377] Fix | Delete
Bool* /* compression_flags_return */
[378] Fix | Delete
);
[379] Fix | Delete
[380] Fix | Delete
extern Status XcmsCIELabClipL(
[381] Fix | Delete
XcmsCCC /* ccc */,
[382] Fix | Delete
XcmsColor* /* colors_in_out */,
[383] Fix | Delete
unsigned int /* ncolors */,
[384] Fix | Delete
unsigned int /* index */,
[385] Fix | Delete
Bool* /* compression_flags_return */
[386] Fix | Delete
);
[387] Fix | Delete
[388] Fix | Delete
extern Status XcmsCIELabClipLab(
[389] Fix | Delete
XcmsCCC /* ccc */,
[390] Fix | Delete
XcmsColor* /* colors_in_out */,
[391] Fix | Delete
unsigned int /* ncolors */,
[392] Fix | Delete
unsigned int /* index */,
[393] Fix | Delete
Bool* /* compression_flags_return */
[394] Fix | Delete
);
[395] Fix | Delete
[396] Fix | Delete
extern Status XcmsCIELabQueryMaxC (
[397] Fix | Delete
XcmsCCC /* ccc */,
[398] Fix | Delete
XcmsFloat /* hue_angle */,
[399] Fix | Delete
XcmsFloat /* L_star */,
[400] Fix | Delete
XcmsColor* /* color_return */
[401] Fix | Delete
);
[402] Fix | Delete
[403] Fix | Delete
extern Status XcmsCIELabQueryMaxL (
[404] Fix | Delete
XcmsCCC /* ccc */,
[405] Fix | Delete
XcmsFloat /* hue_angle */,
[406] Fix | Delete
XcmsFloat /* chroma */,
[407] Fix | Delete
XcmsColor* /* color_return */
[408] Fix | Delete
);
[409] Fix | Delete
[410] Fix | Delete
extern Status XcmsCIELabQueryMaxLC (
[411] Fix | Delete
XcmsCCC /* ccc */,
[412] Fix | Delete
XcmsFloat /* hue_angle */,
[413] Fix | Delete
XcmsColor* /* color_return */
[414] Fix | Delete
);
[415] Fix | Delete
[416] Fix | Delete
extern Status XcmsCIELabQueryMinL (
[417] Fix | Delete
XcmsCCC /* ccc */,
[418] Fix | Delete
XcmsFloat /* hue_angle */,
[419] Fix | Delete
XcmsFloat /* chroma */,
[420] Fix | Delete
XcmsColor* /* color_return */
[421] Fix | Delete
);
[422] Fix | Delete
[423] Fix | Delete
extern Status XcmsCIELabToCIEXYZ (
[424] Fix | Delete
XcmsCCC /* ccc */,
[425] Fix | Delete
XcmsColor* /* white_point */,
[426] Fix | Delete
XcmsColor* /* colors */,
[427] Fix | Delete
unsigned int /* ncolors */
[428] Fix | Delete
);
[429] Fix | Delete
[430] Fix | Delete
extern Status XcmsCIELabWhiteShiftColors(
[431] Fix | Delete
XcmsCCC /* ccc */,
[432] Fix | Delete
XcmsColor* /* initial_white_point*/,
[433] Fix | Delete
XcmsColor* /* target_white_point*/,
[434] Fix | Delete
XcmsColorFormat /* target_format */,
[435] Fix | Delete
XcmsColor* /* colors_in_out */,
[436] Fix | Delete
unsigned int /* ncolors */,
[437] Fix | Delete
Bool* /* compression_flags_return */
[438] Fix | Delete
);
[439] Fix | Delete
[440] Fix | Delete
extern Status XcmsCIELuvClipL(
[441] Fix | Delete
XcmsCCC /* ccc */,
[442] Fix | Delete
XcmsColor* /* colors_in_out */,
[443] Fix | Delete
unsigned int /* ncolors */,
[444] Fix | Delete
unsigned int /* index */,
[445] Fix | Delete
Bool* /* compression_flags_return */
[446] Fix | Delete
);
[447] Fix | Delete
[448] Fix | Delete
extern Status XcmsCIELuvClipLuv(
[449] Fix | Delete
XcmsCCC /* ccc */,
[450] Fix | Delete
XcmsColor* /* colors_in_out */,
[451] Fix | Delete
unsigned int /* ncolors */,
[452] Fix | Delete
unsigned int /* index */,
[453] Fix | Delete
Bool* /* compression_flags_return */
[454] Fix | Delete
);
[455] Fix | Delete
[456] Fix | Delete
extern Status XcmsCIELuvClipuv(
[457] Fix | Delete
XcmsCCC /* ccc */,
[458] Fix | Delete
XcmsColor* /* colors_in_out */,
[459] Fix | Delete
unsigned int /* ncolors */,
[460] Fix | Delete
unsigned int /* index */,
[461] Fix | Delete
Bool* /* compression_flags_return */
[462] Fix | Delete
);
[463] Fix | Delete
[464] Fix | Delete
extern Status XcmsCIELuvQueryMaxC (
[465] Fix | Delete
XcmsCCC /* ccc */,
[466] Fix | Delete
XcmsFloat /* hue_angle */,
[467] Fix | Delete
XcmsFloat /* L_star */,
[468] Fix | Delete
XcmsColor* /* color_return */
[469] Fix | Delete
);
[470] Fix | Delete
[471] Fix | Delete
extern Status XcmsCIELuvQueryMaxL (
[472] Fix | Delete
XcmsCCC /* ccc */,
[473] Fix | Delete
XcmsFloat /* hue_angle */,
[474] Fix | Delete
XcmsFloat /* chroma */,
[475] Fix | Delete
XcmsColor* /* color_return */
[476] Fix | Delete
);
[477] Fix | Delete
[478] Fix | Delete
extern Status XcmsCIELuvQueryMaxLC (
[479] Fix | Delete
XcmsCCC /* ccc */,
[480] Fix | Delete
XcmsFloat /* hue_angle */,
[481] Fix | Delete
XcmsColor* /* color_return */
[482] Fix | Delete
);
[483] Fix | Delete
[484] Fix | Delete
extern Status XcmsCIELuvQueryMinL (
[485] Fix | Delete
XcmsCCC /* ccc */,
[486] Fix | Delete
XcmsFloat /* hue_angle */,
[487] Fix | Delete
XcmsFloat /* chroma */,
[488] Fix | Delete
XcmsColor* /* color_return */
[489] Fix | Delete
);
[490] Fix | Delete
[491] Fix | Delete
extern Status XcmsCIELuvToCIEuvY (
[492] Fix | Delete
XcmsCCC /* ccc */,
[493] Fix | Delete
XcmsColor* /* white_point */,
[494] Fix | Delete
XcmsColor* /* colors */,
[495] Fix | Delete
unsigned int /* ncolors */
[496] Fix | Delete
);
[497] Fix | Delete
[498] Fix | Delete
extern Status XcmsCIELuvWhiteShiftColors(
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function