![]() |
CMVideoCardGammaFormula |
Header: CMICCProfile.h |
struct CMVideoCardGammaFormula { Fixed redGamma; Fixed redMin; Fixed redMax; Fixed greenGamma; Fixed greenMin; Fixed greenMax; Fixed blueGamma; Fixed blueMin; Fixed blueMax; };
The gamma value for red. It must be greater than 0.0.
The minimum gamma value for red. It must be greater than 0.0 and less than 1.0.
The maximum gamma value for red. It must be greater than 0.0 and less than 1.0.
The gamma value for green. It must be greater than 0.0.
The minimum gamma value for green. It must be greater than 0.0 and less than 1.0.
The maximum gamma value for green. It must be greater than 0.0 and less than 1.0.
The gamma value for blue. It must be greater than 0.0.
The minimum gamma value for blue. It must be greater than 0.0 and less than 1.0.
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)