Function rs2_create_processing_block
Defined in File rs_processing.h
Function Documentation
-
rs2_processing_block *rs2_create_processing_block(rs2_frame_processor_callback *proc, rs2_error **error)
This method creates new custom processing block. This lets the users pass frames between module boundaries for processing This is an infrastructure function aimed at middleware developers, and also used by provided blocks such as sync, colorizer, etc..
- Parameters:
proc – Processing function to be applied to every frame entering the block
error – [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored
- Returns:
new processing block, to be released by rs2_delete_processing_block