Method

AravisBufferget_image_region

Declaration [src]

void
arv_buffer_get_image_region (
  ArvBuffer* buffer,
  gint* x,
  gint* y,
  gint* width,
  gint* height
)

Description [src]

Gets the image region.

This function must only be called if buffer payload is either ARV_BUFFER_PAYLOAD_TYPE_IMAGE, ARV_BUFFER_PAYLOAD_TYPE_EXTENDED_CHUNK_DATA or ARV_BUFFER_PAYLOAD_TYPE_MULTIPART.

Available since:0.4.0

Parameters

x gint*
 

Image x offset placeholder.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
y gint*
 

Image y offset placeholder.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
width gint*
 

Image width placholder.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.
height gint*
 

Image height placeholder.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.