PVCAM  3.9.x
Programmable Virtual Camera Access Method library
md_frame_roi_header Struct Reference
Collaboration diagram for md_frame_roi_header:
[legend]

Data Fields

uns16 roiNr
 
uns32 timestampBOR
 
uns32 timestampEOR
 
rgn_type roi
 
uns8 flags
 
uns16 extendedMdSize
 
uns32 roiDataSize
 
uns8 _reserved [3]
 

Detailed Description

This is a ROI header that is located before every ROI data. The size of this structure must remain constant. The structure is generated by the camera and should be 16-byte aligned.

Field Documentation

◆ _reserved

uns8 md_frame_roi_header::_reserved[3]

◆ extendedMdSize

uns16 md_frame_roi_header::extendedMdSize

2B - Must be 0 or actual ext metadata size in bytes.

◆ flags

uns8 md_frame_roi_header::flags

1B - ROI flags, see PL_MD_ROI_FLAGS.

◆ roi

rgn_type md_frame_roi_header::roi

12B - ROI coordinates and binning.

◆ roiDataSize

uns32 md_frame_roi_header::roiDataSize

Version 2 header additions 4B - ROI image data size in bytes.

◆ roiNr

uns16 md_frame_roi_header::roiNr

2B - 1-based, reset with each frame.

◆ timestampBOR

uns32 md_frame_roi_header::timestampBOR

ROI timestamps. Currently unused. 4B - Beginning of ROI readout timestamp.

◆ timestampEOR

uns32 md_frame_roi_header::timestampEOR

4B - End of ROI readout timestamp.