Class
AravisBuffer
Description [src]
final class Aravis.Buffer : GObject.Object
{
/* No available fields */
}
ArvBuffer
provides a class for the instantiation of buffers used for the storage of the separate images of
the video stream.
The actual data space may either be allocated by ArvBuffer
during an object instantiation, of pre-allocated.
ArvBuffer
also allows the transmission of image metadata, such as offsets and size of the transmitted region of
interest, pixel format and time stamp.
Constructors
arv_buffer_new
Creates a new buffer for the storage of the video stream images. The data space can be either preallocated, and the caller is responsible for it’s deallocation, or allocated by this function. If it is the case, data memory will be freed when the buffer is destroyed.
since: 0.2.0
arv_buffer_new_allocate
Creates a new buffer for the storage of the video stream images. The data space is allocated by this function, and will be freed when the buffer is destroyed.
since: 0.2.3
arv_buffer_new_full
Creates a new buffer for the storage of the video stream images. The data space can be either preallocated, and the caller is responsible for it’s deallocation, or allocated by this function. If it is the case, data memory will be freed when the buffer is destroyed.
since: 0.2.0
Instance methods
arv_buffer_get_frame_id
Gets the buffer frame id. For GigEVision devices, 0 is an invalid value.
since: 0.8.0
arv_buffer_get_system_timestamp
Gets the system timestamp for when the frame was received. Expressed in nanoseconds.
since: 0.6.0
arv_buffer_get_timestamp
Gets the buffer camera timestamp, expressed as nanoseconds. Not all devices provide reliable timestamp, which means sometimes its better to rely on the buffer completion host local time, or to use arv_buffer_get_system_timestamp().
since: 0.4.0
arv_buffer_set_frame_id
Sets the buffer frame id. For GigEVision devices, 0 is an invalid value.
since: 0.8.3
arv_buffer_set_system_timestamp
Sets the system timestamp for when the frame was received. Expressed in nanoseconds.
since: 0.6.0
arv_buffer_set_timestamp
Sets the buffer timestamp, which allows to override the timpestamp set by the camera, which in some case is incorrect.
since: 0.4.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.