gf_vcap_set_input_dimensions()

Set video capture input dimensions

Synopsis:

#include <gf/gf.h>

void gf_vcap_set_input_dimensions (
        gf_vcap_t   vcap,
        int         width,
        int         height );

Arguments:

vcap
The handle of the video capture unit, returned by gf_vcap_attach().
width, height
The width and height of the captured frames, in pixels.

Library:

gf

Description:

This function sets a video capture unit's source dimensions. The source dimensions specify the size of the frames as they received by the video capture unit, prior to any cropping or scaling.


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()