pub unsafe extern "C" fn vsl_frame_init(
    width: u32,
    height: u32,
    stride: u32,
    fourcc: u32,
    userptr: *mut c_void,
    cleanup: vsl_frame_cleanup
) -> *mut VSLFrame
Expand description

Initializes a VSLFrame without underlying frame buffer. To create the backing memory either call @ref vsl_frame_alloc() or to attach to an existing bufer use @ref vsl_frame_attach().

@since 1.3 @memberof VSLFrame