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_set_input_viewport.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_set_input_viewport.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_set_input_viewport.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_set_input_viewport.html on line 8

gf_vcap_set_input_viewport()

Set the video capture source viewport

Synopsis:

#include <gf/gf.h>

void gf_vcap_set_input_viewport (
        gf_vcap_t   vcap,
        int         x1,
        int         y1,
        int         x2,
        int         y2 );

Arguments:

vcap
The handle of the video capture unit, returned by gf_vcap_attach().
x1
Left x value of the source viewport.
y1
Top y value of the source viewport.
x2
Right x value of the source viewport.
y2
Bottom y value of the source viewport.

Library:

gf

Description:

This function sets a video capture unit's source cropping viewport. The source viewport specifies the area of the frames received by the capture unit, which can be optionally scaled, and stored in the video capture buffer.


Note:
  • The rectangle must be within the bounds of the target display.
  • 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()


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_set_input_viewport.html on line 137

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_set_input_viewport.html on line 137