Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_attach.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_attach.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_attach.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_attach.html on line 8

gf_vcap_attach()

Attach to a video capture unit

Synopsis:

#include <gf/gf.h>

int gf_vcap_attach ( gf_vcap_t *    pvcap,
                     gf_dev_t       gdev,
                     unsigned       vcap_index,
                     unsigned       flags );

Arguments:

pvcap
An address in which the function stores a handle to the video capture unit.
gdev
The handle of the graphics device.
vcap_index
Index of the desired video capture unit (units are indexed numerically starting at 0).
flags
Flags to control behavior; currently no flags are defined.

Library:

gf

Description:

This function attaches to a video capture unit.

Returns:

The status of the attach:

GF_ERR_OK
Success
GF_ERR_MEM
Memory-allocation failure
GF_ERR_PARM
The layer index is out of range for the specified display.
GF_ERR_IODISPLAY
Error communicating with io-display. Check to ensure io-display is still running. The sloginfo utility may provide more information.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_vcap_detach(), gf_vcap_disable(), gf_vcap_enable()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_attach.html on line 135

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_vcap_attach.html on line 135