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

Data Fields

md_frame_headerheader
 
void * extMdData
 
uns16 extMdDataSize
 
rgn_type impliedRoi
 
md_frame_roiroiArray
 
uns16 roiCapacity
 
uns16 roiCount
 

Detailed Description

This is a helper structure that is used to decode the md_frame_header. Since the header cannot contain any pointers, we need to calculate all information using only offsets.

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

◆ extMdData

void* md_frame::extMdData

Points directly to ext. metadata within the buffer.

◆ extMdDataSize

uns16 md_frame::extMdDataSize

Size of the ext. metadata buffer in bytes.

◆ header

md_frame_header* md_frame::header

Points directly to the header within the buffer.

◆ impliedRoi

rgn_type md_frame::impliedRoi

Implied ROI calculated during decoding.

◆ roiArray

md_frame_roi* md_frame::roiArray

An array of ROI descriptors.

◆ roiCapacity

uns16 md_frame::roiCapacity

Number of ROIs the structure can hold.

◆ roiCount

uns16 md_frame::roiCount

Number of ROIs found during decoding.