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

gf_vcap_set_brightness()

Set the video brightness

Synopsis:

#include <gf/gf.h>

void gf_vcap_set_brightness (
        gf_vcap_t   vcap,
        int         brightness );

Arguments:

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

Library:

gf

Description:

This function controls the brightness 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()