XAQNXBufferQueueSinkItf

Updated: April 19, 2023

QNX buffer queue interface for reading audio or video data from a sink

Synopsis:

#include <OMXAL/OpenMAXAL_QNX.h>
typedef struct XAQNXBufferQueueSinkItf_* const* XAQNXBufferQueueSinkItf;
struct XAQNXBufferQueueSinkItf_ {
    XAresult (*GetFormat)(XAQNXBufferQueueSinkItf self,
                          XADataFormat_QNXEncoded *format);
    XAresult (*GetBufferInfo)(XAQNXBufferQueueSinkItf self,
                              XAint32 *total,
                              XAint32 *size,
                              XAQNXBufferInfo *list);
    XAQNXBuffer* (*Get)(XAQNXBufferQueueSinkItf self);
    XAQNXBuffer* (*GetAndWait)(XAQNXBufferQueueSinkItf self,
                               const struct timespec *abstime);
    XAresult (*Done)(XAQNXBufferQueueSinkItf self,
                     XAQNXBuffer *buffer);
} ;

Library:

mmfilter

Description:

The XAQNXBufferQueueSinkItf data type provides a reference to the structure that defines the QNX buffer queue interface for reading audio or video data from an OpenMAX sink.

The XAQNXBufferQueueSinkItf_ structure contains pointers to functions that let applications read data from buffers used by the sink and get data format information.

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