Lines Matching defs:data

22  * refcounted data buffer API
36 * AVBuffer is an API for reference-counted data buffers.
39 * represents the data buffer itself; it is opaque and not meant to be accessed
42 * are describing the same data buffer. AVBufferRef represents a single
51 * data once all the references are freed).
67 * parts of the buffer (i.e. their AVBufferRef.data will not be equal).
77 * A reference to a data buffer.
86 * The data buffer. It is considered writable if and only if
90 uint8_t *data;
92 * Size of data in bytes.
119 * If this function is successful, data is owned by the AVBuffer. The caller may
120 * only access data through the returned AVBufferRef and references derived from
122 * If this function fails, data is left untouched.
123 * @param data data array
124 * @param size size of data in bytes
125 * @param free a callback for freeing this buffer's data
129 * @return an AVBufferRef referring to data on success, NULL on failure.
131 AVBufferRef *av_buffer_create(uint8_t *data, size_t size,
132 void (*free)(void *opaque, uint8_t *data),
136 * Default free callback, which calls av_free() on the buffer data.
140 void av_buffer_default_free(void *opaque, uint8_t *data);
159 * @return 1 if the caller may write to the data referred to by buf (which is
174 * Create a writable reference from a given buffer reference, avoiding data copy
197 * a new buffer is allocated and the data is copied.
202 * Ensure dst refers to the same data as src.
272 * @param opaque arbitrary user data used by the allocator
280 * data. May be NULL.