Done()

Updated: April 19, 2023

Return a buffer after processing its data

Synopsis:

#include <OMXAL/OpenMAXAL_QNX.h>
struct XAQNXBufferQueueSinkItf_ {
    XAresult (*Done)(XAQNXBufferQueueSinkItf self,
                     XAQNXBuffer *buffer);
} ;

Arguments:

self
A reference to the sink interface
buffer
A pointer to an XAQNXBuffer containing the buffer being returned

Library:

mmfilter

Description:

This function returns a buffer's memory. After getting a buffer with Get() or GetAndWait() and processing the buffer's data, you must call Done() to return the buffer's memory to the interface.

Returns:

An XA_RESULT_* constant indicating the function's result