5 #ifndef LIBREALSENSE_IV_PRIVATE_H 6 #define LIBREALSENSE_IV_PRIVATE_H 14 const uvc::extension_unit depth_xu{ 1, 6, 1, { 0xA55751A1, 0xF3C5, 0x4A5E, { 0x8D, 0x5A, 0x68, 0x54, 0xB8, 0xFA, 0x27, 0x16 } } };
135 size_t prepare_usb_command(uint8_t * request,
size_t & requestSize, uint32_t op, uint32_t p1 = 0, uint32_t p2 = 0, uint32_t p3 = 0, uint32_t p4 = 0, uint8_t *
data = 0,
size_t dataLength = 0);
136 void get_gvd(uvc::device & device, std::timed_mutex & mutex,
size_t sz,
char * gvd,
int gvd_cmd = (
int)
fw_cmd::GVD);
142 void enable_timestamp(uvc::device & device, std::timed_mutex & mutex,
bool colorEnable,
bool depthEnable);
143 void set_auto_range(uvc::device & device, std::timed_mutex & mutex,
int enableMvR, int16_t minMvR, int16_t maxMvR, int16_t startMvR,
int enableLaser, int16_t minLaser, int16_t maxLaser, int16_t startLaser, int16_t ARUpperTH, int16_t ARLowerTH);
146 void get_laser_power(
const uvc::device & device, uint8_t & laser_power);
148 void get_accuracy(
const uvc::device & device, uint8_t & accuracy);
149 void set_accuracy(uvc::device & device, uint8_t accuracy);
170 float IRThermalLoopEnable = 1;
171 float TimeOutA = 10000;
174 float TransitionTemp = 3;
175 float TempThreshold = 2;
176 float HFOVsensitivity = 0.025f;
177 float FcxSlopeA = -0.003696988f;
178 float FcxSlopeB = 0.005809239f;
181 float UxSlopeA = -0.000210918f;
182 float UxSlopeB = 0.000034253955f;
185 float LiguriaTempWeight = 1;
186 float IrTempWeight = 0;
187 float AmbientTempWeight = 0;
196 std::tuple<ivcam::camera_calib_params, f200::cam_temperature_data, thermal_loop_params>
read_f200_calibration(uvc::device & device, std::timed_mutex & mutex);
197 float read_mems_temp(uvc::device & device, std::timed_mutex & mutex);
198 int read_ir_temp(uvc::device & device, std::timed_mutex & mutex);
203 void get_dynamic_fps(
const uvc::device & device, uint8_t & dynamic_fps);
215 #endif // IV_PRIVATE_H
void get_filter_option(const uvc::device &device, uint8_t &filter_option)
void update_asic_coefficients(uvc::device &device, std::timed_mutex &mutex, const ivcam::camera_calib_params &compensated_params)
void get_motion_range(const uvc::device &device, uint8_t &motion_range)
void get_laser_power(const uvc::device &device, uint8_t &laser_power)
void set_dynamic_fps(uvc::device &device, uint8_t dynamic_fps)
GLsizei const GLchar *const * string
void set_auto_range(uvc::device &device, std::timed_mutex &mutex, int enableMvR, int16_t minMvR, int16_t maxMvR, int16_t startMvR, int enableLaser, int16_t minLaser, int16_t maxLaser, int16_t startLaser, int16_t ARUpperTH, int16_t ARLowerTH)
void force_hardware_reset(uvc::device &device, std::timed_mutex &mutex)
int read_ir_temp(uvc::device &device, std::timed_mutex &mutex)
ivcam::camera_calib_params CalibrationParameters
void set_confidence_threshold(uvc::device &device, uint8_t conf_thresh)
void get_confidence_threshold(const uvc::device &device, uint8_t &conf_thresh)
void set_laser_power(uvc::device &device, uint8_t laser_power)
void get_dynamic_fps(const uvc::device &device, uint8_t &dynamic_fps)
ivcam::camera_calib_params read_sr300_calibration(uvc::device &device, std::timed_mutex &mutex)
const uvc::extension_unit depth_xu
void get_accuracy(const uvc::device &device, uint8_t &accuracy)
void get_module_serial_string(uvc::device &device, std::timed_mutex &mutex, std::string &serial, int offset)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const void * data
void set_filter_option(uvc::device &device, uint8_t filter_option)
void set_accuracy(uvc::device &device, uint8_t accuracy)
float read_mems_temp(uvc::device &device, std::timed_mutex &mutex)
void get_firmware_version_string(uvc::device &device, std::timed_mutex &mutex, std::string &version, int gvd_cmd, int offset)
std::tuple< ivcam::camera_calib_params, cam_temperature_data, thermal_loop_params > read_f200_calibration(uvc::device &device, std::timed_mutex &mutex)
void enable_timestamp(uvc::device &device, std::timed_mutex &mutex, bool colorEnable, bool depthEnable)
void get_gvd(uvc::device &device, std::timed_mutex &mutex, size_t sz, char *gvd, int gvd_cmd)
size_t prepare_usb_command(uint8_t *request, size_t &requestSize, uint32_t op, uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4, uint8_t *data, size_t dataLength)
void set_motion_range(uvc::device &device, uint8_t motion_range)
void claim_ivcam_interface(uvc::device &device)