OMX_Types.h File Reference

Typedef OMX_U8

typedef unsigned char OMX_U8

OMX_U8 is an 8 bit unsigned quantity that is byte aligned

Typedef OMX_S8

typedef signed char OMX_S8

OMX_S8 is an 8 bit signed quantity that is byte aligned

Typedef OMX_U16

typedef unsigned short OMX_U16

OMX_U16 is a 16 bit unsigned quantity that is 16 bit word aligned

Typedef OMX_S16

typedef signed short OMX_S16

OMX_S16 is a 16 bit signed quantity that is 16 bit word aligned

Typedef OMX_U32

typedef unsigned long OMX_U32

OMX_U32 is a 32 bit unsigned quantity that is 32 bit word aligned

Typedef OMX_S32

typedef signed long OMX_S32

OMX_S32 is a 32 bit signed quantity that is 32 bit word aligned

Typedef OMX_U64

typedef unsigned long long OMX_U64

OMX_U64 is a 64 bit unsigned quantity that is 64 bit word aligned

Typedef OMX_S64

typedef signed long long OMX_S64

OMX_S64 is a 64 bit signed quantity that is 64 bit word aligned

Typedef OMX_BOOL

typedef enum OMX_BOOL OMX_BOOL

The OMX_BOOL type is intended to be used to represent a true or a false value when passing parameters to and from the OMX core and components. The OMX_BOOL is a 32 bit quantity and is aligned on a 32 bit word boundary.

Typedef OMX_PTR

typedef void * OMX_PTR

The OMX_PTR type is intended to be used to pass pointers between the OMX applications and the OMX Core and components. This is a 32 bit pointer and is aligned on a 32 bit boundary.

Typedef OMX_STRING

typedef char * OMX_STRING

The OMX_STRING type is intended to be used to pass "C" type strings between the application and the core and component. The OMX_STRING type is a 32 bit pointer to a zero terminated string. The pointer is word aligned and the string is byte aligned.

Typedef OMX_BYTE

typedef unsigned char * OMX_BYTE

The OMX_BYTE type is intended to be used to pass arrays of bytes such as buffers between the application and the component and core. The OMX_BYTE type is a 32 bit pointer to a zero terminated string. The pointer is word aligned and the string is byte aligned.

Typedef OMX_UUIDTYPE

typedef unsigned char OMX_UUIDTYPE

OMX_UUIDTYPE is a very long unique identifier to uniquely identify at runtime. This identifier should be generated by a component in a way that guarantees that every instance of the identifier running on the system is unique.

Typedef OMX_DIRTYPE

typedef enum OMX_DIRTYPE OMX_DIRTYPE

The OMX_DIRTYPE enumeration is used to indicate if a port is an input or an output port. This enumeration is common across all component types.

Typedef OMX_ENDIANTYPE

typedef enum OMX_ENDIANTYPE OMX_ENDIANTYPE

The OMX_ENDIANTYPE enumeration is used to indicate the bit ordering for numerical data (i.e. big endian, or little endian).

Typedef OMX_NUMERICALDATATYPE

typedef enum OMX_NUMERICALDATATYPE OMX_NUMERICALDATATYPE

The OMX_NUMERICALDATATYPE enumeration is used to indicate if data is signed or unsigned

Typedef OMX_BU32

typedef struct OMX_BU32 OMX_BU32

Unsigned bounded value type

Typedef OMX_BS32

typedef struct OMX_BS32 OMX_BS32

Signed bounded value type

Typedef OMX_TICKS

typedef OMX_S64 OMX_TICKS

Structure representing some time or duration in microseconds. This structure must be interpreted as a signed 64 bit value. The quantity is signed to accommodate negative deltas and preroll scenarios. The quantity is represented in microseconds to accomodate high resolution timestamps (e.g. DVD presentation timestamps based on a 90kHz clock) and to allow more accurate and synchronized delivery (e.g. individual audio samples delivered at 192 kHz). The quantity is 64 bit to accommodate a large dynamic range (signed 32 bit values would allow only for plus or minus 35 minutes).

Implementations with limited precision may convert the signed 64 bit value to a signed 32 bit value internally but risk loss of precision.

Typedef OMX_HANDLETYPE

typedef void * OMX_HANDLETYPE

Define the public interface for the OMX Handle. The core will not use this value internally, but the application should only use this value.

Typedef OMX_MARKTYPE

typedef struct OMX_MARKTYPE OMX_MARKTYPE

Typedef OMX_NATIVE_DEVICETYPE

typedef void * OMX_NATIVE_DEVICETYPE

OMX_NATIVE_DEVICETYPE is used to map a OMX video port to the platform & operating specific object used to reference the display or can be used by a audio port for native audio rendering

Typedef OMX_NATIVE_WINDOWTYPE

typedef void * OMX_NATIVE_WINDOWTYPE

OMX_NATIVE_WINDOWTYPE is used to map a OMX video port to the platform & operating specific object used to reference the window

Typedef OMX_VERSIONTYPE

typedef union OMX_VERSIONTYPE OMX_VERSIONTYPE

The OMX_VERSIONTYPE union is used to specify the version for a structure or component. For a component, the version is entirely specified by the component vendor. Components doing the same function from different vendors may or may not have the same version. For structures, the version shall be set by the entity that allocates the structure. For structures specified in the OMX 1.1 specification, the value of the version shall be set to 1.1.0.0 in all cases. Access to the OMX_VERSIONTYPE can be by a single 32 bit access (e.g. by nVersion) or by accessing one of the structure elements to, for example, check only the Major revision.