Function rs2_is_processing_block_extendable_to

Function Documentation

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

Parameters:
  • block[in] processing block

  • extension[in] The extension to which the sensor should be tested if it is extendable

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

Returns:

non-zero value iff the processing block can be extended to the given extension