pub unsafe extern "C" fn vsl_frame_attach(
    frame: *mut VSLFrame,
    fd: c_int,
    size: usize,
    offset: usize
) -> c_int
Expand description

Attach the provided file descriptor to the VSLFrame. If size is not provided it is assumed to be stride*height bytes. If offset is provided then size MUST be provided, the offset is in bytes to the start of the frame.

@since 1.3 @memberof VSLFrame