XAQNXVideoBufferQueueSourceItf

Updated: October 28, 2024

QNX video buffer queue interface for writing Screen data to a source

Synopsis:

#include <OMXAL/OpenMAXAL_QNX.h>
typedef struct XAQNXVideoBufferQueueSourceItf_* const* XAQNXVideoBufferQueueSourceItf;
struct XAQNXVideoBufferQueueSourceItf_ {
    XAresult (*RegisterCallback)(XAQNXVideoBufferQueueSourceItf self,
                                 xaQNXVideoBufferQueueSourceCallback callback,
                                 void *pCallbackContext);
    XAresult (*Clear)(XAQNXVideoBufferQueueSourceItf self);
    XAresult (*Enqueue)(XAQNXVideoBufferQueueSourceItf self,
                        void *pBufferContext,
                        screen_buffer_t screenBuffer,
                        const XAQNXBufferItem *pItems,
                        XAuint32 itemsLength);
    XAresult (*SetCallbackEventsMask)(XAQNXVideoBufferQueueSourceItf self,
                                      XAuint32 eventFlags);
    XAresult (*GetCallbackEventsMask)(XAQNXVideoBufferQueueSourceItf self,
                                      XAuint32 *pEventFlags);
    XAresult (*SetBufferInfo)(XAQNXVideoBufferQueueSourceItf self,
                              const XAint32 count,
                              const XAint32 size,
                              const XAQNXBufferInfo *list);
} ;

Library:

mmfilter

Description:

The XAQNXVideoBufferQueueSourceItf data type provides a reference to the structure that defines the QNX video buffer queue interface for writing Screen data to an OpenMAX source.

The XAQNXVideoBufferQueueSourceItf_ structure contains pointers to functions that let applications write the data to buffers used by the source, provide buffer information to the interface, and handle buffer events.

Descriptions of the individual function pointers are given in the immediately following sections.

  翻译: