| Top |
char * arv_gvsp_packet_to_string (const ArvGvspPacket *packet,size_t packet_size);
guint16
arv_gvsp_packet_get_packet_id (const ArvGvspPacket *packet);
ArvGvspPacketType
arv_gvsp_packet_get_packet_type (const ArvGvspPacket *packet);
ArvGvspContentType
arv_gvsp_packet_get_content_type (const ArvGvspPacket *packet);
ArvBufferPayloadType
arv_gvsp_packet_get_buffer_payload_type
(const ArvGvspPacket *packet);
ArvPixelFormat
arv_gvsp_packet_get_pixel_format (const ArvGvspPacket *packet);
guint64 arv_gvsp_packet_get_timestamp (const ArvGvspPacket *packet,guint64 timestamp_tick_frequency);
void arv_gvsp_packet_debug (const ArvGvspPacket *packet,size_t packet_size,ArvDebugLevel level);
ArvGvspPacket * arv_gvsp_packet_new_data_block (guint16 frame_id,guint32 packet_id,size_t size,void *data,void *buffer,size_t *buffer_size);
ArvGvspPacket * arv_gvsp_packet_new_data_leader (guint16 frame_id,guint32 packet_id,guint64 timestamp,ArvPixelFormat pixel_format,guint32 width,guint32 height,guint32 x_offset,guint32 y_offset,void *buffer,size_t *buffer_size);
ArvGvspPacket * arv_gvsp_packet_new_data_trailer (guint16 frame_id,guint32 packet_id,void *buffer,size_t *buffer_size);
typedef struct {
guint32 payload_type;
guint32 timestamp_high;
guint32 timestamp_low;
guint32 pixel_format;
guint32 width;
guint32 height;
guint32 x_offset;
guint32 y_offset;
} ArvGvspDataLeader;
GVSP data leader packet data area.
guint32 |
ID of the payload type |
|
guint32 |
most significant bits of frame timestamp |
|
guint32 |
least significant bits of frame timestamp_low |
|
guint32 |
a ArvPixelFormat identifier |
|
guint32 |
frame width, in pixels |
|
guint32 |
frame height, in pixels |
|
guint32 |
frame x offset, in pixels |
|
guint32 |
frame y offset, in pixels |
typedef struct {
guint32 payload_type;
guint32 data0;
} ArvGvspDataTrailer;
GVSP data trailer packet data area.
typedef struct {
guint16 packet_type;
guint16 frame_id;
guint32 packet_infos;
} ArvGvspHeader;
GVSP packet header structure.
guint16 |
a ArvGvspPacketType identifier |
|
guint16 |
frame identifier |
|
guint32 |
ArvGvspContentType and packet identifier in a 32 bit value |