Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

gf_vcap_set_saturation()

Set the video capture saturation

Synopsis:

#include <gf/gf.h>

void gf_vcap_set_saturation ( gf_vcap_t   vcap,
                              int         saturation );

Arguments:

vcap
The handle of the video capture unit, returned by gf_vcap_attach().
saturation
The color saturation applied to captured video. The value is in the range -128 to 127. A value of zero means normal saturation.

Library:

gf

Description:

This function controls saturation of a video capture unit.


Note: Changes made to a capture unit via the gf_vcap_set_*() set of functions are enqueued and do not take effect until you explicitly call gf_vcap_update().

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_vcap_attach(), gf_vcap_update()