refcounted data buffer API
More...
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
A reference to a data buffer.
More...
Always treat the buffer as read-only, even when it has only one reference.
Create an
AVBuffer from an existing array.
Default free callback, which calls
av_free() on the buffer data.
Free a given reference and automatically free the buffer if there are no more references to it.
Create a writable reference from a given buffer reference, avoiding data copy if possible.
Reallocate a given buffer.
Ensure dst refers to the same data as src.
Allocate and initialize a buffer pool.
Allocate and initialize a buffer pool with a more complex allocator.
Mark the pool as being available for freeing.
Allocate a new
AVBuffer, reusing an old buffer from the pool when available.
Query the original opaque parameter of an allocated buffer in the pool.
Detailed Description
refcounted data buffer API
Definition in file buffer.h.