|
MXL : Media eXchange Layer
MXL
|
Public flow format identifiers and format classification helpers. More...

Go to the source code of this file.
Macros | |
| #define | MXL_DATA_FORMAT_GRAIN_SIZE 4096 |
Typedefs | |
| typedef enum mxlDataFormat | mxlDataFormat |
Enumerations | |
| enum | mxlDataFormat { MXL_DATA_FORMAT_UNSPECIFIED , MXL_DATA_FORMAT_VIDEO , MXL_DATA_FORMAT_AUDIO , MXL_DATA_FORMAT_DATA , MXL_DATA_FORMAT_EVENT } |
Functions | |
| int | mxlIsContinuousDataFormat (int format) |
| int | mxlIsDiscreteDataFormat (int format) |
| int | mxlIsEventDataFormat (int format) |
| Test whether a format uses the event queue API. | |
| int | mxlIsSupportedDataFormat (int format) |
| int | mxlIsValidDataFormat (int format) |
Public flow format identifiers and format classification helpers.
Definition in file dataformat.h.
| #define MXL_DATA_FORMAT_GRAIN_SIZE 4096 |
Fixed payload capacity in bytes of an MXL video/smpte291 data grain or event. This is large enough to hold all the ANC data in a single grain. This size is a usual VFS page; no point in going smaller.
Definition at line 15 of file dataformat.h.
| typedef enum mxlDataFormat mxlDataFormat |
Source and flow data formats as defined by AMWA NMOS IS-04.
| enum mxlDataFormat |
Source and flow data formats as defined by AMWA NMOS IS-04.
| Enumerator | |
|---|---|
| MXL_DATA_FORMAT_UNSPECIFIED | |
| MXL_DATA_FORMAT_VIDEO | |
| MXL_DATA_FORMAT_AUDIO | |
| MXL_DATA_FORMAT_DATA | |
| MXL_DATA_FORMAT_EVENT | Asynchronous queue of complete events or event fragments. |
Definition at line 24 of file dataformat.h.
|
inline |
Return whether the specified format is operating in continuous samples.
| [in] | format | the mxlDataFormat of interest. |
format is operating with continuous samples, otherwise 0. Definition at line 106 of file dataformat.h.
|
inline |
Return whether the specified format is operating in discrete grains.
| [in] | format | the mxlDataFormat of interest. |
format is operating with continuous samples, otherwise 0. Definition at line 75 of file dataformat.h.
|
inline |
Test whether a format uses the event queue API.
| format | Data format identifier to inspect. |
Definition at line 91 of file dataformat.h.
|
inline |
Return whether the specified format is supported by MXL.
| [in] | format | the mxlDataFormat of interest. |
format is supported, otherwise 0. Definition at line 56 of file dataformat.h.
|
inline |
Return whether the specified format is valid.
| [in] | format | the mxlDataFormat of interest. |
format is valid, otherwise 0. Definition at line 38 of file dataformat.h.