Classes | Enumerations | Functions | Variables
rsimpl::ivcam Namespace Reference

Classes

struct  cam_auto_range_request
 
struct  cam_calibration
 
struct  camera_calib_params
 

Enumerations

enum  FirmwareError : int32_t {
  FirmwareError::FW_ACTIVE = 0, FirmwareError::FW_MSAFE_S1_ERR, FirmwareError::FW_I2C_SAFE_ERR, FirmwareError::FW_FLASH_SAFE_ERR,
  FirmwareError::FW_I2C_CFG_ERR, FirmwareError::FW_I2C_EV_ERR, FirmwareError::FW_HUMIDITY_ERR, FirmwareError::FW_MSAFE_S0_ERR,
  FirmwareError::FW_LD_ERR, FirmwareError::FW_PI_ERR, FirmwareError::FW_PJCLK_ERR, FirmwareError::FW_OAC_ERR,
  FirmwareError::FW_LIGURIA_TEMPERATURE_ERR, FirmwareError::FW_CONTINUE_SAFE_ERROR, FirmwareError::FW_FORZA_HUNG, FirmwareError::FW_FORZA_CONTINUES_HUNG,
  FirmwareError::FW_PJ_EYESAFETY_CHKRHARD, FirmwareError::FW_MIPI_PCAM_ERR, FirmwareError::FW_MIPI_TCAM_ERR, FirmwareError::FW_SYNC_DISABLED,
  FirmwareError::FW_MIPI_PCAM_SVR_ERR, FirmwareError::FW_MIPI_TCAM_SVR_ERR, FirmwareError::FW_MIPI_PCAM_FRAME_SIZE_ERR, FirmwareError::FW_MIPI_TCAM_FRAME_SIZE_ERR,
  FirmwareError::FW_MIPI_PCAM_FRAME_RESPONSE_ERR, FirmwareError::FW_MIPI_TCAM_FRAME_RESPONSE_ERR, FirmwareError::FW_USB_PCAM_THROTTLED_ERR, FirmwareError::FW_USB_TCAM_THROTTLED_ERR,
  FirmwareError::FW_USB_PCAM_QOS_WAR, FirmwareError::FW_USB_TCAM_QOS_WAR, FirmwareError::FW_USB_PCAM_OVERFLOW, FirmwareError::FW_USB_TCAM_OVERFLOW,
  FirmwareError::FW_Flash_OEM_SECTOR, FirmwareError::FW_Flash_CALIBRATION_RW, FirmwareError::FW_Flash_IR_CALIBRATION, FirmwareError::FW_Flash_RGB_CALIBRATION,
  FirmwareError::FW_Flash_THERMAL_LOOP_CONFIGURATION, FirmwareError::FW_Flash_REALTEK, FirmwareError::FW_RGB_ISP_BOOT_FAILED, FirmwareError::FW_PRIVACY_RGB_OFF,
  FirmwareError::FW_PRIVACY_DEPTH_OFF, FirmwareError::FW_COUNT_ERROR
}
 
enum  fw_cmd : uint8_t {
  fw_cmd::GetMEMSTemp = 0x0A, fw_cmd::DebugFormat = 0x0B, fw_cmd::TimeStampEnable = 0x0C, fw_cmd::GetFWLastError = 0x0E,
  fw_cmd::HWReset = 0x28, fw_cmd::GVD = 0x3B, fw_cmd::GetCalibrationTable = 0x3D, fw_cmd::CheckI2cConnect = 0x4A,
  fw_cmd::CheckRGBConnect = 0x4B, fw_cmd::CheckDPTConnect = 0x4C, fw_cmd::GetIRTemp = 0x52, fw_cmd::GoToDFU = 0x80,
  fw_cmd::OnSuspendResume = 0x91, fw_cmd::GetWakeReason = 0x93, fw_cmd::GetWakeConfidence = 0x92, fw_cmd::SetAutoRange = 0xA6,
  fw_cmd::SetDefaultControls = 0xA6, fw_cmd::GetDefaultControls = 0xA7, fw_cmd::AutoRangeSetParamsforDebug = 0xb3, fw_cmd::UpdateCalib = 0xBC,
  fw_cmd::BIST = 0xFF, fw_cmd::GetPowerGearState = 0xFF
}
 
enum  Property {
  IVCAM_PROPERTY_COLOR_EXPOSURE = 1, IVCAM_PROPERTY_COLOR_BRIGHTNESS = 2, IVCAM_PROPERTY_COLOR_CONTRAST = 3, IVCAM_PROPERTY_COLOR_SATURATION = 4,
  IVCAM_PROPERTY_COLOR_HUE = 5, IVCAM_PROPERTY_COLOR_GAMMA = 6, IVCAM_PROPERTY_COLOR_WHITE_BALANCE = 7, IVCAM_PROPERTY_COLOR_SHARPNESS = 8,
  IVCAM_PROPERTY_COLOR_BACK_LIGHT_COMPENSATION = 9, IVCAM_PROPERTY_COLOR_GAIN = 10, IVCAM_PROPERTY_COLOR_POWER_LINE_FREQUENCY = 11, IVCAM_PROPERTY_AUDIO_MIX_LEVEL = 12,
  IVCAM_PROPERTY_APERTURE = 13, IVCAM_PROPERTY_DISTORTION_CORRECTION_I = 202, IVCAM_PROPERTY_DISTORTION_CORRECTION_DPTH = 203, IVCAM_PROPERTY_DEPTH_MIRROR = 204,
  IVCAM_PROPERTY_COLOR_MIRROR = 205, IVCAM_PROPERTY_COLOR_FIELD_OF_VIEW = 207, IVCAM_PROPERTY_COLOR_SENSOR_RANGE = 209, IVCAM_PROPERTY_COLOR_FOCAL_LENGTH = 211,
  IVCAM_PROPERTY_COLOR_PRINCIPAL_POINT = 213, IVCAM_PROPERTY_DEPTH_FIELD_OF_VIEW = 215, IVCAM_PROPERTY_DEPTH_UNDISTORTED_FIELD_OF_VIEW = 223, IVCAM_PROPERTY_DEPTH_SENSOR_RANGE = 217,
  IVCAM_PROPERTY_DEPTH_FOCAL_LENGTH = 219, IVCAM_PROPERTY_DEPTH_UNDISTORTED_FOCAL_LENGTH = 225, IVCAM_PROPERTY_DEPTH_PRINCIPAL_POINT = 221, IVCAM_PROPERTY_MF_DEPTH_LOW_CONFIDENCE_VALUE = 5000,
  IVCAM_PROPERTY_MF_DEPTH_UNIT = 5001, IVCAM_PROPERTY_MF_CALIBRATION_DATA = 5003, IVCAM_PROPERTY_MF_LASER_POWER = 5004, IVCAM_PROPERTY_MF_ACCURACY = 5005,
  IVCAM_PROPERTY_MF_INTENSITY_IMAGE_TYPE = 5006, IVCAM_PROPERTY_MF_MOTION_VS_RANGE_TRADE = 5007, IVCAM_PROPERTY_MF_POWER_GEAR = 5008, IVCAM_PROPERTY_MF_FILTER_OPTION = 5009,
  IVCAM_PROPERTY_MF_VERSION = 5010, IVCAM_PROPERTY_MF_DEPTH_CONFIDENCE_THRESHOLD = 5013, IVCAM_PROPERTY_ACCELEROMETER_READING = 3000, IVCAM_PROPERTY_PROJECTION_SERIALIZABLE = 3003,
  IVCAM_PROPERTY_CUSTOMIZED = 0x04000000
}
 

Functions

void claim_ivcam_interface (uvc::device &device)
 
void enable_timestamp (uvc::device &device, std::timed_mutex &mutex, bool colorEnable, bool depthEnable)
 
void force_hardware_reset (uvc::device &device, std::timed_mutex &mutex)
 
