NVIDIA DeepStream SDK API Reference

9.2 Release
sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_pipeline.h
Go to the documentation of this file.
1 /* License: Apache 2.0. See LICENSE file in root directory.
2 Copyright(c) 2017 Intel Corporation. All Rights Reserved. */
3 
10 #ifndef LIBREALSENSE_RS2_PIPELINE_H
11 #define LIBREALSENSE_RS2_PIPELINE_H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #include "rs_types.h"
18 #include "rs_sensor.h"
19 #include "rs_config.h"
20 
33 
42  void rs2_pipeline_stop(rs2_pipeline* pipe, rs2_error ** error);
43 
58  rs2_frame* rs2_pipeline_wait_for_frames(rs2_pipeline* pipe, unsigned int timeout_ms, rs2_error ** error);
59 
75  int rs2_pipeline_poll_for_frames(rs2_pipeline* pipe, rs2_frame** output_frame, rs2_error ** error);
76 
92  int rs2_pipeline_try_wait_for_frames(rs2_pipeline* pipe, rs2_frame** output_frame, unsigned int timeout_ms, rs2_error ** error);
93 
100 
114 
134 
148 
161 
181 
200 
212 
227 
236 
243 
244 #ifdef __cplusplus
245 }
246 #endif
247 #endif
rs2_pipeline_get_active_profile
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.
rs2_pipeline_profile
struct rs2_pipeline_profile rs2_pipeline_profile
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:264
rs2_delete_pipeline_profile
void rs2_delete_pipeline_profile(rs2_pipeline_profile *profile)
Deletes an instance of a pipeline profile.
rs2_context
struct rs2_context rs2_context
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:279
rs2_pipeline_try_wait_for_frames
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.
rs2_config
struct rs2_config rs2_config
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:265
rs2_stream_profile_list
struct rs2_stream_profile_list rs2_stream_profile_list
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:267
rs2_pipeline_start
rs2_pipeline_profile * rs2_pipeline_start(rs2_pipeline *pipe, rs2_error **error)
Start the pipeline streaming with its default configuration.
rs2_pipeline_start_with_config_and_callback
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.
rs2_delete_pipeline
void rs2_delete_pipeline(rs2_pipeline *pipe)
Delete a pipeline instance.
rs2_pipeline_profile_get_streams
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.
rs_config.h
rs2_pipeline
struct rs2_pipeline rs2_pipeline
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:263
rs2_create_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_start_with_callback_cpp
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.
rs2_frame
struct rs2_frame rs2_frame
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:261
rs2_pipeline_wait_for_frames
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.
rs2_pipeline_poll_for_frames
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.
rs_sensor.h
Exposes RealSense sensor functionality for C compilers.
rs2_device
struct rs2_device rs2_device
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:257
rs_types.h
Exposes RealSense structs.
rs2_pipeline_stop
void rs2_pipeline_stop(rs2_pipeline *pipe, rs2_error **error)
Stop the pipeline streaming.
rs2_frame_callback_ptr
void(* rs2_frame_callback_ptr)(rs2_frame *, void *)
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:296
rs2_pipeline_start_with_callback
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_start_with_config_and_callback_cpp
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_start_with_config
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_pipeline_profile_get_device
rs2_device * rs2_pipeline_profile_get_device(rs2_pipeline_profile *profile, rs2_error **error)
Retrieve the device used by the pipeline.
rs2_frame_callback
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_types.hpp:25
rs2_error
struct rs2_error rs2_error
Definition: sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/h/rs_types.h:258