typedef enum OMX_COMMANDTYPE | OMX_COMMANDTYPE |
The OMX_COMMANDTYPE enumeration is used to specify the action in the OMX_SendCommand macro.
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 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 struct OMX_PARAM_COMPONENTROLETYPE | OMX_PARAM_COMPONENTROLETYPE |
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 enum OMX_BUFFERSUPPLIERTYPE | OMX_BUFFERSUPPLIERTYPE |
The OMX_BUFFERSUPPLIERTYPE enumeration is used to dictate port supplier preference when tunneling between two ports.
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 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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.