Determine Role Support
To determine whether the OMX core supports the required role, the client can enumerate the component name based on the role from the OpenMAX core. If no component supports the given role, the output parameter for the OMX_GetRolesOfComponent is 0.
The following diagram shows the role support determination workflow.