Method

AravisCameraset_region

since: 0.8.0

Declaration [src]

void
arv_camera_set_region (
  ArvCamera* camera,
  gint x,
  gint y,
  gint width,
  gint height,
  GError** error
)

Description [src]

Defines the region of interest which will be transmitted in the video stream. Negative x or y values, or not strictly positive width or height values are ignored.

Available since: 0.8.0

Parameters

x

Type: gint

X offset.

y

Type: gint

Y_offset.

width

Type: gint

Region width.

height

Type: gint

Region height.

error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.