Lines Matching refs:AVBuffer
32 * @defgroup lavu_buffer AVBuffer
36 * AVBuffer is an API for reference-counted data buffers.
38 * There are two core objects in this API -- AVBuffer and AVBufferRef. AVBuffer
41 * e.g. compare two AVBuffer pointers to check whether two different references
43 * reference to an AVBuffer and it is the object that may be manipulated by the
46 * There are two functions provided for creating a new AVBuffer with a single
48 * av_buffer_create() to wrap an existing array in an AVBuffer. From an existing
74 typedef struct AVBuffer AVBuffer;
83 AVBuffer *buffer;
98 * Allocate an AVBuffer of the given size using av_malloc().
117 * Create an AVBuffer from an existing array.
119 * If this function is successful, data is owned by the AVBuffer. The caller may
143 * Create a new reference to an AVBuffer.
145 * @return a new AVBufferRef referring to the same AVBuffer as buf or NULL on
160 * true if and only if buf is the only reference to the underlying AVBuffer).
298 * Allocate a new AVBuffer, reusing an old buffer from the pool when available.