OMX_Core.h File Reference

Typedef OMX_COMMANDTYPE

typedef enum OMX_COMMANDTYPE OMX_COMMANDTYPE

The OMX_COMMANDTYPE enumeration is used to specify the action in the OMX_SendCommand macro.

Typedef OMX_STATETYPE

typedef enum OMX_STATETYPE OMX_STATETYPE

The OMX_STATETYPE enumeration is used to indicate or change the component state. This enumeration reflects the current state of the component when used with the OMX_GetState macro or becomes the parameter in a state change command when used with the OMX_SendCommand macro.

The component will be in the Loaded state after the component is initially loaded into memory. In the Loaded state, the component is not allowed to allocate or hold resources other than to build it's internal parameter and configuration tables. The application will send one or more SetParameters/GetParameters and SetConfig/GetConfig commands to the component and the component will record each of these parameter and configuration changes for use later. When the application sends the Idle command, the component will acquire the resources needed for the specified configuration and will transition to the idle state if the allocation is successful. If the component cannot successfully transition to the idle state for any reason, the state of the component shall be fully rolled back to the Loaded state (e.g. all allocated resources shall be released). When the component receives the command to go to the Executing state, it shall begin processing buffers by sending all input buffers it holds to the application. While the component is in the Idle state, the application may also send the Pause command. If the component receives the pause command while in the Idle state, the component shall send all input buffers it holds to the application, but shall not begin processing buffers. This will allow the application to prefill buffers.

Typedef OMX_ERRORTYPE

typedef enum OMX_ERRORTYPE OMX_ERRORTYPE

The OMX_ERRORTYPE enumeration defines the standard OMX Errors. These errors should cover most of the common failure cases. However, vendors are free to add additional error messages of their own as long as they follow these rules: 1. Vendor error messages shall be in the range of 0x90000000 to 0x9000FFFF. 2. Vendor error messages shall be defined in a header file provided with the component. No error messages are allowed that are not defined.

Typedef OMX_COMPONENTINITTYPE

typedef OMX_ERRORTYPE (* OMX_COMPONENTINITTYPE

Typedef OMX_COMPONENTREGISTERTYPE

typedef struct OMX_COMPONENTREGISTERTYPE OMX_COMPONENTREGISTERTYPE

OMX_COMPONENTREGISTERTYPE OMX_ComponentRegistered

OMX_COMPONENTREGISTERTYPE OMX_ComponentRegistered

Typedef OMX_PRIORITYMGMTTYPE

typedef struct OMX_PRIORITYMGMTTYPE OMX_PRIORITYMGMTTYPE

Typedef OMX_PARAM_COMPONENTROLETYPE

typedef struct OMX_PARAM_COMPONENTROLETYPE OMX_PARAM_COMPONENTROLETYPE

Typedef OMX_BUFFERHEADERTYPE

typedef struct OMX_BUFFERHEADERTYPE OMX_BUFFERHEADERTYPE

Typedef OMX_EXTRADATATYPE

typedef enum OMX_EXTRADATATYPE OMX_EXTRADATATYPE

The OMX_EXTRADATATYPE enumeration is used to define the possible extra data payload types. NB: this enum is binary backwards compatible with the previous OMX_EXTRADATA_QUANT define. This should be replaced with OMX_ExtraDataQuantization.

Typedef OMX_OTHER_EXTRADATATYPE

typedef struct OMX_OTHER_EXTRADATATYPE OMX_OTHER_EXTRADATATYPE

Typedef OMX_PORT_PARAM_TYPE

typedef struct OMX_PORT_PARAM_TYPE OMX_PORT_PARAM_TYPE

Typedef OMX_EVENTTYPE

typedef enum OMX_EVENTTYPE OMX_EVENTTYPE

Typedef OMX_CALLBACKTYPE

typedef struct OMX_CALLBACKTYPE OMX_CALLBACKTYPE

Typedef OMX_BUFFERSUPPLIERTYPE

typedef enum OMX_BUFFERSUPPLIERTYPE OMX_BUFFERSUPPLIERTYPE

The OMX_BUFFERSUPPLIERTYPE enumeration is used to dictate port supplier preference when tunneling between two ports.

Typedef OMX_PARAM_BUFFERSUPPLIERTYPE

typedef struct OMX_PARAM_BUFFERSUPPLIERTYPE OMX_PARAM_BUFFERSUPPLIERTYPE

buffer supplier parameter indicates that buffers received by an input port of a tunnel may not modify the data in the buffers

Typedef OMX_TUNNELSETUPTYPE

typedef struct OMX_TUNNELSETUPTYPE OMX_TUNNELSETUPTYPE

The OMX_TUNNELSETUPTYPE structure is used to pass data from an output port to an input port as part the two ComponentTunnelRequest calls resulting from a OMX_SetupTunnel call from the IL Client.