OMX_CALLBACKTYPE Struct Reference

struct OMX_CALLBACKTYPE

Member Data Documentation

OMX_ERRORTYPE(* EmptyBufferDone

OMX_ERRORTYPE (* EmptyBufferDone

The EmptyBufferDone method is used to return emptied buffers from an input port back to the application for reuse. This is a blocking call so the application should not attempt to refill the buffers during this call, but should queue them and refill them in another thread. There is no error return, so the application shall handle any errors generated internally.

The application should return from this call within 5 msec.

OMX_ERRORTYPE(* EventHandler

OMX_ERRORTYPE (* EventHandler

The EventHandler method is used to notify the application when an event of interest occurs. Events are defined in the OMX_EVENTTYPE enumeration. Please see that enumeration for details of what will be returned for each type of event. Callbacks should not return an error to the component, so if an error occurs, the application shall handle it internally. This is a blocking call.

The application should return from this call within 5 msec to avoid blocking the component for an excessively long period of time.

OMX_ERRORTYPE(* FillBufferDone

OMX_ERRORTYPE (* FillBufferDone

The FillBufferDone method is used to return filled buffers from an output port back to the application for emptying and then reuse. This is a blocking call so the application should not attempt to empty the buffers during this call, but should queue the buffers and empty them in another thread. There is no error return, so the application shall handle any errors generated internally. The application shall also update the buffer header to indicate the number of bytes placed into the buffer.

The application should return from this call within 5 msec.