9 #ifndef LIBREALSENSE_RS2_H 10 #define LIBREALSENSE_RS2_H 25 #define RS2_API_MAJOR_VERSION 2 26 #define RS2_API_MINOR_VERSION 13 27 #define RS2_API_PATCH_VERSION 0 28 #define RS2_API_BUILD_VERSION 0 30 #define STRINGIFY(arg) #arg 31 #define VAR_ARG_STRING(arg) STRINGIFY(arg) 37 #define RS2_API_VERSION (((RS2_API_MAJOR_VERSION) * 10000) + ((RS2_API_MINOR_VERSION) * 100) + (RS2_API_PATCH_VERSION)) 39 #define RS2_API_VERSION_STR (VAR_ARG_STRING(RS2_API_MAJOR_VERSION.RS2_API_MINOR_VERSION.RS2_API_PATCH_VERSION)) struct rs2_raw_data_buffer rs2_raw_data_buffer
Definition: rs_types.h:150
int rs2_get_api_version(rs2_error **error)
void rs2_log_to_file(rs2_log_severity min_severity, const char *file_path, rs2_error **error)
const unsigned char * rs2_get_raw_data(const rs2_raw_data_buffer *buffer, rs2_error **error)
void rs2_log(rs2_log_severity severity, const char *message, rs2_error **error)
void rs2_delete_raw_data(const rs2_raw_data_buffer *buffer)
int rs2_get_raw_data_size(const rs2_raw_data_buffer *buffer, rs2_error **error)
Exposes RealSense frame functionality for C compilers.
rs2_time_t rs2_get_time(rs2_error **error)
Exposes RealSense structs.
Exposes record and playback functionality for C compilers.
Exposes RealSense processing-block functionality for C compilers.
float rs2_depth_frame_get_distance(const rs2_frame *frame_ref, int x, int y, rs2_error **error)
Exposes RealSense device functionality for C compilers.
Exposes RealSense sensor functionality for C compilers.
Exposes sensor options functionality for C compilers.
void rs2_log_to_console(rs2_log_severity min_severity, rs2_error **error)
Exposes RealSense context functionality for C compilers.
struct rs2_error rs2_error
Definition: rs_types.h:149
double rs2_time_t
Definition: rs_types.h:180
rs2_log_severity
Severity of the librealsense logger.
Definition: rs_types.h:82
struct rs2_frame rs2_frame
Definition: rs_types.h:151