void get_accuracy (const uvc::device &device, uint8_t &accuracy)
 
void get_confidence_threshold (const uvc::device &device, uint8_t &conf_thresh)
 
void get_filter_option (const uvc::device &device, uint8_t &filter_option)
 
void get_firmware_version_string (uvc::device &device, std::timed_mutex &mutex, std::string &version, int gvd_cmd, int offset)
 
FirmwareError get_fw_last_error (uvc::device &device, std::timed_mutex &mutex)
 
void get_gvd (uvc::device &device, std::timed_mutex &mutex, size_t sz, char *gvd, int gvd_cmd)
 
void get_laser_power (const uvc::device &device, uint8_t &laser_power)
 
void get_module_serial_string (uvc::device &device, std::timed_mutex &mutex, std::string &serial, int offset)
 
void get_motion_range (const uvc::device &device, uint8_t &motion_range)
 
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_accuracy (uvc::device &device, uint8_t accuracy)
 
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 set_confidence_threshold (uvc::device &device, uint8_t conf_thresh)
 
void set_filter_option (uvc::device &device, uint8_t filter_option)
 
void set_laser_power (uvc::device &device, uint8_t laser_power)
 
void set_motion_range (uvc::device &device, uint8_t motion_range)
 
void xu_read (const uvc::device &device, uint8_t xu_ctrl, void *buffer, uint32_t length)
 
void xu_write (uvc::device &device, uint8_t xu_ctrl, void *buffer, uint32_t length)
 

Variables

const uvc::extension_unit depth_xu { 1, 6, 1, { 0xA55751A1, 0xF3C5, 0x4A5E, { 0x8D, 0x5A, 0x68, 0x54, 0xB8, 0xFA, 0x27, 0x16 } } }
 

Enumeration Type Documentation

enum rsimpl::ivcam::FirmwareError : int32_t
strong
Enumerator
FW_ACTIVE 
FW_MSAFE_S1_ERR 
FW_I2C_SAFE_ERR 
FW_FLASH_SAFE_ERR 
FW_I2C_CFG_ERR 
FW_I2C_EV_ERR 
FW_HUMIDITY_ERR 
FW_MSAFE_S0_ERR 
FW_LD_ERR 
FW_PI_ERR 
FW_PJCLK_ERR 
FW_OAC_ERR 
FW_LIGURIA_TEMPERATURE_ERR 
FW_CONTINUE_SAFE_ERROR 
FW_FORZA_HUNG 
FW_FORZA_CONTINUES_HUNG 
FW_PJ_EYESAFETY_CHKRHARD 
FW_MIPI_PCAM_ERR 
FW_MIPI_TCAM_ERR 
FW_SYNC_DISABLED 
FW_MIPI_PCAM_SVR_ERR 
FW_MIPI_TCAM_SVR_ERR 
FW_MIPI_PCAM_FRAME_SIZE_ERR 
FW_MIPI_TCAM_FRAME_SIZE_ERR 
FW_MIPI_PCAM_FRAME_RESPONSE_ERR 
FW_MIPI_TCAM_FRAME_RESPONSE_ERR 
FW_USB_PCAM_THROTTLED_ERR 
FW_USB_TCAM_THROTTLED_ERR 
FW_USB_PCAM_QOS_WAR 
FW_USB_TCAM_QOS_WAR 
FW_USB_PCAM_OVERFLOW 
FW_USB_TCAM_OVERFLOW 
FW_Flash_OEM_SECTOR 
FW_Flash_CALIBRATION_RW 
FW_Flash_IR_CALIBRATION 
FW_Flash_RGB_CALIBRATION 
FW_Flash_THERMAL_LOOP_CONFIGURATION 
FW_Flash_REALTEK 
FW_RGB_ISP_BOOT_FAILED 
FW_PRIVACY_RGB_OFF 
FW_PRIVACY_DEPTH_OFF 
FW_COUNT_ERROR 

Definition at line 85 of file ivcam-private.h.

