[][src]Function realsense_sys::rs2_allocate_composite_frame

pub unsafe extern "C" fn rs2_allocate_composite_frame(
    source: *mut rs2_source,
    frames: *mut *mut rs2_frame,
    count: c_int,
    error: *mut *mut rs2_error
) -> *mut rs2_frame

Allocate new composite frame, aggregating a set of existing frames \param[in] source Frame pool to allocate the frame from \param[in] frames Array of existing frames \param[in] count Number of input frames \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored \return 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