VISetGamma

Syntax

#include <revolution/vi.h>

void VISetGamma(VIGamma gamma);

Arguments

gamma Gamma value. Applicable values range from 0.1 to 3.0.
Name Gamma Correction Coefficient
VI_GM_0_1 0.1
VI_GM_0_2 0.2
.... ...
VI_GM_2_9 2.9
VI_GM_3_0 3.0

Return Values

None.

Description

This function applies the specified gamma correction for the gamma value only to the brightness signal output by the VI.
A specified gamma value remains valid until it is replaced by another gamma value.

Changes do not take effect until VIFlush is called. See the VIFlush function reference for details on enabling effects.
Note that gamma correction is always set to 1.0 through VIInit.

See Also

VIFlush, VIInit

Revision History

2006/09/16 Added a note that a gamma value of 1.0 will be set by VIInit.
2006/05/09 Added the effective period of the gamma correction.
2006/03/01 Initial version.


CONFIDENTIAL