|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
10 #ifndef LIBREALSENSE_RS2_PROCESSING_H
11 #define LIBREALSENSE_RS2_PROCESSING_H
void rs2_delete_frame_queue(rs2_frame_queue *queue)
deletes frame queue and releases all frames inside it
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
rs2_processing_block * rs2_create_colorizer(rs2_error **error)
Creates Depth-Colorizer processing block that can be used to quickly visualize the depth data This bl...
const char * rs2_get_processing_block_info(const rs2_processing_block *block, rs2_camera_info info, rs2_error **error)
Retrieve processing block specific information, like name.
rs2_processing_block * rs2_create_pointcloud(rs2_error **error)
Creates Point-Cloud processing block.
rs2_processing_block * rs2_create_huffman_depth_decompress_block(rs2_error **error)
Creates Depth frame decompression module.
int rs2_poll_for_frame(rs2_frame_queue *queue, rs2_frame **output_frame, rs2_error **error)
poll if a new frame is available and dequeue if it is
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)
This method adds a custom option to a custom processing block.
struct rs2_processing_block rs2_processing_block
rs2_processing_block * rs2_create_threshold(rs2_error **error)
Creates depth thresholding processing block By controlling min and max options on the block,...
rs2_camera_info
Read-only strings that can be queried from the device.
void rs2_process_frame(rs2_processing_block *block, rs2_frame *frame, rs2_error **error)
This method is used to pass frame into a processing block.
rs2_frame_queue * rs2_create_frame_queue(int capacity, rs2_error **error)
create frame queue.
rs2_frame * rs2_wait_for_frame(rs2_frame_queue *queue, unsigned int timeout_ms, rs2_error **error)
wait until new frame becomes available in the queue and dequeue it
rs2_processing_block * rs2_create_spatial_filter_block(rs2_error **error)
Creates Depth post-processing spatial filter block.
void rs2_delete_processing_block(rs2_processing_block *block)
Deletes the processing block.
rs2_processing_block * rs2_create_sequence_id_filter(rs2_error **error)
Creates a sequence_id_filter processing block.
rs2_processing_block * rs2_create_units_transform(rs2_error **error)
Creates depth units transformation processing block All of the pixels are transformed from depth unit...
void(* rs2_frame_processor_callback_ptr)(rs2_frame *, rs2_source *, void *)
rs2_processing_block * rs2_create_disparity_transform_block(unsigned char transform_to_disparity, rs2_error **error)
Creates a post processing block that provides for depth<->disparity domain transformation for stereo-...
struct rs2_frame_queue rs2_frame_queue
int max(int a, int b)
Compute the component-wise maximum.
int rs2_try_wait_for_frame(rs2_frame_queue *queue, unsigned int timeout_ms, rs2_frame **output_frame, rs2_error **error)
wait until new frame becomes available in the queue and dequeue it
rs2_processing_block * rs2_create_processing_block_fptr(rs2_frame_processor_callback_ptr proc, void *context, rs2_error **error)
This method creates new custom processing block from function pointer.
struct rs2_frame rs2_frame
rs2_processing_block * rs2_create_decimation_filter_block(rs2_error **error)
Creates Depth post-processing filter block.
rs2_processing_block * rs2_create_yuy_decoder(rs2_error **error)
Creates YUY decoder processing block.
rs2_processing_block * rs2_create_processing_block(rs2_frame_processor_callback *proc, rs2_error **error)
This method creates new custom processing block.
int rs2_is_processing_block_extendable_to(const rs2_processing_block *block, rs2_extension extension_type, rs2_error **error)
Test if the given processing block can be extended to the requested extension.
rs2_processing_block * rs2_create_hdr_merge_processing_block(rs2_error **error)
Creates a hdr_merge processing block.
rs2_option
Defines general configuration controls.
rs2_processing_block * rs2_create_temporal_filter_block(rs2_error **error)
Creates Depth post-processing filter block.
int min(int a, int b)
Compute the component-wise minimum.
int rs2_supports_processing_block_info(const rs2_processing_block *block, rs2_camera_info info, rs2_error **error)
Check if a processing block supports a specific info type.
void rs2_enqueue_frame(rs2_frame *frame, void *queue)
enqueue new frame into a queue
Exposes RealSense structs.
void rs2_start_processing(rs2_processing_block *block, rs2_frame_callback *on_frame, rs2_error **error)
This method is used to direct the output from the processing block to some callback or sink object.
void(* rs2_frame_callback_ptr)(rs2_frame *, void *)
void rs2_start_processing_queue(rs2_processing_block *block, rs2_frame_queue *queue, rs2_error **error)
This method is used to direct the output from the processing block to a dedicated queue object.
Exposes RealSense sensor functionality for C compilers.
void rs2_start_processing_fptr(rs2_processing_block *block, rs2_frame_callback_ptr on_frame, void *user, rs2_error **error)
This method is used to direct the output from the processing block to some callback or sink object.
rs2_processing_block * rs2_create_align(rs2_stream align_to, rs2_error **error)
Creates Align processing block.
rs2_processing_block * rs2_create_zero_order_invalidation_block(rs2_error **error)
Creates Depth post-processing zero order fix block.
rs2_processing_block * rs2_create_rates_printer_block(rs2_error **error)
Creates a rates printer block.
rs2_processing_block * rs2_create_sync_processing_block(rs2_error **error)
Creates Sync processing block.
Exposes sensor options functionality for C compilers.
rs2_stream
Streams are different types of data provided by RealSense devices.
rs2_processing_block * rs2_create_hole_filling_filter_block(rs2_error **error)
Creates Depth post-processing hole filling block.
struct rs2_error rs2_error