Carbon


CMVideoCardGammaFormula

Header: CMICCProfile.h

struct CMVideoCardGammaFormula {
    Fixed redGamma; 
    Fixed redMin; 
    Fixed redMax; 
    Fixed greenGamma; 
    Fixed greenMin; 
    Fixed greenMax; 
    Fixed blueGamma; 
    Fixed blueMin; 
    Fixed blueMax;
};

Field descriptions

redGamma

The gamma value for red. It must be greater than 0.0.

redMin

The minimum gamma value for red. It must be greater than 0.0 and less than 1.0.

redMax

The maximum gamma value for red. It must be greater than 0.0 and less than 1.0.

greenGamma

The gamma value for green. It must be greater than 0.0.

greenMin

The minimum gamma value for green. It must be greater than 0.0 and less than 1.0.

greenMax

The maximum gamma value for green. It must be greater than 0.0 and less than 1.0.

blueGamma

The gamma value for blue. It must be greater than 0.0.

blueMin

The minimum gamma value for blue. It must be greater than 0.0 and less than 1.0.

blueMax

The maximum gamma value for blue. It must be greater than 0.0 and less than 1.0.

The ColorSync Manager defines the CMVideoCardGammaFormula data structure to specify video card gamma data by providing three values each for red, blue and green gamma. The values represent the actual gamma, the minimum gamma, and the maximum gamma for each color. Specifying video gamma information by formula takes less space than specifying it with a table, but the results may be less precise.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)