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

#include <flow.h>

Public Attributes

uint32_t flags
 Grain flags.
uint32_t grainSize
 Size in bytes of the complete payload of a grain.
uint64_t index
 Epoch Grain index used by that ring buffer entry.
uint8_t reserved [4068]
 Padding. Do not use.
uint32_t size
 Size of the structure.
uint16_t totalSlices
uint16_t validSlices
uint32_t version
 Version of the structure. The only currently supported value is 2.

Detailed Description

Definition at line 130 of file flow.h.

Member Data Documentation

◆ flags

uint32_t mxlGrainInfo_t::flags

Grain flags.

Definition at line 141 of file flow.h.

◆ grainSize

uint32_t mxlGrainInfo_t::grainSize

Size in bytes of the complete payload of a grain.

Definition at line 143 of file flow.h.

◆ index

uint64_t mxlGrainInfo_t::index

Epoch Grain index used by that ring buffer entry.

Definition at line 138 of file flow.h.

◆ reserved

uint8_t mxlGrainInfo_t::reserved[4068]

Padding. Do not use.

Definition at line 151 of file flow.h.

◆ size

uint32_t mxlGrainInfo_t::size

Size of the structure.

Definition at line 135 of file flow.h.

◆ totalSlices

uint16_t mxlGrainInfo_t::totalSlices

Number of slices that make up a full grain. A slice is the elemental data type that can be committed to a grain. For video, this is a single line of a picture in the specified format. For data, this is a byte of data.

Definition at line 146 of file flow.h.

◆ validSlices

uint16_t mxlGrainInfo_t::validSlices

How many slices of the grain are currently valid (committed). This is typically used when writing individual slices instead of a full grain. A grain is complete when validSlices == totalSlices

Definition at line 149 of file flow.h.

◆ version

uint32_t mxlGrainInfo_t::version

Version of the structure. The only currently supported value is 2.

Definition at line 133 of file flow.h.


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