[][src]Function realsense_sys::rs2_create_processing_block

pub unsafe extern "C" fn rs2_create_processing_block(
    proc_: *mut rs2_frame_processor_callback,
    error: *mut *mut rs2_error
) -> *mut rs2_processing_block

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.. \param proc Processing function to be applied to every frame entering the block \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return new processing block, to be released by rs2_delete_processing_block