ArvUvsp

ArvUvsp — USB3Vision stream packet handling

Functions

Description

Functions

arv_uvsp_packet_get_frame_id ()

guint64
arv_uvsp_packet_get_frame_id (ArvUvspPacket *packet);

arv_uvsp_packet_get_packet_type ()

ArvUvspPacketType
arv_uvsp_packet_get_packet_type (const ArvUvspPacket *packet);

arv_uvsp_packet_get_pixel_format ()

ArvPixelFormat
arv_uvsp_packet_get_pixel_format (ArvUvspPacket *packet);

arv_uvsp_packet_get_region ()

void
arv_uvsp_packet_get_region (ArvUvspPacket *packet,
                            guint32 *width,
                            guint32 *height,
                            guint32 *x_offset,
                            guint32 *y_offset);

arv_uvsp_packet_get_timestamp ()

guint64
arv_uvsp_packet_get_timestamp (ArvUvspPacket *packet);

arv_uvsp_packet_debug ()

void
arv_uvsp_packet_debug (const ArvUvspPacket *packet,
                       ArvDebugLevel level);

Dumps the content of packet if level is lower or equal to the current debug level for the sp debug category. See arv_debug_enable().

Parameters

packet

a ArvUvspPacket

 

level

debug level

 

arv_uvsp_packet_to_string ()

char *
arv_uvsp_packet_to_string (const ArvUvspPacket *packet);

Converts packet into a human readable string.

Parameters

packet

a ArvUvspPacket

 

Returns

A newly allocated string.

[transfer full]

Types and Values