|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
10 #ifndef LIBREALSENSE_RS2_CONFIG_H
11 #define LIBREALSENSE_RS2_CONFIG_H
13 #define RS2_DEFAULT_TIMEOUT 15000
struct rs2_pipeline_profile rs2_pipeline_profile
void rs2_config_enable_record_to_file(rs2_config *config, const char *file, rs2_error **error)
Requires that the resolved device would be recorded to file This request cannot be used if enable_dev...
JDIMENSION JDIMENSION * width
rs2_pipeline_profile * rs2_config_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)
Resolve the configuration filters, to find a matching device and streams profiles.
struct rs2_config rs2_config
void rs2_config_enable_device_from_file_repeat_option(rs2_config *config, const char *file, int repeat_playback, rs2_error **error)
Select a recorded device from a file, to be used by the pipeline through playback.
void rs2_config_disable_stream(rs2_config *config, rs2_stream stream, rs2_error **error)
Disable a device stream explicitly, to remove any requests on this stream type.
void rs2_config_disable_indexed_stream(rs2_config *config, rs2_stream stream, int index, rs2_error **error)
Disable a device stream explicitly, to remove any requests on this stream profile.
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)
Enable a device stream explicitly, with selected stream parameters.
struct rs2_pipeline rs2_pipeline
void rs2_delete_config(rs2_config *config)
Deletes an instance of a config.
void rs2_config_enable_device(rs2_config *config, const char *serial, rs2_error **error)
Select a specific device explicitly by its serial number, to be used by the pipeline.
rs2_format
A stream's format identifies how binary data is encoded within a frame.
Exposes RealSense structs.
int rs2_config_can_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)
Check if the config can resolve the configuration filters, to find a matching device and streams prof...
Exposes RealSense sensor functionality for C compilers.
void rs2_config_enable_device_from_file(rs2_config *config, const char *file, rs2_error **error)
Select a recorded device from a file, to be used by the pipeline through playback.
void rs2_config_disable_all_streams(rs2_config *config, rs2_error **error)
Disable all device stream explicitly, to remove any requests on the streams profiles.
rs2_stream
Streams are different types of data provided by RealSense devices.
rs2_config * rs2_create_config(rs2_error **error)
Create a config instance The config allows pipeline users to request filters for the pipeline streams...
void rs2_config_enable_all_stream(rs2_config *config, rs2_error **error)
Enable all device streams explicitly.
static std::string format(const char *fmt,...)
struct rs2_error rs2_error