MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
mxlCommonFlowConfigInfo_t Struct Reference

#include <flowinfo.h>

Collaboration diagram for mxlCommonFlowConfigInfo_t:

Public Attributes

int32_t deviceIndex
uint32_t flags
uint32_t format
mxlRational grainRate
uint8_t id [16]
uint32_t maxCommitBatchSizeHint
uint32_t maxSyncBatchSizeHint
uint32_t payloadLocation
uint8_t reserved [72]

Detailed Description

Immutable metadata about a media flow that is independent of the data format of the flow and thus common to all flows handled by MXL.

Definition at line 47 of file flowinfo.h.

Member Data Documentation

◆ deviceIndex

int32_t mxlCommonFlowConfigInfo_t::deviceIndex

Device index (if payload is in device memory). -1 if on host memory.

Definition at line 91 of file flowinfo.h.

◆ flags

uint32_t mxlCommonFlowConfigInfo_t::flags

No flags defined yet.

Definition at line 59 of file flowinfo.h.

◆ format

uint32_t mxlCommonFlowConfigInfo_t::format

The data format of this flow.

See also
mxlDataFormat

Definition at line 56 of file flowinfo.h.

◆ grainRate

mxlRational mxlCommonFlowConfigInfo_t::grainRate

The number of grains per second expressed as a rational. For VIDEO, DATA and EVENT this value must match the 'grain_rate' found in the flow descriptor. For AUDIO flows this value must match the 'sample_rate' found in the flow descriptor. For EVENT flows this controls buffer capacity; queue positions are independent of time.

Definition at line 67 of file flowinfo.h.

◆ id

uint8_t mxlCommonFlowConfigInfo_t::id[16]

The flow UUID. This should be identical to the {flowId} path component.

Definition at line 50 of file flowinfo.h.

◆ maxCommitBatchSizeHint

uint32_t mxlCommonFlowConfigInfo_t::maxCommitBatchSizeHint

The largest expected batch size in samples (for continuous flows) or slices (for discrete flows), in which new data is written to this this flow by its producer. For continuous flows, this value must be less than half of the buffer length. For discrete flows, this must be greater or equal to 1.

Definition at line 74 of file flowinfo.h.

◆ maxSyncBatchSizeHint

uint32_t mxlCommonFlowConfigInfo_t::maxSyncBatchSizeHint

The largest expected batch size in samples (for continuous flows) or slices (for discrete flows), at which availability of new data is signaled to waiting consumers. This must be a multiple of the commit batch size greater or equal to 1.

Definition at line 80 of file flowinfo.h.

◆ payloadLocation

uint32_t mxlCommonFlowConfigInfo_t::payloadLocation

And indication, where the payload memory is located.

See also
mxlPayloadLocation

Definition at line 86 of file flowinfo.h.

◆ reserved

uint8_t mxlCommonFlowConfigInfo_t::reserved[72]

Reserved space for future extensions, padding the total size of this structure to 128 bytes.

Definition at line 97 of file flowinfo.h.


The documentation for this struct was generated from the following file: