Function rs2_extract_frame
Defined in File rs_frame.h
Function Documentation
-
rs2_frame *rs2_extract_frame(rs2_frame *composite, int index, rs2_error **error)
Extract frame from within a composite frame
- Parameters:
composite – [in] Composite frame
index – [in] Index of the frame to extract within the composite frame
error – [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored
- Returns:
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