Register a callback for handling video buffer queue events
Synopsis:
#include <OMXAL/OpenMAXAL_QNX.h>
struct XAQNXVideoBufferQueueSourceItf_ {
XAresult (*RegisterCallback)(XAQNXVideoBufferQueueSourceItf self,
xaQNXVideoBufferQueueSourceCallback callback,
void *pCallbackContext);
} ;
Arguments:
- self
- A reference to the source interface
- callback
- An xaQNXVideoBufferQueueSourceCallback variable
specifying the event-handling callback
- pCallbackContext
- An optional pointer to extra data to be passed, unchanged, as the
pCallbackContext argument to the callback function. Your
application must manage any memory associated with that data. You can
specify NULL if you're not using extra data.
Library:
mmfilter
Returns:
An XA_RESULT_* constant indicating the operation result