enum rsimpl::ivcam::fw_cmd : uint8_t
strong
Enumerator
GetMEMSTemp 
DebugFormat 
TimeStampEnable 
GetFWLastError 
HWReset 
GVD 
GetCalibrationTable 
CheckI2cConnect 
CheckRGBConnect 
CheckDPTConnect 
GetIRTemp 
GoToDFU 
OnSuspendResume 
GetWakeReason 
GetWakeConfidence 
SetAutoRange 
SetDefaultControls 
GetDefaultControls 
AutoRangeSetParamsforDebug 
UpdateCalib 
BIST 
GetPowerGearState 

Definition at line 59 of file ivcam-private.h.

Enumerator
IVCAM_PROPERTY_COLOR_EXPOSURE 
IVCAM_PROPERTY_COLOR_BRIGHTNESS 
IVCAM_PROPERTY_COLOR_CONTRAST 
IVCAM_PROPERTY_COLOR_SATURATION 
IVCAM_PROPERTY_COLOR_HUE 
IVCAM_PROPERTY_COLOR_GAMMA 
IVCAM_PROPERTY_COLOR_WHITE_BALANCE 
IVCAM_PROPERTY_COLOR_SHARPNESS 
IVCAM_PROPERTY_COLOR_BACK_LIGHT_COMPENSATION 
IVCAM_PROPERTY_COLOR_GAIN 
IVCAM_PROPERTY_COLOR_POWER_LINE_FREQUENCY 
IVCAM_PROPERTY_AUDIO_MIX_LEVEL 
IVCAM_PROPERTY_APERTURE 
IVCAM_PROPERTY_DISTORTION_CORRECTION_I 
IVCAM_PROPERTY_DISTORTION_CORRECTION_DPTH 
IVCAM_PROPERTY_DEPTH_MIRROR 
IVCAM_PROPERTY_COLOR_MIRROR 
IVCAM_PROPERTY_COLOR_FIELD_OF_VIEW 
IVCAM_PROPERTY_COLOR_SENSOR_RANGE 
IVCAM_PROPERTY_COLOR_FOCAL_LENGTH 
IVCAM_PROPERTY_COLOR_PRINCIPAL_POINT 
IVCAM_PROPERTY_DEPTH_FIELD_OF_VIEW 
IVCAM_PROPERTY_DEPTH_UNDISTORTED_FIELD_OF_VIEW 
IVCAM_PROPERTY_DEPTH_SENSOR_RANGE 
IVCAM_PROPERTY_DEPTH_FOCAL_LENGTH 
IVCAM_PROPERTY_DEPTH_UNDISTORTED_FOCAL_LENGTH 
IVCAM_PROPERTY_DEPTH_PRINCIPAL_POINT 
IVCAM_PROPERTY_MF_DEPTH_LOW_CONFIDENCE_VALUE 
IVCAM_PROPERTY_MF_DEPTH_UNIT 
IVCAM_PROPERTY_MF_CALIBRATION_DATA 
IVCAM_PROPERTY_MF_LASER_POWER 
IVCAM_PROPERTY_MF_ACCURACY 
IVCAM_PROPERTY_MF_INTENSITY_IMAGE_TYPE 
IVCAM_PROPERTY_MF_MOTION_VS_RANGE_TRADE 
IVCAM_PROPERTY_MF_POWER_GEAR 
IVCAM_PROPERTY_MF_FILTER_OPTION 
IVCAM_PROPERTY_MF_VERSION 
IVCAM_PROPERTY_MF_DEPTH_CONFIDENCE_THRESHOLD 
IVCAM_PROPERTY_ACCELEROMETER_READING 
IVCAM_PROPERTY_PROJECTION_SERIALIZABLE 
IVCAM_PROPERTY_CUSTOMIZED 

Definition at line 18 of file ivcam-private.cpp.

Function Documentation

void rsimpl::ivcam::claim_ivcam_interface ( uvc::device &  device)

Definition at line 133 of file ivcam-private.cpp.

