[][src]Function realsense_sys::rs2_clone_video_stream_profile

pub unsafe extern "C" fn rs2_clone_video_stream_profile(
    mode: *const rs2_stream_profile,
    stream: rs2_stream,
    index: c_int,
    format: rs2_format,
    width: c_int,
    height: c_int,
    intr: *const rs2_intrinsics,
    error: *mut *mut rs2_error
) -> *mut rs2_stream_profile

Creates a copy of stream profile, assigning new values to some of the fields \param[in] mode input stream profile \param[in] stream stream type for the profile \param[in] format binary data format of the profile \param[in] width new width for the profile \param[in] height new height for the profile \param[in] intr new intrinsics for the profile \param[in] index stream index the profile in case there are multiple streams of the same type \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return new stream profile, must be deleted by rs2_delete_stream_profile