|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
10 #ifndef LIBREALSENSE_RS2_PIPELINE_H
11 #define LIBREALSENSE_RS2_PIPELINE_H
rs2_pipeline_profile * rs2_pipeline_get_active_profile(rs2_pipeline *pipe, rs2_error **error)
Return the active device and streams profiles, used by the pipeline.
struct rs2_pipeline_profile rs2_pipeline_profile
void rs2_delete_pipeline_profile(rs2_pipeline_profile *profile)
Deletes an instance of a pipeline profile.
struct rs2_context rs2_context
int rs2_pipeline_try_wait_for_frames(rs2_pipeline *pipe, rs2_frame **output_frame, unsigned int timeout_ms, rs2_error **error)
Wait until a new set of frames becomes available.
struct rs2_config rs2_config
struct rs2_stream_profile_list rs2_stream_profile_list
rs2_pipeline_profile * rs2_pipeline_start(rs2_pipeline *pipe, rs2_error **error)
Start the pipeline streaming with its default configuration.
rs2_pipeline_profile * rs2_pipeline_start_with_config_and_callback(rs2_pipeline *pipe, rs2_config *config, rs2_frame_callback_ptr on_frame, void *user, rs2_error **error)
Start the pipeline streaming according to the configuraion.
void rs2_delete_pipeline(rs2_pipeline *pipe)
Delete a pipeline instance.
rs2_stream_profile_list * rs2_pipeline_profile_get_streams(rs2_pipeline_profile *profile, rs2_error **error)
Return the selected streams profiles, which are enabled in this profile.
struct rs2_pipeline rs2_pipeline
rs2_pipeline * rs2_create_pipeline(rs2_context *ctx, rs2_error **error)
Create a pipeline instance The pipeline simplifies the user interaction with the device and computer ...
rs2_pipeline_profile * rs2_pipeline_start_with_callback_cpp(rs2_pipeline *pipe, rs2_frame_callback *callback, rs2_error **error)
Start the pipeline streaming with its default configuration.
struct rs2_frame rs2_frame
rs2_frame * rs2_pipeline_wait_for_frames(rs2_pipeline *pipe, unsigned int timeout_ms, rs2_error **error)
Wait until a new set of frames becomes available.
int rs2_pipeline_poll_for_frames(rs2_pipeline *pipe, rs2_frame **output_frame, rs2_error **error)
Check if a new set of frames is available and retrieve the latest undelivered set.
Exposes RealSense sensor functionality for C compilers.
struct rs2_device rs2_device
Exposes RealSense structs.
void rs2_pipeline_stop(rs2_pipeline *pipe, rs2_error **error)
Stop the pipeline streaming.
void(* rs2_frame_callback_ptr)(rs2_frame *, void *)
rs2_pipeline_profile * rs2_pipeline_start_with_callback(rs2_pipeline *pipe, rs2_frame_callback_ptr on_frame, void *user, rs2_error **error)
Start the pipeline streaming with its default configuration.
rs2_pipeline_profile * rs2_pipeline_start_with_config_and_callback_cpp(rs2_pipeline *pipe, rs2_config *config, rs2_frame_callback *callback, rs2_error **error)
Start the pipeline streaming according to the configuraion.
rs2_pipeline_profile * rs2_pipeline_start_with_config(rs2_pipeline *pipe, rs2_config *config, rs2_error **error)
Start the pipeline streaming according to the configuraion.
rs2_device * rs2_pipeline_profile_get_device(rs2_pipeline_profile *profile, rs2_error **error)
Retrieve the device used by the pipeline.
struct rs2_error rs2_error