Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
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 
28 
36 
43 
53 
61 
69 
76 void rs2_process_frame(rs2_processing_block* block, rs2_frame* frame, rs2_error** error);
77 
83 
91 rs2_frame_queue* rs2_create_frame_queue(int capacity, rs2_error** error);
92 
98 
105 rs2_frame* rs2_wait_for_frame(rs2_frame_queue* queue, unsigned int timeout_ms, rs2_error** error);
106 
114 int rs2_poll_for_frame(rs2_frame_queue* queue, rs2_frame** output_frame, rs2_error** error);
115 
121 void rs2_enqueue_frame(rs2_frame* frame, void* queue);
122 
128 
135 
141 
147 
153 rs2_processing_block* rs2_create_disparity_transform_block(unsigned char transform_to_disparity, rs2_error** error);
154 
155 #ifdef __cplusplus
156 }
157 #endif
158 #endif
rs2_processing_block * rs2_create_decimation_filter_block(rs2_error **error)
Definition: rs_types.hpp:27
void rs2_start_processing(rs2_processing_block *block, rs2_frame_callback *on_frame, rs2_error **error)
struct rs2_frame_queue rs2_frame_queue
Definition: rs_types.h:151
int rs2_poll_for_frame(rs2_frame_queue *queue, rs2_frame **output_frame, rs2_error **error)
rs2_processing_block * rs2_create_sync_processing_block(rs2_error **error)
std::function< void(frame_interface *)> on_frame
Definition: streaming.h:103
rs2_processing_block * rs2_create_processing_block(rs2_frame_processor_callback *proc, rs2_error **error)
Definition: api.h:18
void rs2_delete_frame_queue(rs2_frame_queue *queue)
rs2_frame_queue * rs2_create_frame_queue(int capacity, rs2_error **error)
rs2_frame * rs2_wait_for_frame(rs2_frame_queue *queue, unsigned int timeout_ms, rs2_error **error)
void rs2_process_frame(rs2_processing_block *block, rs2_frame *frame, rs2_error **error)
rs2_processing_block * rs2_create_align(rs2_stream align_to, rs2_error **error)
rs2_processing_block * rs2_create_pointcloud(rs2_error **error)
void rs2_enqueue_frame(rs2_frame *frame, void *queue)
Definition: rs_types.hpp:34
void rs2_delete_processing_block(rs2_processing_block *block)
rs2_processing_block * rs2_create_temporal_filter_block(rs2_error **error)
rs2_processing_block * rs2_create_disparity_transform_block(unsigned char transform_to_disparity, rs2_error **error)
rs2_processing_block * rs2_create_colorizer(rs2_error **error)
rs2_stream
Streams are different types of data provided by RealSense devices.
Definition: rs_sensor.h:37
struct rs2_processing_block rs2_processing_block
Definition: rs_types.h:163
rs2_processing_block * rs2_create_spatial_filter_block(rs2_error **error)
void rs2_start_processing_queue(rs2_processing_block *block, rs2_frame_queue *queue, rs2_error **error)
struct rs2_frame rs2_frame
Definition: rs_types.h:150