rs_processing.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_PROCESSING_H
11 #define LIBREALSENSE_RS2_PROCESSING_H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #include "rs_types.h"
18 #include "rs_sensor.h"
19 #include "rs_option.h"
20 
29 
37 
44 
55 
63 
70 
79 
89 
102 int rs2_processing_block_register_simple_option(rs2_processing_block* block, rs2_option option_id, float min, float max, float step, float def, rs2_error** error);
103 
111 
120 
128 
136 
142 
151 
157 
165 rs2_frame* rs2_wait_for_frame(rs2_frame_queue* queue, unsigned int timeout_ms, rs2_error** error);
166 
174 int rs2_poll_for_frame(rs2_frame_queue* queue, rs2_frame** output_frame, rs2_error** error);
175 
184 int rs2_try_wait_for_frame(rs2_frame_queue* queue, unsigned int timeout_ms, rs2_frame** output_frame, rs2_error** error);
185 
191 void rs2_enqueue_frame(rs2_frame* frame, void* queue);
192 
199 
206 
212 
218 
224 rs2_processing_block* rs2_create_disparity_transform_block(unsigned char transform_to_disparity, rs2_error** error);
225 
231 
238 
245 
253 
260 
267 
276 
285 
294 
295 #ifdef __cplusplus
296 }
297 #endif
298 #endif
rs2_processing_block * rs2_create_decimation_filter_block(rs2_error **error)
Definition: rs.cpp:2232
rs2_camera_info
Read-only strings that can be queried from the device. Not all information attributes are available o...
Definition: rs_sensor.h:22
rs2_processing_block * rs2_create_processing_block_fptr(rs2_frame_processor_callback_ptr proc, void *context, rs2_error **error)
Definition: rs.cpp:2032
rs2_processing_block * rs2_create_threshold(rs2_error **error)
Definition: rs.cpp:2199
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
Definition: rs_option.h:22
rs2_processing_block * rs2_create_zero_order_invalidation_block(rs2_error **error)
Definition: rs.cpp:2280
rs2_processing_block * rs2_create_units_transform(rs2_error **error)
Definition: rs.cpp:2205
void rs2_start_processing(rs2_processing_block *block, rs2_frame_callback *on_frame, rs2_error **error)
Definition: rs.cpp:2070
void(* rs2_frame_processor_callback_ptr)(rs2_frame *, rs2_source *, void *)
Definition: rs_types.h:297
int rs2_poll_for_frame(rs2_frame_queue *queue, rs2_frame **output_frame, rs2_error **error)
Definition: rs.cpp:1058
void rs2_start_processing_fptr(rs2_processing_block *block, rs2_frame_callback_ptr on_frame, void *user, rs2_error **error)
Definition: rs.cpp:2078
rs2_processing_block * rs2_create_hole_filling_filter_block(rs2_error **error)
Definition: rs.cpp:2264
rs2_processing_block * rs2_create_sync_processing_block(rs2_error **error)
Definition: rs.cpp:2062
std::function< void(frame_interface *)> on_frame
Definition: streaming.h:164
rs2_processing_block * rs2_create_processing_block(rs2_frame_processor_callback *proc, rs2_error **error)
Definition: rs.cpp:2023
void rs2_delete_frame_queue(rs2_frame_queue *queue)
Definition: rs.cpp:1036
rs2_frame_queue * rs2_create_frame_queue(int capacity, rs2_error **error)
Definition: rs.cpp:1030
rs2_frame * rs2_wait_for_frame(rs2_frame_queue *queue, unsigned int timeout_ms, rs2_error **error)
Definition: rs.cpp:1043
void rs2_process_frame(rs2_processing_block *block, rs2_frame *frame, rs2_error **error)
Definition: rs.cpp:2097
rs2_processing_block * rs2_create_huffman_depth_decompress_block(rs2_error **error)
Definition: rs.cpp:2288
int rs2_processing_block_register_simple_option(rs2_processing_block *block, rs2_option option_id, float min, float max, float step, float def, rs2_error **error)
Definition: rs.cpp:2046
rs2_processing_block * rs2_create_rates_printer_block(rs2_error **error)
Definition: rs.cpp:2272
def info(name, value, persistent=False)
Definition: test.py:301
rs2_processing_block * rs2_create_align(rs2_stream align_to, rs2_error **error)
Definition: rs.cpp:2211
rs2_processing_block * rs2_create_pointcloud(rs2_error **error)
Definition: rs.cpp:2187
void rs2_enqueue_frame(rs2_frame *frame, void *queue)
Definition: rs.cpp:1092
Exposes RealSense structs.
int rs2_supports_processing_block_info(const rs2_processing_block *block, rs2_camera_info info, rs2_error **error)
Definition: rs.cpp:2807
Exposes RealSense sensor functionality for C compilers.
void rs2_delete_processing_block(rs2_processing_block *block)
Definition: rs.cpp:2106
rs2_processing_block * rs2_create_temporal_filter_block(rs2_error **error)
Definition: rs.cpp:2240
Exposes sensor options functionality for C compilers.
rs2_processing_block * rs2_create_disparity_transform_block(unsigned char transform_to_disparity, rs2_error **error)
Definition: rs.cpp:2256
rs2_processing_block * rs2_create_colorizer(rs2_error **error)
Definition: rs.cpp:2221
rs2_stream
Streams are different types of data provided by RealSense devices.
Definition: rs_sensor.h:42
rs2_processing_block * rs2_create_sequence_id_filter(rs2_error **error)
Definition: rs.cpp:2304
rs2_processing_block * rs2_create_yuy_decoder(rs2_error **error)
Definition: rs.cpp:2193
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
Definition: rs_types.h:166
int min(int a, int b)
Definition: lz4s.c:73
rs2_processing_block * rs2_create_spatial_filter_block(rs2_error **error)
Definition: rs.cpp:2248
void(* rs2_frame_callback_ptr)(rs2_frame *, void *)
Definition: rs_types.h:296
int rs2_try_wait_for_frame(rs2_frame_queue *queue, unsigned int timeout_ms, rs2_frame **output_frame, rs2_error **error)
Definition: rs.cpp:1075
int rs2_is_processing_block_extendable_to(const rs2_processing_block *block, rs2_extension extension_type, rs2_error **error)
Definition: rs.cpp:1481
const char * rs2_get_processing_block_info(const rs2_processing_block *block, rs2_camera_info info, rs2_error **error)
Definition: rs.cpp:2795
void rs2_start_processing_queue(rs2_processing_block *block, rs2_frame_queue *queue, rs2_error **error)
Definition: rs.cpp:2087
rs2_processing_block * rs2_create_hdr_merge_processing_block(rs2_error **error)
Definition: rs.cpp:2296
struct rs2_frame rs2_frame
Definition: rs_types.h:261


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