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

Data Fields

md_frame_roi_headerheader
 
void * data
 
uns32 dataSize
 
void * extMdData
 
uns16 extMdDataSize
 

Detailed Description

This is a helper structure that is used to decode the md_frame_roi_header. Since the header cannot contain any pointers, PVCAM will calculate all information using offsets from frame & ROI headers.

The structure must be created using the pl_md_create_frame_struct function. Please note the structure keeps only pointers to data residing in the image buffer. Once the buffer is deleted the contents of the structure become invalid.

Field Documentation

◆ data

void* md_frame_roi::data

Points to the ROI image data.

◆ dataSize

uns32 md_frame_roi::dataSize

Size of the ROI image data in bytes.

◆ extMdData

void* md_frame_roi::extMdData

Points directly to ext. metadata data within the buffer.

◆ extMdDataSize

uns16 md_frame_roi::extMdDataSize

Size of the ext. metadata buffer.

◆ header

md_frame_roi_header* md_frame_roi::header

Points directly to the header within the buffer.