Method

AravisBufferget_part_region

Declaration [src]

void
arv_buffer_get_part_region (
  ArvBuffer* buffer,
  guint part_id,
  gint* x,
  gint* y,
  gint* width,
  gint* height
)

Description [src]

Gets the part 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.8.23

Parameters

part_id guint
 

A part id.

x gint*
 

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*
 

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*
 

Width 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.
height gint*
 

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.