MXL : Media eXchange Layer
MXL
Loading...
Searching...
No Matches
flowinfo.h File Reference

Public configuration and runtime metadata for MXL flows. More...

#include <stdint.h>
#include <sys/types.h>
#include <mxl/dataformat.h>
#include <mxl/rational.h>
Include dependency graph for flowinfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mxlCommonFlowConfigInfo_t
struct  mxlContinuousFlowConfigInfo_t
struct  mxlDiscreteFlowConfigInfo_t
struct  mxlEventFlowConfigInfo_t
 Immutable event queue capacity and entry payload geometry (64 bytes). This is the event member of mxlFlowConfigInfo for MXL_DATA_FORMAT_EVENT. More...
struct  mxlFlowConfigInfo_t
struct  mxlFlowInfo_t
struct  mxlFlowRuntimeInfo_t

Macros

#define MXL_MAX_PLANES_PER_GRAIN   4

Typedefs

typedef struct mxlCommonFlowConfigInfo_t mxlCommonFlowConfigInfo
typedef struct mxlContinuousFlowConfigInfo_t mxlContinuousFlowConfigInfo
typedef struct mxlDiscreteFlowConfigInfo_t mxlDiscreteFlowConfigInfo
typedef struct mxlEventFlowConfigInfo_t mxlEventFlowConfigInfo
 Immutable event queue capacity and entry payload geometry (64 bytes). This is the event member of mxlFlowConfigInfo for MXL_DATA_FORMAT_EVENT.
typedef enum mxlEventRegistryType mxlEventRegistryType
typedef struct mxlFlowConfigInfo_t mxlFlowConfigInfo
typedef struct mxlFlowInfo_t mxlFlowInfo
typedef struct mxlFlowRuntimeInfo_t mxlFlowRuntimeInfo
typedef enum mxlPayloadLocation mxlPayloadLocation

Enumerations

enum  mxlEventRegistryType { MXL_EVENT_REGISTRY_TYPE_MXL = 0 , MXL_EVENT_REGISTRY_TYPE_SMPTE = 1 }
enum  mxlPayloadLocation { MXL_PAYLOAD_LOCATION_HOST_MEMORY = 0 , MXL_PAYLOAD_LOCATION_DEVICE_MEMORY = 1 }

Detailed Description

Public configuration and runtime metadata for MXL flows.

Definition in file flowinfo.h.

Macro Definition Documentation

◆ MXL_MAX_PLANES_PER_GRAIN

#define MXL_MAX_PLANES_PER_GRAIN   4

Maximum number of planes per grain supported for a continuous flow. 4 planes should be enough for any foreseeable use cases.

The current video formats supported by MXL use 1 or 2 planes:

  • video/v210 flow will have only 1 plane out of MXL_MAX_PLANES_PER_GRAIN
  • video/v210a flow will have 2 planes out of MXL_MAX_PLANES_PER_GRAIN

Definition at line 28 of file flowinfo.h.

Typedef Documentation

◆ mxlCommonFlowConfigInfo

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.

◆ mxlContinuousFlowConfigInfo

Immutable metadata about an AUDIO flow.

◆ mxlDiscreteFlowConfigInfo

Immutable metadata about a VIDEO or DATA flo.

◆ mxlEventFlowConfigInfo

Immutable event queue capacity and entry payload geometry (64 bytes). This is the event member of mxlFlowConfigInfo for MXL_DATA_FORMAT_EVENT.

◆ mxlEventRegistryType

The type of event registry associated with the event flow. Refer to SMPTE ST 2110-41 AR for SMPTE registry information.

◆ mxlFlowConfigInfo

Immutable metadata about a media flow.

◆ mxlFlowInfo

typedef struct mxlFlowInfo_t mxlFlowInfo

Binary structure stored in the Flow shared memory segment. The flow shared memory will be located in {mxlDomain}/{flowId} where {mxlDomain} is a filesystem location available to the application

◆ mxlFlowRuntimeInfo

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

◆ mxlPayloadLocation

The payload location of the grain

Enumeration Type Documentation

◆ mxlEventRegistryType

The type of event registry associated with the event flow. Refer to SMPTE ST 2110-41 AR for SMPTE registry information.

Enumerator
MXL_EVENT_REGISTRY_TYPE_MXL 

Namespaced application DIT strings, such as x-mxl:example.

MXL_EVENT_REGISTRY_TYPE_SMPTE 

SMPTE registry DIT strings without the 0x prefix.

Definition at line 128 of file flowinfo.h.

129 {
mxlEventRegistryType
Definition flowinfo.h:129
@ MXL_EVENT_REGISTRY_TYPE_SMPTE
SMPTE registry DIT strings without the 0x prefix.
Definition flowinfo.h:131
@ MXL_EVENT_REGISTRY_TYPE_MXL
Namespaced application DIT strings, such as x-mxl:example.
Definition flowinfo.h:130

◆ mxlPayloadLocation

The payload location of the grain

Enumerator
MXL_PAYLOAD_LOCATION_HOST_MEMORY 
MXL_PAYLOAD_LOCATION_DEVICE_MEMORY 

Definition at line 37 of file flowinfo.h.

38 {
mxlPayloadLocation
Definition flowinfo.h:38
@ MXL_PAYLOAD_LOCATION_HOST_MEMORY
Definition flowinfo.h:39
@ MXL_PAYLOAD_LOCATION_DEVICE_MEMORY
Definition flowinfo.h:40