6.10.3 Prototype White Point Adjustment Procedure

The white point adjustment procedure interface must adhere to the following:
typedef Status (*XcmsWhiteAdjustProc)(ccc, initial_white_point, target_white_point, target_format,
                colors_in_out, ncolors, compression_flags_return)
       XcmsCCC ccc;
       XcmsColor *initial_white_point;
       XcmsColor *target_white_point;
       XcmsColorFormat target_format;
       XcmsColor colors_in_out[];
       unsigned int ncolors;
       Bool compression_flags_return[];

Arguments

ccc Specifies the CCC.
initial_white_point Specifies the initial white point.
target_white_point Specifies the target white point.
target_format Specifies the target color specification format.
colors_in_out Specifies an array of color specifications. Pixel members should be ignored and must remain unchanged upon return.
ncolors Specifies the number of XcmsColor structures in the color specification array.
compression_flags_return Returns an array of Boolean values for indicating compression status. If a non-NULL pointer is supplied and a color at a given index is compressed, then True should be stored at the corresponding index in this array; otherwise, the array should not be modified.
Next: Supplied White Point Adjustment Procedures

Christophe Tronche, ch@tronche.com