Updated: April 19, 2023 |
QNX buffer queue event-handler prototype
#include <OMXAL/OpenMAXAL_QNX.h>
typedef XAresult(XAAPIENTRY * xaQNXBufferQueueSourceCallback) (XAQNXBufferQueueSourceItf caller, void *pCallbackContext, void *pBufferContext, void *pBufferData, XAuint32 dataSize, XAuint32 dataUsed, const XAQNXBufferItem *pItems, XAuint32 itemsLength);
This data type provides a prototype for registering a function that handles events related to a buffer in the buffer queue used by the XAQNXBufferQueueSourceItf interface.
The event-handler function accepts input arguments containing a reference to the interface, and pointers to the buffer context, media data, and optionally, extra data for the event. The input arguments also include metadata describing the buffer and its data items. The function doesn't return anything.