Function libdav1d_sys::dav1d_data_create

source ยท
pub unsafe extern "C" fn dav1d_data_create(
    data: *mut Dav1dData,
    sz: usize,
) -> *mut u8
Expand description

Allocate data.

@param data Input context. @param sz Size of the data that should be allocated.

@return Pointer to the allocated buffer on success. NULL on error.