Function rs2_start_processing_fptr

Function Documentation

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

Parameters:
  • block[in] Processing block

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

  • user[in] User context for the callback (can be anything or null)

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