I think u needn’t define the funs such as GetHandle, … Because these funs are just macros defined by the omx_core.h and other head files. OMX IL standard provide a group API,they are standard.What we should do is to implement them. ur decoder is one of the standard components.And I suggest that u’d better design ur components according the Open MAX IL spec. U should understand the component’s action,including command and data flow.I think the data is transferd between two components by invoking emptythisbuffer or fillthisbuffer function.So ur decode codec’s action should be done in one of this call. So in greneral, we do the decode action when our components call emptythisbuffer or fillthisbuffer.