gf_vcap_set_output_dimensions()

Set video capture output dimensions

Synopsis:

#include <gf/gf.h>

void gf_vcap_set_output_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 stored frames, in pixels.

Library:

gf

Description:

This function sets a video capture unit's output dimensions. The output dimensions specify the size of the frames that will be stored in the capture buffer, after cropping and 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()