SetBufferInfo()

Updated: October 28, 2024

Set buffer information for the source

Synopsis:

#include <OMXAL/OpenMAXAL_QNX.h>
struct XAQNXBufferQueueSourceItf_ {
    XAresult (*SetBufferInfo)(XAQNXBufferQueueSourceItf 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. The interface keeps the metadata until you call Clear().

Returns:

An XA_RESULT_* constant indicating the operation result

  翻译: