Function rs2_start_processing

Function Documentation

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

Parameters:
  • block[in] Processing block

  • on_frame[in] Callback to be invoked every time the processing block calls frame_ready

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored