Function videostream_sys::vsl_frame_init
source · 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 VSLFrameExpand 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