rs_config.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_CONFIG_H
11 #define LIBREALSENSE_RS2_CONFIG_H
12 
13 #define RS2_DEFAULT_TIMEOUT 15000
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 #include "rs_types.h"
20 #include "rs_sensor.h"
21 
34 
41 
65  int index,
66  int width,
67  int height,
69  int framerate,
70  rs2_error** error);
71 
81  void rs2_config_enable_all_stream(rs2_config* config, rs2_error ** error);
82 
93  void rs2_config_enable_device(rs2_config* config, const char* serial, rs2_error ** error);
94 
106  void rs2_config_enable_device_from_file(rs2_config* config, const char* file, rs2_error ** error);
107 
120  void rs2_config_enable_device_from_file_repeat_option(rs2_config* config, const char* file, int repeat_playback, rs2_error ** error);
121 
130  void rs2_config_enable_record_to_file(rs2_config* config, const char* file, rs2_error ** error);
131 
132 
142  void rs2_config_disable_stream(rs2_config* config, rs2_stream stream, rs2_error ** error);
143 
154  void rs2_config_disable_indexed_stream(rs2_config* config, rs2_stream stream, int index, rs2_error ** error);
155 
164  void rs2_config_disable_all_streams(rs2_config* config, rs2_error ** error);
165 
185 
195  int rs2_config_can_resolve(rs2_config* config, rs2_pipeline* pipe, rs2_error ** error);
196 
197 #ifdef __cplusplus
198 }
199 #endif
200 #endif
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)
Definition: rs.cpp:1928
rs2_pipeline_profile * rs2_config_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)
Definition: rs.cpp:2007
void rs2_config_disable_indexed_stream(rs2_config *config, rs2_stream stream, int index, rs2_error **error)
Definition: rs.cpp:1993
rs2_config * rs2_create_config(rs2_error **error)
Definition: rs.cpp:1914
void rs2_config_enable_record_to_file(rs2_config *config, const char *file, rs2_error **error)
Definition: rs.cpp:1977
GLuint GLuint stream
Definition: glext.h:1790
void rs2_config_enable_all_stream(rs2_config *config, rs2_error **error)
Definition: rs.cpp:1942
GLuint index
void rs2_config_disable_all_streams(rs2_config *config, rs2_error **error)
Definition: rs.cpp:2000
void rs2_config_enable_device_from_file(rs2_config *config, const char *file, rs2_error **error)
Definition: rs.cpp:1968
Exposes RealSense structs.
GLint GLsizei GLsizei height
int rs2_config_can_resolve(rs2_config *config, rs2_pipeline *pipe, rs2_error **error)
Definition: rs.cpp:2015
GLint GLint GLsizei GLint GLenum format
Exposes RealSense sensor functionality for C compilers.
rs2_format
A stream's format identifies how binary data is encoded within a frame.
Definition: rs_sensor.h:59
void rs2_config_enable_device_from_file_repeat_option(rs2_config *config, const char *file, int repeat_playback, rs2_error **error)
Definition: rs.cpp:1959
rs2_stream
Streams are different types of data provided by RealSense devices.
Definition: rs_sensor.h:42
void rs2_delete_config(rs2_config *config)
Definition: rs.cpp:1920
void rs2_config_enable_device(rs2_config *config, const char *serial, rs2_error **error)
Definition: rs.cpp:1949
GLint GLsizei width
void rs2_config_disable_stream(rs2_config *config, rs2_stream stream, rs2_error **error)
Definition: rs.cpp:1986


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:40