Function rs2_get_dsm_params

Function Documentation

void rs2_get_dsm_params(rs2_sensor const *sensor, rs2_dsm_params *p_params_out, rs2_error **error)

Get the DSM parameters for a sensor

Parameters:
  • sensor[in] Sensor that supports the CALIBRATED_SENSOR extension

  • p_params_out[out] Pointer to the structure that will get the DSM parameters

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