xaQNXBufferQueueSourceCallback
QNX buffer queue event-handler prototype
Synopsis:
#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);Arguments:
- caller
- A reference to the QNX buffer queue interface
- pCallbackContext
- An optional pointer to extra data to be used by this event handler. This pointer is NULL if no extra data are provided when registering the function with RegisterCallback().
- pBufferContext
- A pointer to the buffer context
- pBufferData
- A pointer to the memory where the data items are stored
- dataSize
- The total buffer size, in bytes
- dataUsed
- The number of bytes used for storing all data items
- pItems
- An array of XAQNXBufferItem structures containing information about the individual data items
- itemsLength
- The number of items in the preceding array
Library:
mmfilterDescription:
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.
Page updated:
