Function rs2_allocate_composite_frame
Defined in File rs_frame.h
Function Documentation
-
rs2_frame *rs2_allocate_composite_frame(rs2_source *source, rs2_frame **frames, int count, rs2_error **error)
Allocate new composite frame, aggregating a set of existing frames
- Parameters:
source – [in] Frame pool to allocate the frame from
frames – [in] Array of existing frames
count – [in] Number of input frames
error – [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored
- Returns:
reference to a newly allocated frame, must be released with release_frame when composite frame gets released it will automatically release all of the input frames