VISetGamma

C Specification

#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 more details about when the change takes effect.

See Also

VIFlush

Revision History

03/01/2006 Initial version
05/09/2006 Added entry on the length of time the gamma correction remains valid.