SetBufferInfo()

Updated: April 19, 2023

Set buffer information for the source

Synopsis:

#include <OMXAL/OpenMAXAL_QNX.h>
struct XAQNXVideoBufferQueueSourceItf_ {
    XAresult (*SetBufferInfo)(XAQNXVideoBufferQueueSourceItf self,
                              const XAint32 count,
                              const XAint32 size,
                              const XAQNXBufferInfo *list);
} ;

Arguments:

self
A reference to the source interface
count
The number of buffers in the queue
size
The total size of all buffers, in bytes
list
An array of XAQNXBufferInfo structures that describe the individual buffers. This array is copied in memory, so after calling this function, the caller can safely delete the array.

Library:

mmfilter

Description:

This function provides the source interface with information about the buffer queue and about the buffers in it. Only the Renesas and Qualcomm platforms require this call. The interface keeps the metadata until you call Clear().

Returns:

An XA_RESULT_* constant indicating the operation result