72 void (*free_callback)(
const uint8_t *buf,
void *cookie),
97 const uint8_t *user_data,
98 void (*free_callback)(
const uint8_t *user_data,
#define DAV1D_API
Definition common.h:50
DAV1D_API int dav1d_data_wrap(Dav1dData *data, const uint8_t *buf, size_t sz, void(*free_callback)(const uint8_t *buf, void *cookie), void *cookie)
DAV1D_API int dav1d_data_wrap_user_data(Dav1dData *data, const uint8_t *user_data, void(*free_callback)(const uint8_t *user_data, void *cookie), void *cookie)
DAV1D_API void dav1d_data_unref(Dav1dData *data)
DAV1D_API uint8_t * dav1d_data_create(Dav1dData *data, size_t sz)
struct Dav1dRef Dav1dRef
Definition dav1d.h:44
const uint8_t * data
data pointer
Definition data.h:41
size_t sz
data size
Definition data.h:42
struct Dav1dRef * ref
allocation origin
Definition data.h:43
Dav1dDataProps m
user provided metadata passed to the output picture
Definition data.h:44