Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XcmsWhiteAdjustProc − interface definition for the white point adjustment procedure. 

Synopsis

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

cccSpecifies 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 are ignored and remain unchanged upon return.

ncolorsSpecifies the number of XcmsColor structures in the color specification array. 

compression_flags_return
Specifies an array of Boolean values (or NULL) for returned information that indicates if the color was compressed. For example, if this routine returns XcmsSuccessWithCompression and compression_flags_return[3] is True, this indicates that the fourth color specified in the color specification array was compressed.  If the calling routine is not interested in knowing which color was compressed when the return value is XcmsSuccessWithCompression, it is allowed to pass a NULL for this argument. 

Availability

Release 5 and later. 

Description

XcmsWhiteAdjustProc is a function that takes the color specifications, whose associated white point is initial_white_point, and modifies them for the target_white_point; returning the color specifications in the format specified by target_format. 

See Also

XcmsSetWhiteAdjustProc(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026