10 #ifndef LIBREALSENSE_RS2_PIPELINE_H 11 #define LIBREALSENSE_RS2_PIPELINE_H int rs2_pipeline_poll_for_frames(rs2_pipeline *pipe, rs2_frame **output_frame, rs2_error **error)
void rs2_config_enable_device(rs2_config *config, const char *serial, rs2_error **error)
void rs2_config_disable_stream(rs2_config *config, rs2_stream stream, rs2_error **error)
void rs2_config_enable_device_from_file(rs2_config *config, const char *file, rs2_error **error)
rs2_pipeline_profile * rs2_pipeline_start(rs2_pipeline *pipe, rs2_error **error)
void rs2_config_enable_all_stream(rs2_config *config, rs2_error **error)
struct rs2_pipeline rs2_pipeline
Definition: rs_types.h:153
struct rs2_context rs2_context
Definition: rs_types.h:167
rs2_pipeline * rs2_create_pipeline(rs2_context *ctx, rs2_error **error)
rs2_pipeline_profile * rs2_pipeline_get_active_profile(rs2_pipeline *pipe, rs2_error **error)
void rs2_delete_config(rs2_config *config)
rs2_device * rs2_pipeline_profile_get_device(rs2_pipeline_profile *profile, rs2_error **error)
rs2_pipeline_profile * rs2_config_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)
struct rs2_pipeline_profile rs2_pipeline_profile
Definition: rs_types.h:154
rs2_stream_profile_list * rs2_pipeline_profile_get_streams(rs2_pipeline_profile *profile, rs2_error **error)
rs2_frame * rs2_pipeline_wait_for_frames(rs2_pipeline *pipe, unsigned int timeout_ms, rs2_error **error)
struct rs2_config rs2_config
Definition: rs_types.h:155
Exposes RealSense structs.
void rs2_config_enable_stream(rs2_config *config, rs2_stream stream, int index, int width, int height, rs2_format format, int framerate, rs2_error **error)
struct rs2_stream_profile_list rs2_stream_profile_list
Definition: rs_types.h:157
Exposes RealSense sensor functionality for C compilers.
rs2_format
Format identifies how binary data is encoded within a frame.
Definition: rs_sensor.h:55
rs2_stream
Streams are different types of data provided by RealSense devices.
Definition: rs_sensor.h:38
rs2_pipeline_profile * rs2_pipeline_start_with_config(rs2_pipeline *pipe, rs2_config *config, rs2_error **error)
void rs2_config_enable_device_from_file_repeat_option(rs2_config *config, const char *file, int repeat_playback, rs2_error **error)
void rs2_pipeline_stop(rs2_pipeline *pipe, rs2_error **error)
struct rs2_device rs2_device
Definition: rs_types.h:148
void rs2_config_disable_indexed_stream(rs2_config *config, rs2_stream stream, int index, rs2_error **error)
void rs2_config_enable_record_to_file(rs2_config *config, const char *file, rs2_error **error)
void rs2_config_disable_all_streams(rs2_config *config, rs2_error **error)
rs2_config * rs2_create_config(rs2_error **error)
struct rs2_error rs2_error
Definition: rs_types.h:149
int rs2_config_can_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)
void rs2_delete_pipeline_profile(rs2_pipeline_profile *profile)
void rs2_delete_pipeline(rs2_pipeline *pipe)
struct rs2_frame rs2_frame
Definition: rs_types.h:151