Classes | Enumerations | Functions
rsimpl::ivcam Namespace Reference

Classes

struct  cam_auto_range_request
struct  cam_calibration
struct  camera_calib_params

Enumerations

enum  FirmwareError {
  FW_ACTIVE = 0, 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
}
enum  fw_cmd {
  GetMEMSTemp = 0x0A, DebugFormat = 0x0B, TimeStampEnable = 0x0C, GetFWLastError = 0x0E,
  HWReset = 0x28, GVD = 0x3B, GetCalibrationTable = 0x3D, CheckI2cConnect = 0x4A,
  CheckRGBConnect = 0x4B, CheckDPTConnect = 0x4C, GetIRTemp = 0x52, GoToDFU = 0x80,
  OnSuspendResume = 0x91, GetWakeReason = 0x93, GetWakeConfidence = 0x92, SetAutoRange = 0xA6,
  SetDefaultControls = 0xA6, GetDefaultControls = 0xA7, AutoRangeSetParamsforDebug = 0xb3, UpdateCalib = 0xBC,
  BIST = 0xFF, 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)

Enumeration Type Documentation

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.

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.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:41