[][src]Function realsense_sys::rs2_extract_frame

pub unsafe extern "C" fn rs2_extract_frame(
    composite: *mut rs2_frame,
    index: c_int,
    error: *mut *mut rs2_error
) -> *mut rs2_frame

Extract frame from within a composite frame \param[in] composite Composite frame \param[in] index Index of the frame to extract within the composite frame \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored \return returns reference to a frame existing within the composite frame If you wish to keep this frame after the composite is released, you need to call acquire_ref Otherwise the resulting frame lifetime is bound by owning composite frame