gf_vcap_set_sync_values()

Set the video device synchronization values

Synopsis:

#include <gf/gf.h>

void gf_vcap_set_sync_values (
        gf_vcap_t   vcap,
        int         h_offset,
        int         v_offset,
        int         h_total,
        int         v_total );

Arguments:

vcap
The handle of the video capture unit, returned by gf_vcap_attach().
h_offset
Horizontal synchronization offset value.
v_offset
Vertical synchronization offset value.
h_total
Total number of pixels clocks per horizontal period.
v_total
Total number of scan lines per vertical period.

Library:

gf

Description:

This function specifies device-dependant values to allow the captured image to be synchronized and centered properly. These settings have no effect on many devices, and do not always need to be supplied.


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