Lines Matching defs:data
22 * refcounted data buffer API
35 * AVBuffer is an API for reference-counted data buffers.
38 * represents the data buffer itself; it is opaque and not meant to be accessed
41 * are describing the same data buffer. AVBufferRef represents a single
50 * data once all the references are freed).
66 * parts of the buffer (i.e. their AVBufferRef.data will not be equal).
76 * A reference to a data buffer.
85 * The data buffer. It is considered writable if and only if
89 uint8_t *data;
91 * Size of data in bytes.
118 * If this function is successful, data is owned by the AVBuffer. The caller may
119 * only access data through the returned AVBufferRef and references derived from
121 * If this function fails, data is left untouched.
122 * @param data data array
123 * @param size size of data in bytes
124 * @param free a callback for freeing this buffer's data
128 * @return an AVBufferRef referring to data on success, NULL on failure.
130 AVBufferRef *av_buffer_create(uint8_t *data, int size,
131 void (*free)(void *opaque, uint8_t *data),
135 * Default free callback, which calls av_free() on the buffer data.
139 void av_buffer_default_free(void *opaque, uint8_t *data);
158 * @return 1 if the caller may write to the data referred to by buf (which is
173 * Create a writable reference from a given buffer reference, avoiding data copy
196 * a new buffer is allocated and the data is copied.