void rsimpl::ivcam::enable_timestamp ( uvc::device &  device,
std::timed_mutex &  mutex,
bool  colorEnable,
bool  depthEnable 
)

Definition at line 216 of file ivcam-private.cpp.

void rsimpl::ivcam::force_hardware_reset ( uvc::device &  device,
std::timed_mutex &  mutex 
)

Definition at line 209 of file ivcam-private.cpp.

void rsimpl::ivcam::get_accuracy ( const uvc::device &  device,
uint8_t &  accuracy 
)

Definition at line 89 of file ivcam-private.cpp.

void rsimpl::ivcam::get_confidence_threshold ( const uvc::device &  device,
uint8_t &  conf_thresh 
)

Definition at line 119 of file ivcam-private.cpp.

void rsimpl::ivcam::get_filter_option ( const uvc::device &  device,
uint8_t &  filter_option 
)

Definition at line 109 of file ivcam-private.cpp.

void rsimpl::ivcam::get_firmware_version_string ( uvc::device &  device,
std::timed_mutex &  mutex,
std::string version,
int  gvd_cmd,
int  offset 
)

Definition at line 181 of file ivcam-private.cpp.

FirmwareError rsimpl::ivcam::get_fw_last_error ( uvc::device &  device,
std::timed_mutex &  mutex 
)

Definition at line 255 of file ivcam-private.cpp.

void rsimpl::ivcam::get_gvd ( uvc::device &  device,
std::timed_mutex &  mutex,
size_t  sz,
char *  gvd,
int  gvd_cmd 
)

Definition at line 173 of file ivcam-private.cpp.

void rsimpl::ivcam::get_laser_power ( const uvc::device &  device,
uint8_t &  laser_power 
)

Definition at line 79 of file ivcam-private.cpp.

void rsimpl::ivcam::get_module_serial_string ( uvc::device &  device,
std::timed_mutex &  mutex,
std::string serial,
int  offset 
)

Definition at line 190 of file ivcam-private.cpp.

void rsimpl::ivcam::get_motion_range ( const uvc::device &  device,
uint8_t &  motion_range 
)

Definition at line 99 of file ivcam-private.cpp.

size_t rsimpl::ivcam::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 
)

Definition at line 139 of file ivcam-private.cpp.

void rsimpl::ivcam::set_accuracy ( uvc::device &  device,
uint8_t  accuracy 
)

Definition at line 94 of file ivcam-private.cpp.

void rsimpl::ivcam::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 
)

Definition at line 224 of file ivcam-private.cpp.

void rsimpl::ivcam::set_confidence_threshold ( uvc::device &  device,
uint8_t  conf_thresh 
)

Definition at line 124 of file ivcam-private.cpp.

void rsimpl::ivcam::set_filter_option ( uvc::device &  device,
uint8_t  filter_option 
)

Definition at line 114 of file ivcam-private.cpp.

void rsimpl::ivcam::set_laser_power ( uvc::device &  device,
uint8_t  laser_power 
)

Definition at line 84 of file ivcam-private.cpp.

void rsimpl::ivcam::set_motion_range ( uvc::device &  device,
uint8_t  motion_range 
)

Definition at line 104 of file ivcam-private.cpp.

void rsimpl::ivcam::xu_read ( const uvc::device &  device,
uint8_t  xu_ctrl,
void buffer,
uint32_t  length 
)

Definition at line 69 of file ivcam-private.cpp.

void rsimpl::ivcam::xu_write ( uvc::device &  device,
uint8_t  xu_ctrl,
void buffer,
uint32_t  length 
)

Definition at line 74 of file ivcam-private.cpp.

Variable Documentation

const uvc::extension_unit rsimpl::ivcam::depth_xu { 1, 6, 1, { 0xA55751A1, 0xF3C5, 0x4A5E, { 0x8D, 0x5A, 0x68, 0x54, 0xB8, 0xFA, 0x27, 0x16 } } }

Definition at line 14 of file ivcam-private.h.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19