Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
librealsense Namespace Reference

Namespaces

 algo
 
 device_serializer
 
 ds
 
 fw_logs
 
 gl
 
 ivcam
 
 ivcam2
 
 legacy_file_format
 
 pipeline
 
 platform
 
 util
 

Classes

class  acceleration_transform
 
class  action_delayer
 
class  actual_fps_calculator
 
class  advanced_mode_preset_option
 
struct  advanced_mode_traits
 
class  align
 
class  alternating_emitter_option
 
class  archive_interface
 
struct  arg_streamer
 
struct  arg_streamer< T *, false >
 
struct  arg_streamer< T *, true >
 
class  arithmetic_wraparound
 
class  asic_and_projector_temperature_options
 
class  asic_temperature_option
 
class  auto_calibrated
 
class  auto_calibrated_interface
 
class  auto_disabling_control
 auto_disabling_control class provided a control that disable auto-control when changing the auto disabling control value More...
 
class  auto_exposure_algorithm
 
class  auto_exposure_antiflicker_rate_option
 
struct  auto_exposure_control
 
class  auto_exposure_limit_option
 
class  auto_exposure_mechanism
 
class  auto_exposure_mode_option
 
class  auto_exposure_processor
 
class  auto_exposure_state
 
class  auto_exposure_step_option
 
class  auto_gain_limit_option
 
struct  auto_white_balance_control
 
class  backend_exception
 
class  backend_stream_profile
 
struct  backlight_compensation_control
 
class  bgr_to_rgb
 
class  big_endian
 
class  bool_option
 
struct  brightness_control
 
struct  bytes
 
class  calibrated_sensor
 
class  calibration_change_device
 
class  calibration_validator
 
struct  callback_invocation
 
struct  callback_invocation_holder
 
class  camera_disconnected_exception
 
class  cascade_option
 
class  CLinearCoefficients
 
class  color_converter
 
class  color_map
 
class  color_sensor
 
class  color_sensor_snapshot
 
class  colorizer
 
struct  command
 
class  command_transfer_over_xu
 
class  composite_frame
 
class  composite_identity_matcher
 
class  composite_matcher
 
class  composite_processing_block
 
class  confidence_rotation_transform
 
class  const_value_option
 
class  context
 
struct  contrast_control
 
class  CSample
 
class  debug_interface
 
class  debug_snapshot
 
class  debug_stream_sensor
 
class  decimation_filter
 
class  depth_decompression_huffman
 
class  depth_frame
 
class  depth_processing_block
 
class  depth_scale_option
 
class  depth_sensor
 
class  depth_sensor_snapshot
 
class  depth_stereo_sensor
 
class  depth_stereo_sensor_snapshot
 
class  depth_to_rgb_calibration
 
class  device
 
class  device_calibration
 
class  device_hub
 
class  device_info
 
class  device_interface
 
class  devices_changed_callback
 
class  devices_changed_callback_internal
 
struct  devices_data
 
struct  dfu_fw_status_payload
 
struct  dfu_status_payload
 
class  digital_gain_option
 
struct  DirectSearchCalibrationResult
 
class  disparity_frame
 
struct  disparity_info
 
class  disparity_transform
 
class  dm_v2_imu_calib_parser
 
class  ds5_active
 
class  ds5_advanced_mode_base
 
class  ds5_advanced_mode_interface
 
class  ds5_auto_exposure_roi_method
 
class  ds5_color
 
class  ds5_color_sensor
 
class  ds5_custom_hid_timestamp_reader
 
class  ds5_depth_sensor
 
class  ds5_device
 
class  ds5_fisheye_sensor
 
class  ds5_hid_sensor
 
class  ds5_info
 
class  ds5_md_attribute_actual_fps
 
class  ds5_motion
 
class  ds5_nonmonochrome
 
class  ds5_notification_decoder
 
class  ds5_thermal_monitor
 
class  ds5_thermal_tracking
 
class  ds5_timestamp_reader
 
class  ds5_timestamp_reader_from_metadata
 
class  ds5u_depth_sensor
 
class  ds5u_device
 
class  ds_update_device
 
struct  DscPyRxFLCalibrationTableResult
 
struct  DscResultBuffer
 
struct  DscResultParams
 
class  emitter_always_on_option
 
class  emitter_on_and_off_option
 
class  emitter_option
 
class  enable_auto_exposure_option
 
class  enable_motion_correction
 
class  enum_option
 
class  environment
 
struct  exposure_control
 
class  exposure_mode_option
 
class  exposure_option
 
class  extendable_interface
 
class  extension_snapshot
 
struct  ExtensionToType
 
class  external_sync_mode
 
class  extrinsics_graph
 
class  ExtrinsicsQuery
 
class  FalseQuery
 
class  filtering_processing_block
 
class  firmware_logger_device
 
class  firmware_logger_extensions
 
class  firmware_version
 
class  fisheye_auto_exposure_roi_method
 
class  fisheye_sensor
 
class  fisheye_sensor_snapshot
 
struct  flash_info
 
struct  flash_info_header
 
struct  flash_payload
 
struct  flash_payload_header
 
struct  flash_section
 
struct  flash_structure
 
struct  flash_table
 
struct  flash_table_header
 
struct  float2
 
struct  float3
 
struct  float3x3
 
struct  float4
 
class  float_option
 
class  float_option_with_description
 
struct  FocalLengthCalibrationResult
 
class  frame
 
struct  frame_additional_data
 
class  frame_archive
 
class  frame_callback
 
class  frame_continuation
 
class  frame_filter
 
struct  frame_holder
 
class  frame_holder_callback
 
class  frame_interface
 
class  frame_number_composite_matcher
 
class  frame_queue_size
 
class  frame_source
 
struct  frame_timestamp_reader
 
class  FrameQuery
 
class  functional_processing_block
 
class  fw_update_info
 
struct  gain_control
 
class  gain_option
 
struct  gamma_control
 
class  gated_option
 gated_option class will permit the user to perform only read (query) of the read_only option when its affecting_option is set More...
 
class  generic_processing_block
 
class  global_time_interface
 
class  global_time_option
 
class  global_timestamp_reader
 
class  gyroscope_transform
 
class  hdr_conditional_option
 
class  hdr_config
 
class  hdr_merge
 
class  hdr_option
 
struct  hdr_params
 
struct  hid_data
 
struct  hid_device_info
 
class  hid_sensor
 
class  hole_filling_filter
 
struct  hue_control
 
class  hw_monitor
 
class  identity_matcher
 
class  identity_processing_block
 
class  iio_hid_timestamp_reader
 
class  info_container
 
class  info_interface
 
struct  int2
 
class  interleaved_functional_processing_block
 
class  internal_frame_callback
 
class  internal_frame_processor_callback
 
class  internal_frame_processor_fptr_callback
 
class  invalid_value_exception
 
class  invi_converter
 
class  inzi_converter
 
class  io_exception
 
class  ir_reflectivity_option
 
class  is_streamable
 
struct  isNarrowing
 
struct  json_field
 
struct  json_ignored_field
 
struct  json_invert_struct_field
 
struct  json_string_struct_field
 
struct  json_struct_field
 
class  l500_color
 
class  l500_color_sensor
 
class  l500_depth
 
class  l500_depth_sensor
 
class  l500_depth_sensor_interface
 
class  l500_depth_sensor_snapshot
 
class  l500_device
 
class  l500_hid_sensor
 
class  l500_hw_options
 
class  l500_imu_calib_parser
 
class  l500_info
 
struct  l500_md_capture_timing
 
class  l500_motion
 
class  l500_notification_decoder
 
class  l500_options
 
class  l500_preset_option
 
class  l500_serializable
 
class  l500_update_device
 
class  l515_device
 
class  l535_device
 
struct  laser_power_control
 
struct  laser_state_control
 
class  lazy
 
class  librealsense_exception
 
class  linux_backend_exception
 
class  locked_transfer
 
struct  log_message
 
class  matcher
 
class  matcher_factory
 
class  matcher_interface
 
class  max_distance_option
 class provided a control that changes min distance value when changing max distance value More...
 
class  max_usable_range_option
 
class  max_usable_range_sensor
 
class  md_additional_parser
 provide attributes generated and stored internally by the library More...
 
class  md_attribute_parser
 The metadata parser class directly access the metadata attribute in the blob received from HW. Given the metadata-nested construct, and the c++ lack of pointers to the inner struct, we pre-calculate and store the attribute offset internally http://stackoverflow.com/questions/1929887/is-pointer-to-inner-struct-member-forbidden. More...
 
class  md_attribute_parser_base
 Base class that establishes the interface for retrieving metadata attributes. More...
 
struct  md_calibration_mode
 
struct  md_camera_extrinsic
 
struct  md_camera_intrinsic
 
struct  md_capture_stats
 md_capture_stats - properties associated with optical sensor during video streaming. Corresponds to FW STMetaDataCaptureStats object More...
 
struct  md_capture_timing
 md_capture_timing - properties associated with sensor configuration during video streaming. Corresponds to FW STMetaDataIntelCaptureTiming object More...
 
struct  md_configuration
 md_configuration - device/stream configuration. Corresponds to FW's STMetaDataIntelConfiguration object More...
 
class  md_constant_parser
 metadata parser class - support metadata in format: rs2_frame_metadata_value, rs2_metadata_type More...
 
struct  md_custom_tmp_report
 
struct  md_depth_control
 md_depth_control - depth data-related parameters. Corresponds to FW's STMetaDataIntelDepthControl object More...
 
union  md_depth_mode
 
struct  md_depth_y_normal_mode
 
struct  md_extrinsic_calibrated_transform
 
struct  md_fisheye_control
 md_fisheye_control - fisheye-related parameters. Corresponds to FW's STMetaDataIntelFishEyeControl object More...
 
union  md_fisheye_mode
 
struct  md_fisheye_normal_mode
 
struct  md_header
 md_header - metadata header is a integral part of all rs4XX metadata objects More...
 
class  md_hid_header_parser
 A HID-Header metadata parser class. More...
 
union  md_hid_report
 md_hid_types - aggrevative structure that represents the supported HID metadata struct types to be handled More...
 
struct  md_imu_report
 
struct  md_intel_stat
 md_intel_stat Corresponds to FW's STMetaDataIntelStat object More...
 
struct  md_intrinsic_distortion_model
 md_intrinsic_distortion_model - Distortion coefficients of sensor instrinsic More...
 
struct  md_intrinsic_pinhole_cam_model
 
struct  md_l500_depth
 
struct  md_l500_depth_control
 md_depth_control - depth data-related parameters. Corresponds to FW's STMetaDataIntelDepthControl object More...
 
union  md_modes
 metadata_raw - aggrevative structure that represents all the possible metadata struct types to be handled More...
 
struct  md_pinhole_cam_intrinsic_model
 md_pinhole_cam_intrinsic_model - Pinhole sensor's characteristics More...
 
struct  md_pinhole_camera_intrinsics
 
struct  md_rgb_control
 md_rgb_control - Realtec RGB sensor attributes. More...
 
union  md_rgb_mode
 
struct  md_rgb_normal_mode
 
class  md_rs400_sensor_timestamp
 Optical timestamp for RS4xx devices is calculated internally. More...
 
class  md_sr300_attribute_parser
 The SR300 metadata parser class. More...
 
struct  md_sr300_depth
 
struct  md_sr300_rgb
 
struct  md_stat_mode
 
class  md_time_of_arrival_parser
 
class  md_tm2_parser
 
struct  md_type_trait
 
class  md_uvc_header_parser
 A UVC-Header parser class. More...
 
struct  metadata_hid_raw
 metadata_hid_raw - HID metadata structure layout populated by backend More...
 
struct  metadata_intel_basic
 metadata_intel_basic - a subset of the full metadata required to provide the essential sensor attributes only More...
 
struct  metadata_raw
 metadata_raw - metadata structure layout as transmitted and received by backend More...
 
struct  mf_camera_extrinsic
 
class  min_distance_option
 class provided a control that changes max distance value when changing min distance value More...
 
class  mjpeg_converter
 
class  mm_calib_handler
 
class  mm_calib_parser
 
class  motion_frame
 
struct  motion_frame_metadata
 
class  motion_module_temperature_option
 
class  motion_sensor
 
class  motion_sensor_snapshot
 
class  motion_stream_profile
 
class  motion_stream_profile_interface
 
class  motion_temperature_option
 
class  motion_transform
 
class  MultipleRegexTopicQuery
 
class  not_implemented_exception
 
struct  notification
 
class  notification_callback
 
class  notification_decoder
 
class  notifications_callback
 
class  notifications_processor
 
class  NotificationsQuery
 
class  observable_option
 
class  occlusion_filter
 
class  option
 
class  option_base
 
class  option_description
 
struct  option_range
 
class  optional_value
 
class  options_container
 
class  options_interface
 
class  OptionsQuery
 
union  param4
 
struct  param_group
 
struct  params4
 
struct  pixel_format_unpacker
 
class  platform_camera
 
class  platform_camera_info
 
class  platform_camera_sensor
 
class  playback_device
 
class  playback_device_info
 
class  playback_sensor
 
class  pointcloud
 
class  pointcloud_cuda
 
class  pointcloud_sse
 
class  points
 
class  polling_device_watcher
 
class  polling_error_handler
 
class  polling_errors_disable
 
struct  pose
 
class  pose_frame
 
struct  pose_frame_metadata
 
class  pose_sensor_interface
 
class  pose_stream_profile
 
class  pose_stream_profile_interface
 
struct  power_line_frequency_control
 
struct  preset
 
struct  preset_param_group
 
class  processing_block
 
class  processing_block_factory
 
class  processing_block_interface
 
class  protected_xu_option
 
class  proxy_option
 
class  ptr_option
 
class  rates_printer
 
class  readonly_device_info
 
class  readonly_float_option
 
class  readonly_option
 
class  recommended_proccesing_blocks_base
 
class  recommended_proccesing_blocks_interface
 
class  recommended_proccesing_blocks_snapshot
 
class  record_device
 
class  record_sensor
 
class  recordable
 
class  recoverable_exception
 
class  recovery_info
 
class  rect_gaussian_dots_target_calculator
 
class  RegexTopicQuery
 
struct  region_of_interest
 
class  region_of_interest_method
 
struct  resolution
 
class  roi_sensor_base
 
class  roi_sensor_interface
 
class  ros_reader
 
class  ros_topic
 
class  ros_writer
 
class  rotation_transform
 
class  rs400_device
 
class  rs400_imu_device
 
class  rs405_device
 
class  rs405u_device
 
class  rs410_device
 
class  rs415_device
 
class  rs416_device
 
class  rs416_rgb_device
 
class  rs420_device
 
class  rs420_mm_device
 
class  rs430_device
 
class  rs430_mm_device
 
class  rs430_rgb_mm_device
 
class  rs430i_device
 
class  rs435_device
 
class  rs435i_device
 
class  rs455_device
 
class  rs465_device
 
class  rs500_device
 
struct  saturation_control
 
class  sensor_base
 
class  sensor_interface
 
class  sensor_mode_option
 
class  sensor_part
 
class  SensorInfoQuery
 
class  sequence_id_filter
 
struct  serial_number_data
 
class  serializable_interface
 
struct  sharpness_control
 
class  signal
 
class  small_heap
 
class  software_device
 
class  software_device_destruction_callback
 
class  software_device_info
 
class  software_recommended_proccesing_blocks
 
class  software_sensor
 
class  spatial_filter
 
class  sr300_camera
 
class  sr300_info
 
struct  sr300_raw_calibration
 
class  sr300_timestamp_reader
 
class  sr300_timestamp_reader_from_metadata
 
class  sr300_update_device
 
class  sr305_camera
 
class  sr306_camera
 
class  sr3xx_camera
 
class  stream
 
struct  stream_descriptor
 
struct  stream_filter
 
class  stream_filter_processing_block
 
class  stream_interface
 
struct  stream_output
 
struct  stream_profile
 
class  stream_profile_base
 
class  stream_profile_interface
 
class  StreamQuery
 
class  struct_field_option
 
struct  struct_interface
 
class  sync_lock
 
class  syncer_process_unit
 
struct  syncronization_environment
 
class  synthetic_sensor
 
class  synthetic_source
 
class  synthetic_source_interface
 
struct  tagged_profile
 
union  tare_calibration_params
 
struct  tare_params3
 
class  target_calculator_interface
 
class  temperature_option
 
class  temporal_filter
 
class  terminal_parser
 
class  thermal_compensation
 
class  thermal_compensation_guard
 
class  threshold
 
class  time_diff_keeper
 
class  timestamp_composite_matcher
 
class  tm1_imu_calib_parser
 
class  tm2_device
 
class  tm2_extensions
 
class  tm2_info
 
class  tm2_sensor
 
class  tm2_sensor_interface
 
struct  to_string
 
class  tracking_mode_option
 
struct  TypeToExtension
 
class  unique_id
 
class  units_transform
 
class  unrecoverable_exception
 
class  updatable
 
class  update_device
 
class  update_device_interface
 
class  update_progress_callback
 
struct  usb_device_info
 
struct  uvc_device_info
 
class  uvc_pu_option
 
class  uvc_sensor
 
class  uvc_xu_option
 
class  uyvy_converter
 
class  video_frame
 
struct  video_frame_metadata
 
class  video_sensor_interface
 
class  video_stream_profile
 
class  video_stream_profile_interface
 
class  w10_converter
 
class  wheel_odometry_interface
 
struct  white_balance_control
 
class  windows_backend_exception
 
class  wrong_api_call_sequence_exception
 
struct  y12i_pixel
 
class  y12i_to_y16y16
 
struct  y8i_pixel
 
class  y8i_to_y8y8
 
class  yuy2_converter
 
class  zero_order
 
struct  zero_order_options
 

Typedefs

typedef std::function< rs2_metadata_type(const rs2_metadata_type &param)> attrib_modifyer
 Post-processing adjustment of the metadata attribute e.g change auto_exposure enum to boolean, change units from nano->ms,etc'. More...
 
typedef struct librealsense::auto_exposure_control auto_exposure_control
 
typedef struct librealsense::auto_white_balance_control auto_white_balance_control
 
typedef struct librealsense::backlight_compensation_control backlight_compensation_control
 
typedef struct librealsense::brightness_control brightness_control
 
typedef std::shared_ptr< rs2_calibration_change_callbackcalibration_change_callback_ptr
 
typedef librealsense::small_heap< callback_invocation, 1 > callbacks_heap
 
typedef struct librealsense::contrast_control contrast_control
 
typedef std::function< void(devices_data old, devices_data curr)> device_changed_callback
 
typedef std::shared_ptr< rs2_devices_changed_callbackdevices_changed_callback_ptr
 
typedef void(* devices_changed_function_ptr) (rs2_device_list *removed, rs2_device_list *added, void *user)
 
typedef std::vector< std::shared_ptr< device_info > > devices_info
 
typedef struct librealsense::exposure_control exposure_control
 
typedef float float_4[4]
 
typedef void(* frame_callback_function_ptr) (rs2_frame *frame, void *user)
 
typedef std::shared_ptr< rs2_frame_callbackframe_callback_ptr
 
typedef std::shared_ptr< rs2_frame_processor_callbackframe_processor_callback_ptr
 
typedef struct librealsense::gain_control gain_control
 
typedef struct librealsense::gamma_control gamma_control
 
typedef rs2::devices_changed_callback< std::function< void(rs2::event_information &info)> > hub_devices_changed_callback
 
typedef struct librealsense::hue_control hue_control
 
using internal_callback = std::function< void(rs2_device_list *removed, rs2_device_list *added)>
 
using json = nlohmann::json
 
typedef struct librealsense::laser_power_control laser_power_control
 
typedef struct librealsense::laser_state_control laser_state_control
 
typedef std::shared_ptr< rs2_log_callbacklog_callback_ptr
 
typedef std::multimap< rs2_frame_metadata_value, std::shared_ptr< md_attribute_parser_base > > metadata_parser_map
 
typedef std::tuple< uint32_t, int, size_tnative_pixel_format_tuple
 
typedef void(* notifications_callback_function_ptr) (rs2_notification *notification, void *user)
 
typedef std::shared_ptr< rs2_notifications_callbacknotifications_callback_ptr
 
using odr = IMU_OUTPUT_DATA_RATES
 
using on_frame = std::function< void(frame_interface *)>
 
typedef std::function< void(std::vector< platform::stream_profile >)> on_open
 
typedef std::tuple< rs2_stream, int, rs2_formatoutput_tuple
 
typedef std::map< std::string, std::shared_ptr< json_field > > parsers_map
 
typedef struct librealsense::power_line_frequency_control power_line_frequency_control
 
using processing_blocks = std::vector< std::shared_ptr< processing_block_interface >>
 
typedef enum librealsense::profile_tag profile_tag
 
typedef std::tuple< platform::stream_profile_tuple, native_pixel_format_tuple, std::vector< output_tuple > > request_mapping_tuple
 
using resolution_func = std::function< resolution(resolution res)>
 
typedef enum librealsense::rs2_dfu_command rs2_dfu_command
 
typedef enum librealsense::rs2_dfu_state rs2_dfu_state
 
typedef enum librealsense::rs2_dfu_status rs2_dfu_status
 
typedef struct librealsense::saturation_control saturation_control
 
typedef struct librealsense::sharpness_control sharpness_control
 
typedef void(* software_device_destruction_callback_function_ptr) (void *user)
 
typedef std::shared_ptr< rs2_software_device_destruction_callbacksoftware_device_destruction_callback_ptr
 
typedef int stream_id
 
using stream_profiles = std::vector< std::shared_ptr< stream_profile_interface >>
 
typedef uvc_xu_option< int > super
 
typedef std::function< void(frame_holder, const syncronization_environment &)> sync_callback
 
typedef std::shared_ptr< rs2_update_progress_callbackupdate_progress_callback_ptr
 
typedef struct librealsense::white_balance_control white_balance_control
 

Enumerations

enum  auto_calib_speed {
  speed_very_fast = 0, speed_fast = 1, speed_medium = 2, speed_slow = 3,
  speed_white_wall = 4
}
 
enum  auto_calib_sub_cmd : uint8_t {
  py_rx_calib_begin = 0x08, py_rx_calib_check_status = 0x03, tare_calib_begin = 0x0b, tare_calib_check_status = 0x0c,
  get_calibration_result = 0x0d, focal_length_calib_begin = 0x11, get_focal_legth_calib_result = 0x12, py_rx_plus_fl_calib_begin = 0x13,
  get_py_rx_plus_fl_calib_result = 0x14, set_coefficients = 0x19
}
 
enum  auto_exposure_modes { auto_exposure_modes::static_auto_exposure = 0, auto_exposure_modes::auto_exposure_anti_flicker, auto_exposure_modes::auto_exposure_hybrid }
 
enum  backend_type { backend_type::standard, backend_type::record, backend_type::playback }
 
enum  cam_data_source : uint32_t { cam_data_source::TakeFromRO = 0, cam_data_source::TakeFromRW = 1, cam_data_source::TakeFromRAM = 2 }
 
enum  data_sampling { polling = 0, interrupt = 1 }
 
enum  frame_metadata_internal {
  RS2_FRAME_METADATA_HW_TYPE = RS2_FRAME_METADATA_COUNT +1, RS2_FRAME_METADATA_SKU_ID, RS2_FRAME_METADATA_FORMAT, RS2_FRAME_METADATA_WIDTH,
  RS2_FRAME_METADATA_HEIGHT, RS2_FRAME_METADATA_COUNT
}
 Metadata fields that are utilized internally by librealsense Provides extention to the r2_frame_metadata list of attributes. More...
 
enum  holes_filling_types : uint8_t { hf_fill_from_left, hf_farest_from_around, hf_nearest_from_around, hf_max_value }
 
enum  hwmon_response : int32_t {
  hwm_Success = 0, hwm_WrongCommand = -1, hwm_StartNGEndAddr = -2, hwm_AddressSpaceNotAligned = -3,
  hwm_AddressSpaceTooSmall = -4, hwm_ReadOnly = -5, hwm_WrongParameter = -6, hwm_HWNotReady = -7,
  hwm_I2CAccessFailed = -8, hwm_NoExpectedUserAction = -9, hwm_IntegrityError = -10, hwm_NullOrZeroSizeString = -11,
  hwm_GPIOPinNumberInvalid = -12, hwm_GPIOPinDirectionInvalid = -13, hwm_IllegalAddress = -14, hwm_IllegalSize = -15,
  hwm_ParamsTableNotValid = -16, hwm_ParamsTableIdNotValid = -17, hwm_ParamsTableWrongExistingSize = -18, hwm_WrongCRC = -19,
  hwm_NotAuthorisedFlashWrite = -20, hwm_NoDataToReturn = -21, hwm_SpiReadFailed = -22, hwm_SpiWriteFailed = -23,
  hwm_SpiEraseSectorFailed = -24, hwm_TableIsEmpty = -25, hwm_I2cSeqDelay = -26, hwm_CommandIsLocked = -27,
  hwm_CalibrationWrongTableId = -28, hwm_ValueOutOfRange = -29, hwm_InvalidDepthFormat = -30, hwm_DepthFlowError = -31,
  hwm_Timeout = -32, hwm_NotSafeCheckFailed = -33, hwm_FlashRegionIsLocked = -34, hwm_SummingEventTimeout = -35,
  hwm_SDSCorrupted = -36, hwm_SDSVerifyFailed = -37, hwm_IllegalHwState = -38, hwm_RealtekNotLoaded = -39,
  hwm_WakeUpDeviceNotSupported = -40, hwm_ResourceBusy = -41, hwm_MaxErrorValue = -42, hwm_PwmNotSupported = -43,
  hwm_PwmStereoModuleNotConnected = -44, hwm_UvcStreamInvalidStreamRequest = -45, hwm_UvcControlManualExposureInvalid = -46, hwm_UvcControlManualGainInvalid = -47,
  hwm_EyesafetyPayloadFailure = -48, hwm_ProjectorTestFailed = -49, hwm_ThreadModifyFailed = -50, hwm_HotLaserPwrReduce = -51,
  hwm_HotLaserDisable = -52, hwm_FlagBLaserDisable = -53, hwm_NoStateChange = -54, hwm_EEPROMIsLocked = -55,
  hwm_OEMIdWrong = -56, hwm_RealtekNotUpdated = -57, hwm_FunctionNotSupported = -58, hwm_IspNotImplemented = -59,
  hwm_IspNotSupported = -60, hwm_IspNotPermited = -61, hwm_IspNotExists = -62, hwm_IspFail = -63,
  hwm_Unknown = -64, hwm_LastError = hwm_Unknown - 1
}
 
enum  IMU_OUTPUT_DATA_RATES : uint16_t {
  IMU_OUTPUT_DATA_RATES::IMU_FPS_63 = 63, IMU_OUTPUT_DATA_RATES::IMU_FPS_100 = 100, IMU_OUTPUT_DATA_RATES::IMU_FPS_200 = 200, IMU_OUTPUT_DATA_RATES::IMU_FPS_250 = 250,
  IMU_OUTPUT_DATA_RATES::IMU_FPS_400 = 400
}
 
enum  l500_command {
  get_current = 0, get_min = 1, get_max = 2, get_step = 3,
  get_default = 4
}
 
enum  l500_control {
  confidence = 0, post_processing_sharpness = 1, pre_processing_sharpness = 2, noise_filtering = 3,
  apd = 4, laser_gain = 5, min_distance = 6, invalidation_bypass = 7,
  alternate_ir = 8
}
 
enum  md_capture_stat_attributes : uint32_t {
  md_capture_stat_attributes::exposure_time_attribute = (1u << 0), md_capture_stat_attributes::exposure_compensation_attribute = (1u << 1), md_capture_stat_attributes::iso_speed_attribute = (1u << 2), md_capture_stat_attributes::focus_state_attribute = (1u << 3),
  md_capture_stat_attributes::lens_posiiton_attribute = (1u << 4), md_capture_stat_attributes::white_balance_attribute = (1u << 5), md_capture_stat_attributes::flash_attribute = (1u << 6), md_capture_stat_attributes::flash_power_attribute = (1u << 7),
  md_capture_stat_attributes::zoom_factor_attribute = (1u << 8), md_capture_stat_attributes::scene_mode_attribute = (1u << 9), md_capture_stat_attributes::sensor_framerate_attribute = (1u << 10)
}
 md_capture_stat_attributes - bit mask to find enabled attributes in md_capture_stats More...
 
enum  md_capture_timing_attributes : uint32_t {
  md_capture_timing_attributes::frame_counter_attribute = (1u << 0), md_capture_timing_attributes::sensor_timestamp_attribute = (1u << 1), md_capture_timing_attributes::readout_time_attribute = (1u << 2), md_capture_timing_attributes::exposure_attribute = (1u << 3),
  md_capture_timing_attributes::frame_interval_attribute = (1u << 4), md_capture_timing_attributes::pipe_latency_attribute = (1u << 5)
}
 md_capture_timing_attributes - enumerate the bit offset to check a specific attribute of md_capture_timing struct for validity. The enumeration includes up to 32 attributes, according to the size of flags parameter in all the defined structs More...
 
enum  md_configuration_attributes : uint32_t {
  md_configuration_attributes::hw_type_attribute = (1u << 0), md_configuration_attributes::sku_id_attribute = (1u << 1), md_configuration_attributes::cookie_attribute = (1u << 2), md_configuration_attributes::format_attribute = (1u << 3),
  md_configuration_attributes::width_attribute = (1u << 4), md_configuration_attributes::height_attribute = (1u << 5), md_configuration_attributes::fps_attribute = (1u << 6), md_configuration_attributes::trigger_attribute = (1u << 7),
  md_configuration_attributes::calibration_count_attribute = (1u << 8), md_configuration_attributes::gpio_input_data_attribute = (1u << 9), md_configuration_attributes::sub_preset_info_attribute = (1u << 10)
}
 md_configuration_attributes - bit mask to find active attributes, md_configuration struct More...
 
enum  md_depth_control_attributes : uint32_t {
  md_depth_control_attributes::gain_attribute = (1u << 0), md_depth_control_attributes::exposure_attribute = (1u << 1), md_depth_control_attributes::laser_pwr_attribute = (1u << 2), md_depth_control_attributes::ae_mode_attribute = (1u << 3),
  md_depth_control_attributes::exposure_priority_attribute = (1u << 4), md_depth_control_attributes::roi_attribute = (1u << 5), md_depth_control_attributes::preset_attribute = (1u << 6), md_depth_control_attributes::emitter_mode_attribute = (1u << 7),
  md_depth_control_attributes::led_power_attribute = (1u << 8)
}
 md_depth_control_attributes - bit mask to find active attributes, md_depth_control struct More...
 
enum  md_fisheye_control_attributes : uint32_t { md_fisheye_control_attributes::gain_attribute = (1u << 0), md_fisheye_control_attributes::exposure_attribute = (1u << 1) }
 md_fisheye_control_attributes - bit mask to find active attributes, md_fisheye_control struct More...
 
enum  md_hid_custom_temp_attributes : uint8_t { md_hid_custom_temp_attributes::source_id_attirbute = (1u << 0), md_hid_custom_temp_attributes::custom_timestamp_attirbute = (1u << 1), md_hid_custom_temp_attributes::imu_counter_attribute = (1u << 2), md_hid_custom_temp_attributes::usb_counter_attribute = (1u << 3) }
 md_hid_imu_attributes - bit mask to designate the enabled attributed, md_imu_report struct More...
 
enum  md_hid_imu_attributes : uint8_t { md_hid_imu_attributes::custom_timestamp_attirbute = (1u << 0), md_hid_imu_attributes::imu_counter_attribute = (1u << 1), md_hid_imu_attributes::usb_counter_attribute = (1u << 2) }
 md_hid_imu_attributes - bit mask to designate the enabled attributed, md_imu_report struct More...
 
enum  md_hid_report_type : uint8_t { hid_report_unknown, hid_report_imu, hid_report_custom_temperature, hid_report_max }
 md_hid_imu_attributes - bit mask to designate the enabled attributed, md_imu_report struct More...
 
enum  md_l500_depth_control_attributes : uint32_t { md_l500_depth_control_attributes::laser_power = (1u << 0), md_l500_depth_control_attributes::preset_id = (1u << 1), md_l500_depth_control_attributes::laser_power_mode = (1u << 2) }
 md_depth_control_attributes - bit mask to find active attributes, md_depth_control struct More...
 
enum  md_rgb_control_attributes : uint32_t {
  md_rgb_control_attributes::brightness_attribute = (1u << 0), md_rgb_control_attributes::contrast_attribute = (1u << 1), md_rgb_control_attributes::saturation_attribute = (1u << 2), md_rgb_control_attributes::sharpness_attribute = (1u << 3),
  md_rgb_control_attributes::ae_mode_attribute = (1u << 4), md_rgb_control_attributes::awb_temp_attribute = (1u << 5), md_rgb_control_attributes::gain_attribute = (1u << 6), md_rgb_control_attributes::backlight_comp_attribute = (1u << 7),
  md_rgb_control_attributes::gamma_attribute = (1u << 8), md_rgb_control_attributes::hue_attribute = (1u << 9), md_rgb_control_attributes::manual_exp_attribute = (1u << 10), md_rgb_control_attributes::manual_wb_attribute = (1u << 11),
  md_rgb_control_attributes::power_line_frequency_attribute = (1u << 12), md_rgb_control_attributes::low_light_comp_attribute = (1u << 13)
}
 md_rgb_control_attributes - bit mask to find active attributes, md_rgb_control struct More...
 
enum  md_stat_attributes : uint32_t {
  md_stat_attributes::left_sum_attribute = (1u << 0), md_stat_attributes::left_dark_count_attribute = (1u << 1), md_stat_attributes::left_bright_count_attribute = (1u << 2), md_stat_attributes::right_sum_attribute = (1u << 3),
  md_stat_attributes::right_dark_count_attribute = (1u << 4), md_stat_attributes::right_bright_count_attribute = (1u << 5), md_stat_attributes::red_frame_count_attribute = (1u << 6), md_stat_attributes::left_red_sum_attribute = (1u << 7),
  md_stat_attributes::left_greeen1_attribute = (1u << 8), md_stat_attributes::left_greeen2_attribute = (1u << 9), md_stat_attributes::left_blue_sum_attribute = (1u << 10), md_stat_attributes::right_red_sum_attribute = (1u << 11),
  md_stat_attributes::right_greeen1_attribute = (1u << 12), md_stat_attributes::right_greeen2_attribute = (1u << 13), md_stat_attributes::right_blue_sum_attribute = (1u << 14)
}
 md_stat_attributes - bit mask to find active attributes, md_stat struct More...
 
enum  md_type : uint32_t {
  md_type::META_DATA_INTEL_DEPTH_CONTROL_ID = 0x80000000, md_type::META_DATA_INTEL_CAPTURE_TIMING_ID = 0x80000001, md_type::META_DATA_INTEL_CONFIGURATION_ID = 0x80000002, md_type::META_DATA_INTEL_STAT_ID = 0x80000003,
  md_type::META_DATA_INTEL_FISH_EYE_CONTROL_ID = 0x80000004, md_type::META_DATA_INTEL_RGB_CONTROL_ID = 0x80000005, md_type::META_DATA_INTEl_FE_FOV_MODEL_ID = 0x80000006, md_type::META_DATA_INTEl_FE_CAMERA_EXTRINSICS_ID = 0x80000007,
  md_type::META_DATA_CAPTURE_STATS_ID = 0x00000003, md_type::META_DATA_CAMERA_EXTRINSICS_ID = 0x00000004, md_type::META_DATA_CAMERA_INTRINSICS_ID = 0x00000005, md_type::META_DATA_INTEL_L500_CAPTURE_TIMING_ID = 0x80000010,
  md_type::META_DATA_INTEL_L500_DEPTH_CONTROL_ID = 0x80000012, md_type::META_DATA_CAMERA_DEBUG_ID = 0x800000FF, md_type::META_DATA_HID_IMU_REPORT_ID = 0x80001001, md_type::META_DATA_HID_CUSTOM_TEMP_REPORT_ID = 0x80001002
}
 md_mode - enumerates the types of metadata modes(structs) supported More...
 
enum  occlusion_rect_type : uint8_t { occlusion_min, occlusion_none, occlusion_monotonic_scan, occlusion_max }
 
enum  occlusion_scanning_type : uint8_t { horizontal, vertical }
 
enum  profile_tag { PROFILE_TAG_SUPERSET = 1, PROFILE_TAG_DEFAULT = 2, PROFILE_TAG_ANY = 4, PROFILE_TAG_DEBUG = 8 }
 
enum  rs2_dfu_command {
  RS2_DFU_DETACH = 0, RS2_DFU_DOWNLOAD = 1, RS2_DFU_UPLOAD = 2, RS2_DFU_GET_STATUS = 3,
  RS2_DFU_CLEAR_STATUS = 4, RS2_DFU_GET_STATE = 5, RS2_DFU_ABORT = 6
}
 
enum  rs2_dfu_state {
  RS2_DFU_STATE_APP_IDLE = 0, RS2_DFU_STATE_APP_DETACH = 1, RS2_DFU_STATE_DFU_IDLE = 2, RS2_DFU_STATE_DFU_DOWNLOAD_SYNC = 3,
  RS2_DFU_STATE_DFU_DOWNLOAD_BUSY = 4, RS2_DFU_STATE_DFU_DOWNLOAD_IDLE = 5, RS2_DFU_STATE_DFU_MANIFEST_SYNC = 6, RS2_DFU_STATE_DFU_MANIFEST = 7,
  RS2_DFU_STATE_DFU_MANIFEST_WAIT_RESET = 8, RS2_DFU_STATE_DFU_UPLOAD_IDLE = 9, RS2_DFU_STATE_DFU_ERROR = 10
}
 
enum  rs2_dfu_status {
  RS2_DFU_STATUS_OK = 0x00, RS2_DFU_STATUS_TARGET = 0x01, RS2_DFU_STATUS_FILE = 0x02, RS2_DFU_STATUS_WRITE = 0x03,
  RS2_DFU_STATUS_ERASE = 0x04, RS2_DFU_STATUS_CHECK_ERASED = 0x05, RS2_DFU_STATUS_PROG = 0x06, RS2_DFU_STATUS_VERIFY = 0x07,
  RS2_DFU_STATUS_ADDRESS = 0x08, RS2_DFU_STATUS_NOTDONE = 0x09, RS2_DFU_STATUS_FIRMWARE = 0x0A, RS2_DFU_STATUS_VENDOR = 0x0B,
  RS2_DFU_STATUS_USBR = 0x0C, RS2_DFU_STATUS_POR = 0x0D, RS2_DFU_STATUS_UNKNOWN = 0x0E, RS2_DFU_STATUS_STALLEDPKT = 0x0F
}
 
enum  rs2_dsc_status : uint16_t {
  RS2_DSC_STATUS_SUCCESS = 0, RS2_DSC_STATUS_RESULT_NOT_READY = 1, RS2_DSC_STATUS_FILL_FACTOR_TOO_LOW = 2, RS2_DSC_STATUS_EDGE_TOO_CLOSE = 3,
  RS2_DSC_STATUS_NOT_CONVERGE = 4, RS2_DSC_STATUS_BURN_SUCCESS = 5, RS2_DSC_STATUS_BURN_ERROR = 6, RS2_DSC_STATUS_NO_DEPTH_AVERAGE = 7
}
 
enum  scan_parameter { py_scan = 0, rx_scan = 1 }
 
enum  spatial_holes_filling_types : uint8_t {
  sp_hf_disabled, sp_hf_2_pixel_radius, sp_hf_4_pixel_radius, sp_hf_8_pixel_radius,
  sp_hf_16_pixel_radius, sp_hf_unlimited_radius, sp_hf_max_value
}
 
enum  subpixel_accuracy { very_high = 0, high = 1, medium = 2, low = 3 }
 
enum  temperature_type { TEMPERATURE_TYPE_ASIC, TEMPERATURE_TYPE_MOTION }
 
enum  zero_order_invalidation_options {
  RS2_OPTION_FILTER_ZO_IR_THRESHOLD = static_cast<rs2_option>(RS2_OPTION_COUNT + 0), RS2_OPTION_FILTER_ZO_RTD_HIGH_THRESHOLD = static_cast<rs2_option>(RS2_OPTION_COUNT + 1), RS2_OPTION_FILTER_ZO_RTD_LOW_THRESHOLD = static_cast<rs2_option>(RS2_OPTION_COUNT + 2), RS2_OPTION_FILTER_ZO_BASELINE = static_cast<rs2_option>(RS2_OPTION_COUNT + 3),
  RS2_OPTION_FILTER_ZO_PATCH_SIZE = static_cast<rs2_option>(RS2_OPTION_COUNT + 4), RS2_OPTION_FILTER_ZO_MAX_VALUE = static_cast<rs2_option>(RS2_OPTION_COUNT + 5), RS2_OPTION_FILTER_ZO_IR_MIN_VALUE = static_cast<rs2_option>(RS2_OPTION_COUNT + 6), RS2_OPTION_FILTER_ZO_THRESHOLD_OFFSET = static_cast<rs2_option>(RS2_OPTION_COUNT + 7),
  RS2_OPTION_FILTER_ZO_THRESHOLD_SCALE = static_cast<rs2_option>(RS2_OPTION_COUNT + 8)
}
 

Functions

template<class GET_DEPTH , class TRANSFER_PIXEL >
void align_images (const rs2_intrinsics &depth_intrin, const rs2_extrinsics &depth_to_other, const rs2_intrinsics &other_intrin, GET_DEPTH get_depth, TRANSFER_PIXEL transfer_pixel)
 
template<class GET_DEPTH >
void align_other_to_depth (byte *other_aligned_to_depth, GET_DEPTH get_depth, const rs2_intrinsics &depth_intrin, const rs2_extrinsics &depth_to_other, const rs2_intrinsics &other_intrin, const byte *other_pixels, rs2_format other_format)
 
template<int N, class GET_DEPTH >
void align_other_to_depth_bytes (byte *other_aligned_to_depth, GET_DEPTH get_depth, const rs2_intrinsics &depth_intrin, const rs2_extrinsics &depth_to_other, const rs2_intrinsics &other_intrin, const byte *other_pixels)
 
template<typename T >
constexpr size_t arr_size (T const &)
 
template<typename T , size_t sz>
constexpr size_t arr_size (T(&arr)[sz])
 
template<typename T , size_t sz>
constexpr size_t arr_size_bytes (T(&arr)[sz])
 
template<typename T >
std::string array2str (T &data)
 
template<typename T , typename P >
std::shared_ptr< T > As (std::shared_ptr< P > ptr)
 
template<typename T , typename P >
T * As (P *ptr)
 
std::string async_op_to_string (tm2_sensor::async_op_state val)
 
uint32_t calc_crc32 (const uint8_t *buf, size_t bufsize)
 Calculate CRC code for arbitrary characters buffer. More...
 
float3x3 calc_rotation_from_rodrigues_angles (const std::vector< double > rot)
 
bool check_not_all_zeros (std::vector< byte > data)
 
template<typename T >
clamp_val (T val, const T &min, const T &max)
 
void convert (rs2_format source, std::string &target)
 
template<typename T >
bool convert (const std::string &source, T &target)
 
template<>
bool convert (const std::string &source, rs2_format &target)
 
template<>
bool convert (const std::string &source, double &target)
 
template<>
bool convert (const std::string &source, long long &target)
 
bool convert (const geometry_msgs::Transform &source, rs2_extrinsics &target)
 
bool convert (const rs2_extrinsics &source, geometry_msgs::Transform &target)
 
void copy (void *dst, void const *src, size_t size)
 
template<const bool force_narrowing = false, typename T , typename S , size_t tgt_m, size_t tgt_n, size_t src_m, size_t src_n>
size_t copy_2darray (T(&dst)[tgt_m][tgt_n], const S(&src)[src_m][src_n])
 
template<const bool force_narrowing = false, typename T , typename S , size_t size_tgt, size_t size_src>
size_t copy_array (T(&dst)[size_tgt], const S(&src)[size_src])
 
void copy_frames (frame_holder from, frame_interface **&target)
 
template<rs2_format FORMAT>
void copy_hid_axes (byte *const dest[], const byte *source, double factor)
 
void copy_raw10 (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
std::shared_ptr< librealsense::aligncreate_align (rs2_stream align_to)
 
template<class callback >
calibration_change_callback_ptr create_calibration_change_callback_ptr (callback &&cb)
 
std::shared_ptr< matchercreate_composite_matcher (std::vector< std::shared_ptr< matcher >> matchers)
 
std::string create_composite_name (const std::vector< std::shared_ptr< matcher >> &matchers, const std::string &name)
 
static rs2_stream custom_gpio_to_stream_type (uint32_t custom_gpio)
 
void d415_remove_ir (preset &p)
 
void d460_remove_ir (preset &p)
 
std::string datetime_string ()
 
void default_400 (preset &p)
 
void default_405 (preset &p)
 
void default_410 (preset &p)
 
void default_420 (preset &p)
 
void default_430 (preset &p)
 
rs2_intrinsics denormalize (const rs2_intrinsics &intr, const uint32_t &width, const uint32_t &height)
 
template<class MAP_DEPTH >
void deproject_depth (float *points, const rs2_intrinsics &intrin, const uint16_t *depth, MAP_DEPTH map_depth)
 
template<class T >
void detect_zero_order (const double *rtd, const uint16_t *depth_data_in, const uint8_t *ir_data, T zero_pixel, const rs2_intrinsics &intrinsics, const zero_order_options &options, double zo_value, uint8_t iro_value)
 
void enable_rolling_log_file (unsigned max_size)
 
std::pair< double, double > extract_timestamps (frame_holder &a, frame_holder &b)
 
bool file_exists (const char *filename)
 
std::vector< platform::uvc_device_infofilter_by_mi (const std::vector< platform::uvc_device_info > &devices, uint32_t mi)
 
std::vector< platform::uvc_device_infofilter_by_product (const std::vector< platform::uvc_device_info > &devices, const std::set< uint16_t > &pid_list)
 
std::vector< platform::usb_device_infofilter_by_product (const std::vector< platform::usb_device_info > &devices, const std::set< uint16_t > &pid_list)
 
std::vector< std::shared_ptr< device_info > > filter_by_vid (std::vector< std::shared_ptr< device_info >> devices, int vid)
 
stream_interfacefind_profile (rs2_stream stream, int index, std::vector< stream_interface * > profiles)
 
std::string frame_holder_to_string (const frame_holder &f)
 
std::string frame_to_string (const frame_interface &f)
 
rs2_extrinsics from_pose (pose a)
 
rs2_extrinsics from_raw_extrinsics (rs2_extrinsics extr)
 
int gcd (int a, int b)
 
std::vector< uint8_tgenerate_json (const preset &in_preset)
 
processing_blocks get_color_recommended_proccesing_blocks ()
 
processing_blocks get_depth_recommended_proccesing_blocks ()
 
constexpr uint32_t get_device_index ()
 
processing_blocks get_ds5_depth_recommended_proccesing_blocks ()
 
int get_embeded_frames_size (frame_interface *f)
 
constexpr uint32_t get_file_version ()
 
std::string get_formatted_fw_version (uint32_t fw_last_version)
 
int get_image_bpp (rs2_format format)
 
size_t get_image_size (int width, int height, rs2_format format)
 
platform::uvc_device_info get_mi (const std::vector< platform::uvc_device_info > &devices, uint32_t mi)
 
constexpr uint32_t get_minimum_supported_file_version ()
 
double get_pixel_rtd (const rs2::vertex &v, int baseline)
 
int get_product_line (const platform::usb_device_info &usb_info)
 
constexpr device_serializer::nanoseconds get_static_file_info_timestamp ()
 
const char * get_string (rs2_rs400_visual_preset value)
 
const char * get_string (rs2_gl_extension value)
 
const char * get_string (rs2_gl_matrix_type value)
 
const char * get_string (rs2_exception_type value)
 
const char * get_string (rs2_stream value)
 
const char * get_string (rs2_sr300_visual_preset value)
 
const char * get_string (rs2_sensor_mode value)
 
const char * get_string (rs2_calibration_type type)
 
const char * get_string (rs2_calibration_status value)
 
const char * get_string (rs2_ambient_light value)
 
const char * get_string (rs2_digital_gain value)
 
const char * get_string (rs2_cah_trigger value)
 
const char * get_string (rs2_host_perf_mode value)
 
const char * get_string (rs2_extension value)
 
const char * get_string (rs2_playback_status value)
 
const char * get_string (rs2_log_severity value)
 
const char * get_string (rs2_option value)
 
const char * get_string (rs2_format value)
 
const char * get_string (rs2_distortion value)
 
const char * get_string (rs2_camera_info value)
 
const char * get_string (rs2_frame_metadata_value value)
 
const char * get_string (rs2_timestamp_domain value)
 
const char * get_string (rs2_calib_target_type value)
 
const char * get_string (rs2_notification_category value)
 
const char * get_string (rs2_matchers value)
 
const char * get_string (rs2_l500_visual_preset value)
 
std::tuple< uint8_t, uint8_t, uint8_tget_texcolor (const frame_holder &texture, float u, float v)
 
template<typename T >
get_zo_point_value (std::vector< T > &values)
 
template<typename T >
std::vector< T > get_zo_point_values (const T *frame_data_in, const rs2_intrinsics &intrinsics, int zo_point_x, int zo_point_y, int patch_r)
 
std::vector< std::pair< std::vector< platform::uvc_device_info >, std::vector< platform::hid_device_info > > > group_devices_and_hids_by_unique_id (const std::vector< std::vector< platform::uvc_device_info >> &devices, const std::vector< platform::hid_device_info > &hids)
 
std::vector< std::vector< platform::uvc_device_info > > group_devices_by_unique_id (const std::vector< platform::uvc_device_info > &devices)
 
void hand_gesture (preset &p)
 
template<class T >
std::string hexify (const T &val)
 
void high_res_high_accuracy (preset &p)
 
void high_res_high_density (preset &p)
 
void high_res_mid_density (preset &p)
 
std::string hwmon_error2str (hwmon_response e)
 
std::string hwmon_error_string (command const &cmd, hwmon_response e)
 
rs2_extrinsics identity_matrix ()
 
parsers_map initialize_field_parsers (preset_param_group &p)
 
template<class T , typename S >
void insert_control_to_map (parsers_map &map, bool was_set, const std::string &name, param_group< T > &control, S field)
 
template<class T , typename S >
void insert_string_control_to_map (parsers_map &map, bool was_set, const std::string &name, param_group< T > &control, S field, const std::map< std::string, float > &values)
 
pose inverse (const pose &a)
 
rs2_extrinsics inverse (const rs2_extrinsics &a)
 
template<typename T , typename P >
bool Is (std::shared_ptr< P > ptr)
 
template<typename T , typename P >
bool Is (P *ptr)
 
bool is_l500_recovery (platform::rs_usb_device usb, bool &is_l500_device)
 
bool is_z_or_disparity (rs2_format format)
 
resolution l500_confidence_resolution (resolution res)
 
template<class T >
bool list_changed (const std::vector< T > &list1, const std::vector< T > &list2, std::function< bool(T, T)> equal=[](T first, T second){return first==second;})
 
static void log_FW_response_first_byte (hw_monitor &hwm, const std::string &command_name, const command &cmd, size_t expected_size)
 
void log_to_callback (rs2_log_severity min_severity, log_callback_ptr callback)
 
void log_to_console (rs2_log_severity min_severity)
 
void log_to_file (rs2_log_severity min_severity, const char *file_path)
 
void low_res_high_accuracy (preset &p)
 
void low_res_high_density (preset &p)
 
void low_res_mid_density (preset &p)
 
template<class St , class Attribute >
std::shared_ptr< md_attribute_parser_basemake_additional_data_parser (Attribute St::*attribute)
 A utility function to create additional_data parser. More...
 
std::shared_ptr< archive_interfacemake_archive (rs2_extension type, std::atomic< uint32_t > *in_max_frame_queue_size, std::shared_ptr< platform::time_service > ts, std::shared_ptr< metadata_parser_map > parsers)
 
template<class S , class Attribute , typename Flag >
std::shared_ptr< md_attribute_parser_basemake_attribute_parser (Attribute S::*attribute, Flag flag, unsigned long long offset, attrib_modifyer mod=nullptr)
 A helper function to create a specialized attribute parser. Return it as a pointer to a base-class. More...
 
template<class T >
frame_callback_ptr make_callback (T callback)
 
template<class T , class S >
std::shared_ptr< json_fieldmake_field (T &strct, S T::group_type::*field, float scale=1.0f, bool is_duplicated_field=false)
 
template<class T , class R , class W , class U >
std::shared_ptr< struct_field_option< T, R, W, U > > make_field_option (std::shared_ptr< struct_interface< T, R, W >> struct_interface, U T::*field, const option_range &range)
 
template<class T >
frame_callback_ptr make_frame_callback (T callback)
 
template<class St , class Attribute >
std::shared_ptr< md_attribute_parser_basemake_hid_header_parser (Attribute St::*attribute, attrib_modifyer mod=nullptr)
 A utility function to create HID metadata header parser. More...
 
std::shared_ptr< json_fieldmake_ignored_field ()
 
template<class T , class S >
std::shared_ptr< json_fieldmake_invert_field (T &strct, S T::group_type::*field, bool is_duplicated_field=false)
 
std::string make_less_screamy (const char *str)
 
std::shared_ptr< md_attribute_parser_basemake_rs400_sensor_ts_parser (std::shared_ptr< md_attribute_parser_base > frame_ts_parser, std::shared_ptr< md_attribute_parser_base > sensor_ts_parser)
 A helper function to create a specialized parser for RS4xx sensor timestamp. More...
 
template<class S , class Attribute >
std::shared_ptr< md_attribute_parser_basemake_sr300_attribute_parser (Attribute S::*attribute, unsigned long long offset, attrib_modifyer mod=nullptr)
 A helper function to create a specialized attribute parser. Return it as a pointer to a base-class. More...
 
template<class T , class S >
std::shared_ptr< json_fieldmake_string_field (T &strct, S T::group_type::*field, const std::map< std::string, float > &values, bool is_duplicated_field=false)
 
template<class T , class R , class W >
std::shared_ptr< struct_interface< T, R, W > > make_struct_interface (R r, W w)
 
template<class St , class Attribute >
std::shared_ptr< md_attribute_parser_basemake_uvc_header_parser (Attribute St::*attribute, attrib_modifyer mod=nullptr)
 A utility function to create UVC metadata header parser. More...
 
 MAP_ADVANCED_MODE (STDepthControlGroup, etDepthControl)
 
 MAP_ADVANCED_MODE (STRsm, etRsm)
 
 MAP_ADVANCED_MODE (STRauSupportVectorControl, etRauSupportVectorControl)
 
 MAP_ADVANCED_MODE (STColorControl, etColorControl)
 
 MAP_ADVANCED_MODE (STRauColorThresholdsControl, etRauColorThresholdsControl)
 
 MAP_ADVANCED_MODE (STSloColorThresholdsControl, etSloColorThresholdsControl)
 
 MAP_ADVANCED_MODE (STSloPenaltyControl, etSloPenaltyControl)
 
 MAP_ADVANCED_MODE (STHdad, etHdad)
 
 MAP_ADVANCED_MODE (STColorCorrection, etColorCorrection)
 
 MAP_ADVANCED_MODE (STDepthTableControl, etDepthTableControl)
 
 MAP_ADVANCED_MODE (STAEControl, etAEControl)
 
 MAP_ADVANCED_MODE (STCensusRadius, etCencusRadius9)
 
 MAP_ADVANCED_MODE (STAFactor, etAFactor)
 
 MAP_EXTENSION (RS2_EXTENSION_DEBUG_STREAM_SENSOR, debug_stream_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR, max_usable_range_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_SERIALIZABLE, serializable_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_DEBUG, librealsense::debug_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_MOTION_PROFILE, librealsense::motion_stream_profile_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_CALIBRATION_CHANGE_DEVICE, calibration_change_device)
 
 MAP_EXTENSION (RS2_EXTENSION_INFO, librealsense::info_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_DEPTH_HUFFMAN_DECODER, librealsense::depth_decompression_huffman)
 
 MAP_EXTENSION (RS2_EXTENSION_AUTO_CALIBRATED_DEVICE, auto_calibrated_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_CALIBRATED_SENSOR, calibrated_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_POSE_PROFILE, librealsense::pose_stream_profile_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_FW_LOGGER, librealsense::firmware_logger_extensions)
 
 MAP_EXTENSION (RS2_EXTENSION_DEVICE_CALIBRATION, device_calibration)
 
 MAP_EXTENSION (RS2_EXTENSION_SEQUENCE_ID_FILTER, librealsense::sequence_id_filter)
 
 MAP_EXTENSION (RS2_EXTENSION_VIDEO, librealsense::video_sensor_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_UPDATE_DEVICE, update_device_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_THRESHOLD_FILTER, librealsense::threshold)
 
 MAP_EXTENSION (RS2_EXTENSION_UPDATABLE, updatable)
 
 MAP_EXTENSION (RS2_EXTENSION_VIDEO_PROFILE, librealsense::video_stream_profile_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_POSE_SENSOR, librealsense::pose_sensor_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_DECIMATION_FILTER, librealsense::decimation_filter)
 
 MAP_EXTENSION (RS2_EXTENSION_WHEEL_ODOMETER, librealsense::wheel_odometry_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_OPTIONS, librealsense::options_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_L500_DEPTH_SENSOR, librealsense::l500_depth_sensor_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_HDR_MERGE, librealsense::hdr_merge)
 
 MAP_EXTENSION (RS2_EXTENSION_ROI, librealsense::roi_sensor_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_TM2, librealsense::tm2_extensions)
 
 MAP_EXTENSION (RS2_EXTENSION_DISPARITY_FILTER, librealsense::disparity_transform)
 
 MAP_EXTENSION (RS2_EXTENSION_TM2_SENSOR, librealsense::tm2_sensor_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_ZERO_ORDER_FILTER, librealsense::zero_order)
 
 MAP_EXTENSION (RS2_EXTENSION_RECORD, record_device)
 
 MAP_EXTENSION (RS2_EXTENSION_PLAYBACK, playback_device)
 
 MAP_EXTENSION (RS2_EXTENSION_ADVANCED_MODE, librealsense::ds5_advanced_mode_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_TEMPORAL_FILTER, librealsense::temporal_filter)
 
 MAP_EXTENSION (RS2_EXTENSION_GLOBAL_TIMER, librealsense::global_time_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_MOTION_SENSOR, librealsense::motion_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_SOFTWARE_SENSOR, software_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_SOFTWARE_DEVICE, software_device)
 
 MAP_EXTENSION (RS2_EXTENSION_FISHEYE_SENSOR, librealsense::fisheye_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_HOLE_FILLING_FILTER, librealsense::hole_filling_filter)
 
 MAP_EXTENSION (RS2_EXTENSION_RECOMMENDED_FILTERS, librealsense::recommended_proccesing_blocks_interface)
 
 MAP_EXTENSION (RS2_EXTENSION_POINTS, librealsense::points)
 
 MAP_EXTENSION (RS2_EXTENSION_COMPOSITE_FRAME, librealsense::composite_frame)
 
 MAP_EXTENSION (RS2_EXTENSION_SPATIAL_FILTER, librealsense::spatial_filter)
 
 MAP_EXTENSION (RS2_EXTENSION_VIDEO_FRAME, librealsense::video_frame)
 
 MAP_EXTENSION (RS2_EXTENSION_COLOR_SENSOR, librealsense::color_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_DEPTH_SENSOR, librealsense::depth_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_DEPTH_STEREO_SENSOR, librealsense::depth_stereo_sensor)
 
 MAP_EXTENSION (RS2_EXTENSION_DEPTH_FRAME, librealsense::depth_frame)
 
 MAP_EXTENSION (RS2_EXTENSION_DISPARITY_FRAME, librealsense::disparity_frame)
 
 MAP_EXTENSION (RS2_EXTENSION_MOTION_FRAME, librealsense::motion_frame)
 
 MAP_EXTENSION (RS2_EXTENSION_POSE_FRAME, librealsense::pose_frame)
 
int maxDivisorRange (int a, int b, int lo, int hi)
 
std::vector< uint8_tmerge_images (flash_info from, flash_info to, const std::vector< uint8_t > image)
 
bool mi_present (const std::vector< platform::uvc_device_info > &devices, uint32_t mi)
 
void mid_res_high_accuracy (preset &p)
 
void mid_res_high_density (preset &p)
 
void mid_res_mid_density (preset &p)
 
double monotonic_to_realtime (double monotonic)
 
rs2_intrinsics normalize (const rs2_intrinsics &intr)
 
float3 operator* (const float3 &a, float b)
 
float3 operator* (const float3x3 &a, const float3 &b)
 
float3x3 operator* (const float3x3 &a, const float3x3 &b)
 
float3 operator* (const pose &a, const float3 &b)
 
pose operator* (const pose &a, const pose &b)
 
float3 operator+ (const float3 &a, const float3 &b)
 
float4 operator+ (const float4 &a, const float4 &b)
 
float3 operator- (const float3 &a, const float3 &b)
 
float4 operator- (const float4 &a, const float4 &b)
 
bool operator< (const stream_profile &lhs, const stream_profile &rhs)
 
std::ostream & operator<< (std::ostream &os, const stream_profiles &profiles)
 
std::ostream & operator<< (std::ostream &out, const frame_interface &f)
 
std::ostream & operator<< (std::ostream &stream, const float3 &elem)
 
std::ostream & operator<< (std::ostream &stream, const float4 &elem)
 
std::ostream & operator<< (std::ostream &stream, const float3x3 &elem)
 
std::ostream & operator<< (std::ostream &stream, const pose &elem)
 
bool operator== (const hdr_params &first, const hdr_params &second)
 
bool operator== (const float3 &a, const float3 &b)
 
bool operator== (const float4 &a, const float4 &b)
 
bool operator== (const float3x3 &a, const float3x3 &b)
 
bool operator== (const pose &a, const pose &b)
 
bool operator== (const stream_profile &a, const stream_profile &b)
 
bool operator== (const rs2_intrinsics &a, const rs2_intrinsics &b)
 
bool operator== (const uvc_device_info &a, const uvc_device_info &b)
 
bool operator== (const usb_device_info &a, const usb_device_info &b)
 
bool operator== (const hid_device_info &a, const hid_device_info &b)
 
md_hid_imu_attributes operator| (md_hid_imu_attributes l, md_hid_imu_attributes r)
 
md_hid_imu_attributes operator|= (md_hid_imu_attributes l, md_hid_imu_attributes r)
 
template<class pixelvalue >
pixelvalue opt_med3 (pixelvalue *p)
 
template<class pixelvalue >
pixelvalue opt_med4 (pixelvalue *p)
 
template<class pixelvalue >
pixelvalue opt_med5 (pixelvalue *p)
 
template<class pixelvalue >
pixelvalue opt_med6 (pixelvalue *p)
 
template<class pixelvalue >
pixelvalue opt_med7 (pixelvalue *p)
 
template<class pixelvalue >
pixelvalue opt_med8 (pixelvalue *p)
 
template<class pixelvalue >
pixelvalue opt_med9 (pixelvalue *p)
 
uint32_t pack (uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3)
 
rs2_intrinsics pad_crop_intrinsics (const rs2_intrinsics &i, int pad_crop)
 
flash_section parse_flash_section (const std::vector< uint8_t > &flash_buffer, flash_table toc, flash_structure s)
 
std::vector< flash_payload_headerparse_payloads (const std::vector< uint8_t > &flash_buffer, size_t number_of_payloads)
 
flash_table parse_table_of_contents (const std::vector< uint8_t > &flash_buffer, uint32_t toc_offset)
 
std::vector< flash_tableparse_tables (const std::vector< uint8_t > &flash_buffer, flash_table toc, flash_structure structure)
 
float2 pixel_to_texcoord (const rs2_intrinsics *intrin, const float2 &pixel)
 
float2 project (const rs2_intrinsics *intrin, const float3 &point)
 
float2 project_to_texcoord (const rs2_intrinsics *intrin, const float3 &point)
 
void quat2rot (const geometry_msgs::Transform::_rotation_type &q, float(&r)[9])
 
rs2_sensor_mode query_sensor_mode (option &resolution)
 
void reset_logger ()
 
void rot2quat (const float(&r)[9], geometry_msgs::Transform::_rotation_type &q)
 
void rotate_confidence (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
template<size_t SIZE>
void rotate_image (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
template<size_t SIZE>
void rotate_image_optimized (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
template<size_t SIZE>
void rotate_image_optimized (byte *dest[], const byte *source, int width, int height)
 
resolution rotate_resolution (resolution res)
 
rs2_intrinsics scale_intrinsics (const rs2_intrinsics &i, int width, int height)
 
template<class SOURCE , class SPLIT_A , class SPLIT_B >
void split_frame (byte *const dest[], int count, const SOURCE *source, SPLIT_A split_a, SPLIT_B split_b)
 
template<class T >
void stream_args (std::ostream &out, const char *names, const T &last)
 
template<class T , class... U>
void stream_args (std::ostream &out, const char *names, const T &first, const U &...rest)
 
bool stream_profiles_correspond (stream_profile_interface *l, stream_profile_interface *r)
 
device_serializer::nanoseconds to_nanoseconds (const rs2rosinternal::Time &t)
 
pose to_pose (const rs2_extrinsics &a)
 
stream_profile to_profile (const stream_profile_interface *sp)
 
std::vector< stream_profileto_profiles (const std::vector< std::shared_ptr< stream_profile_interface >> &vec)
 
rs2_extrinsics to_raw_extrinsics (rs2_extrinsics extr)
 
rs2rosinternal::Time to_rostime (const device_serializer::nanoseconds &t)
 
float3 transform (const rs2_extrinsics *extrin, const float3 &point)
 
static void translate_exception (const char *name, std::string args, rs2_error **error)
 
float3x3 transpose (const float3x3 &a)
 
void trim_device_list (std::vector< platform::usb_device_info > &devices, const std::vector< platform::usb_device_info > &chosen)
 
void trim_device_list (std::vector< platform::uvc_device_info > &devices, const std::vector< platform::uvc_device_info > &chosen)
 
template<typename To >
bool try_extend (std::shared_ptr< extension_snapshot > from, void **ext)
 
void try_fetch (std::map< std::string, int > jsn, std::string key, int *value)
 
bool try_get_zo_rtd_ir_point_values (const double *rtd, const uint16_t *depth_data_in, const uint8_t *ir_data, const rs2_intrinsics &intrinsics, const zero_order_options &options, int zo_point_x, int zo_point_y, double *rtd_zo_value, uint8_t *ir_zo_data)
 
template<rs2_format FORMAT>
void unpack_accel_axes (byte *const dest[], const byte *source, int width, int height, int output_size)
 
template<rs2_format FORMAT>
void unpack_gyro_axes (byte *const dest[], const byte *source, int width, int height, int output_size)
 
void unpack_invi (rs2_format dst_format, byte *const d[], const byte *s, int width, int height, int actual_size)
 
void unpack_inzi (rs2_format dst_ir_format, byte *const d[], const byte *s, int width, int height, int actual_size)
 
void unpack_mjpeg (byte *const dest[], const byte *source, int width, int height, int actual_size, int input_size)
 
template<class SOURCE , class UNPACK >
void unpack_pixels (byte *const dest[], int count, const SOURCE *source, UNPACK unpack, int actual_size)
 
void unpack_rgb_from_bgr (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
template<rs2_format FORMAT>
void unpack_uyvy (byte *const d[], const byte *s, int width, int height, int actual_size)
 
void unpack_uyvyc (rs2_format dst_format, rs2_stream dst_stream, byte *const d[], const byte *s, int w, int h, int actual_size)
 
void unpack_w10 (rs2_format dst_format, byte *const d[], const byte *s, int width, int height, int actual_size)
 
void unpack_y10bpack (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
void unpack_y16_from_y16_10 (byte *const d[], const byte *s, int width, int height, int actual_size)
 
void unpack_y16_y16_from_y12i_10 (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
void unpack_y8_from_y16_10 (byte *const d[], const byte *s, int width, int height, int actual_size)
 
void unpack_y8_y8_from_y8i (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
template<rs2_format FORMAT>
void unpack_yuy2 (byte *const d[], const byte *s, int width, int height, int actual_size)
 
void unpack_yuy2 (rs2_format dst_format, rs2_stream dst_stream, byte *const d[], const byte *s, int w, int h, int actual_size)
 
void unpack_z16_y16_from_sr300_inzi (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
void unpack_z16_y8_from_sr300_inzi (byte *const dest[], const byte *source, int width, int height, int actual_size)
 
void update_flash_internal (std::shared_ptr< hw_monitor > hwm, const std::vector< uint8_t > &image, std::vector< uint8_t > &flash_backup, update_progress_callback_ptr callback, int update_mode)
 
void update_flash_section (std::shared_ptr< hw_monitor > hwm, const std::vector< uint8_t > &image, uint32_t offset, uint32_t size, update_progress_callback_ptr callback, float continue_from, float ratio)
 
template<typename T >
void update_preset_camera_control (T &camera_control, const param_group< T > &param)
 
template<typename T >
void update_preset_control (T &preset_control, const param_group< T > &param)
 
void update_section (std::shared_ptr< hw_monitor > hwm, const std::vector< uint8_t > &merged_image, flash_section fs, uint32_t tables_size, update_progress_callback_ptr callback, float continue_from, float ratio)
 
void update_structs (const std::string &content, preset &in_preset)
 
template<typename T >
bool val_in_range (const T &val, const std::initializer_list< T > &list)
 
void z2rtd (const rs2::vertex *vertices, double *rtd, const rs2_intrinsics &intrinsics, int baseline)
 
template<class T >
bool zero_order_invalidation (const uint16_t *depth_data_in, const uint8_t *ir_data, T zero_pixel, const rs2::vertex *vertices, rs2_intrinsics intrinsics, const zero_order_options &options, int zo_point_x, int zo_point_y)
 

Variables

static const std::string accel_sensor_name = "accel_3d"
 
static const float ae_step_default_value = 0.5f
 
const float alpha_default_val = 0.5f
 
const float alpha_max_val = 1.f
 
const float alpha_min_val = 0.25f
 
const float alpha_step = 0.01f
 
static color_map biomes
 
static color_map classic
 
static color_map cold
 
static const uint32_t crc_32_tab []
 
const uint8_t decimation_default_val = 2
 
const uint8_t decimation_max_val = 8
 
const uint8_t decimation_min_val = 1
 
const uint8_t decimation_step = 1
 
const int DEFAULT_ACCURACY = subpixel_accuracy::medium
 
const int DEFAULT_ADJUST_BOTH_SIDES = 0
 
const int DEFAULT_AVERAGE_STEP_COUNT = 20
 
const int DEFAULT_CALIB_TYPE = 0
 
const int DEFAULT_FL_SAMPLING = data_sampling::interrupt
 
const int DEFAULT_FL_STEP_COUNT = 100
 
const int DEFAULT_FY_SCAN_DIRECTION = 0
 
const int DEFAULT_FY_SCAN_RANGE = 40
 
const int DEFAULT_KEEP_NEW_VALUE_AFTER_SUCESSFUL_SCAN = 1
 
const int DEFAULT_OCC_FL_SCAN_LOCATION = 0
 
const int DEFAULT_SAMPLING = data_sampling::interrupt
 
const int DEFAULT_SCAN = scan_parameter::py_scan
 
const int DEFAULT_SPEED = auto_calib_speed::speed_slow
 
const int DEFAULT_STEP_COUNT = 20
 
const int DEFAULT_TARE_SAMPLING = data_sampling::polling
 
const int DEFAULT_WHITE_WALL_MODE = 0
 
const uint8_t delta_default_val = 20
 
const uint8_t delta_max_val = 50
 
const uint8_t delta_min_val = 1
 
const uint8_t delta_step = 1
 
std::map< uint32_t, rs2_formatds5_color_fourcc_to_rs2_format
 
std::map< uint32_t, rs2_streamds5_color_fourcc_to_rs2_stream
 
std::map< uint32_t, rs2_formatds5_depth_fourcc_to_rs2_format
 
std::map< uint32_t, rs2_streamds5_depth_fourcc_to_rs2_stream
 
const uint8_t filter_iter_def = 2
 
const uint8_t filter_iter_max = 5
 
const uint8_t filter_iter_min = 1
 
const uint8_t filter_iter_step = 1
 
const std::map< uint32_t, rs2_formatfisheye_fourcc_to_rs2_format
 
const std::map< uint32_t, rs2_streamfisheye_fourcc_to_rs2_stream
 
constexpr const char * FRAME_NUMBER_MD_STR = "Frame number"
 
constexpr const char * FRAME_TIMESTAMP_MD_STR = "frame_timestamp"
 
static color_map grayscale
 
static const std::string gyro_sensor_name = "gyro_3d"
 
static const std::map< IMU_OUTPUT_DATA_RATES, unsigned > hid_fps_translation
 
const uint8_t hole_fill_def = hf_farest_from_around
 
const uint8_t hole_fill_max = hf_max_value - 1
 
const uint8_t hole_fill_min = hf_fill_from_left
 
const uint8_t hole_fill_step = 1
 
const uint8_t holes_fill_def = sp_hf_disabled
 
const uint8_t holes_fill_max = sp_hf_max_value - 1
 
const uint8_t holes_fill_min = sp_hf_disabled
 
const uint8_t holes_fill_step = 1
 
static color_map hue
 
const uint16_t HW_MONITOR_BUFFER_SIZE = 1024
 
const uint16_t HW_MONITOR_COMMAND_SIZE = 1000
 
const uint16_t HW_MONITOR_DATA_SIZE_OFFSET = 1020
 
const std::map< hwmon_response, std::stringhwmon_response_report
 
const uint8_t INTRINSICS_MODEL_COUNT = 1
 
static color_map inv_grayscale
 
const uint8_t IV_COMMAND_CONFIDENCE_THRESHHOLD = 0x0C
 
const uint8_t IV_COMMAND_DEPTH_ACCURACY = 0x04
 
const uint8_t IV_COMMAND_FILTER_OPTION = 0x0A
 
const uint8_t IV_COMMAND_FIRMWARE_UPDATE_MODE = 0x01
 
const uint8_t IV_COMMAND_GET_CALIBRATION_DATA = 0x02
 
const uint8_t IV_COMMAND_INTENSITY_IMAGE_TYPE = 0x07
 
const uint8_t IV_COMMAND_LASER_POWER = 0x03
 
const uint8_t IV_COMMAND_LOW_CONFIDENCE_LEVEL = 0x06
 
const uint8_t IV_COMMAND_MOTION_VS_RANGE_TRADE = 0x08
 
const uint8_t IV_COMMAND_POWER_GEAR = 0x09
 
const uint8_t IV_COMMAND_VERSION = 0x0B
 
const uint8_t IV_COMMAND_ZUNIT = 0x05
 
const uint8_t IVCAM_MIN_SUPPORTED_VERSION = 13
 
const uint8_t IVCAM_MONITOR_ENDPOINT_IN = 0x81
 
const uint8_t IVCAM_MONITOR_ENDPOINT_OUT = 0x1
 
const uint8_t IVCAM_MONITOR_HEADER_SIZE = (sizeof(uint32_t) * 6)
 
const uint8_t IVCAM_MONITOR_INTERFACE = 0x4
 
const uint16_t IVCAM_MONITOR_MAGIC_NUMBER = 0xcdab
 
const uint16_t IVCAM_MONITOR_MAX_BUFFER_SIZE = 1024
 
const uint16_t IVCAM_MONITOR_MUTEX_TIMEOUT = 3000
 
static color_map jet
 
std::map< uint32_t, rs2_formatl500_color_fourcc_to_rs2_format
 
std::map< uint32_t, rs2_streaml500_color_fourcc_to_rs2_stream
 
std::map< uint32_t, rs2_formatl500_depth_fourcc_to_rs2_format
 
std::map< uint32_t, rs2_streaml500_depth_fourcc_to_rs2_stream
 
const rs2_distortion l500_distortion = RS2_DISTORTION_BROWN_CONRADY
 
std::map< rs2_stream, std::map< unsigned, unsigned > > l500_fps_and_sampling_frequency_per_rs2_stream
 
const uint16_t L500_PID = 0x0b0d
 
const uint16_t L500_RECOVERY_PID = 0x0b55
 
std::vector< std::pair< std::string, stream_profile > > l500_sensor_name_and_hid_profiles
 
const uint16_t L500_USB2_RECOVERY_PID_OLD = 0x0adc
 
const uint16_t L515_PID = 0x0b64
 
const uint16_t L515_PID_PRE_PRQ = 0x0b3d
 
const uint16_t L535_PID = 0x0b68
 
const uint16_t L535_RECOVERY_PID = 0x0B72
 
constexpr const char * MAPPER_CONFIDENCE_MD_STR = "Mapper Confidence"
 
const int MAX_GAP = 1000
 
const uint16_t MAX_SIZE_OF_CALIB_PARAM_BYTES = 800
 
constexpr uint8_t md_capture_timing_size = sizeof(md_capture_timing)
 
static const std::map< md_type, std::stringmd_type_desc
 
const int META_DATA_INTEL_CAPTURE_TIMING_VERSION = 0x1
 
const int META_DATA_INTEL_CONFIGURATION_VERSION = 0x3
 
const int META_DATA_INTEL_DEPTH_CONTROL_VERSION = 0x1
 
const int META_DATA_INTEL_STAT_VERSION = 0x1
 
constexpr uint8_t metadata_hid_raw_size = sizeof(metadata_hid_raw)
 
constexpr uint8_t metadata_imu_report_size = sizeof(md_imu_report)
 
constexpr uint8_t metadata_raw_size = sizeof(metadata_raw)
 
const uint8_t NUM_OF_CALIBRATION_COEFFS = 64
 
const uint8_t NUM_OF_CALIBRATION_PARAMS = 100
 
const uint8_t PARAMETERS2_BUFFER_SIZE = 50
 
static color_map pattern
 
const uint8_t persistence_default = 3
 
const size_t PERSISTENCE_MAP_NUM = 9
 
const uint8_t persistence_max = PERSISTENCE_MAP_NUM-1
 
const uint8_t persistence_min = 0
 
const uint8_t persistence_step = 1
 
const std::map< uint32_t, rs2_formatplatform_color_fourcc_to_rs2_format
 
const std::map< uint32_t, rs2_streamplatform_color_fourcc_to_rs2_stream
 
const size_t PRESISTENCY_LUT_SIZE = 256
 
static color_map quantized
 
const uint8_t SIZE_OF_CALIB_HEADER_BYTES = 4
 
const uint16_t SIZE_OF_CALIB_PARAM_BYTES = 512
 
const uint16_t SIZE_OF_HW_MONITOR_HEADER = 4
 
std::map< uint32_t, rs2_formatsr300_color_fourcc_to_rs2_format
 
std::map< uint32_t, rs2_streamsr300_color_fourcc_to_rs2_stream
 
std::map< uint32_t, rs2_formatsr300_depth_fourcc_to_rs2_format
 
std::map< uint32_t, rs2_streamsr300_depth_fourcc_to_rs2_stream
 
const uint16_t SR300_PID = 0x0aa5
 
const uint16_t SR300_RECOVERY = 0x0ab3
 
const uint16_t SR300v2_PID = 0x0B48
 
const uint16_t SR306_PID = 0x0aa3
 
constexpr const char * SYSTEM_TIME_MD_STR = "system_time"
 
const float temp_alpha_default = 0.4f
 
const float temp_alpha_max = 1.f
 
const float temp_alpha_min = 0.f
 
const float temp_alpha_step = 0.01f
 
const uint8_t temp_delta_default = 20
 
const uint8_t temp_delta_max = 100
 
const uint8_t temp_delta_min = 1
 
const uint8_t temp_delta_step = 1
 
const double TIMESTAMP_10NSEC_TO_MSEC = 0.00001
 
constexpr const char * TIMESTAMP_DOMAIN_MD_STR = "timestamp_domain"
 
static const double TIMESTAMP_USEC_TO_MSEC = 0.001
 
constexpr const char * TRACKER_CONFIDENCE_MD_STR = "Tracker Confidence"
 
const uint8_t TRANSFORM_COUNT = 1
 
const uint8_t UVC_GUID_SIZE = 16
 
static color_map warm
 

Typedef Documentation

Post-processing adjustment of the metadata attribute e.g change auto_exposure enum to boolean, change units from nano->ms,etc'.

Definition at line 90 of file metadata-parser.h.

Definition at line 1074 of file src/types.h.

Definition at line 1403 of file src/types.h.

Definition at line 1396 of file src/types.h.

Definition at line 1076 of file src/types.h.

typedef void(* librealsense::devices_changed_function_ptr) (rs2_device_list *removed, rs2_device_list *added, void *user)

Definition at line 1024 of file src/types.h.

typedef std::vector<std::shared_ptr<device_info> > librealsense::devices_info

Definition at line 104 of file context.h.

typedef float librealsense::float_4[4]

Definition at line 507 of file src/types.h.

typedef void(* librealsense::frame_callback_function_ptr) (rs2_frame *frame, void *user)

Definition at line 913 of file src/types.h.

Definition at line 1071 of file src/types.h.

Definition at line 1072 of file src/types.h.

Definition at line 12 of file device_hub.cpp.

using librealsense::internal_callback = typedef std::function<void(rs2_device_list* removed, rs2_device_list* added)>

Definition at line 1079 of file src/types.h.

Definition at line 22 of file json_loader.hpp.

Definition at line 202 of file src/types.h.

Definition at line 16 of file archive.h.

Definition at line 652 of file src/types.h.

typedef void(* librealsense::notifications_callback_function_ptr) (rs2_notification *notification, void *user)

Definition at line 975 of file src/types.h.

Definition at line 1073 of file src/types.h.

Definition at line 20 of file ds5-motion.h.

using librealsense::on_frame = typedef std::function<void(frame_interface*)>

Definition at line 164 of file streaming.h.

typedef std::function<void(std::vector<platform::stream_profile>)> librealsense::on_open

Definition at line 30 of file sensor.h.

Definition at line 653 of file src/types.h.

typedef std::map<std::string, std::shared_ptr<json_field> > librealsense::parsers_map

Definition at line 251 of file json_loader.hpp.

using librealsense::processing_blocks = typedef std::vector<std::shared_ptr<processing_block_interface>>

Definition at line 166 of file streaming.h.

Definition at line 654 of file src/types.h.

using librealsense::resolution_func = typedef std::function<resolution(resolution res)>

Definition at line 660 of file src/types.h.

typedef void(* librealsense::software_device_destruction_callback_function_ptr) (void *user)

Definition at line 999 of file src/types.h.

Definition at line 1075 of file src/types.h.

Definition at line 17 of file sync.h.

using librealsense::stream_profiles = typedef std::vector<std::shared_ptr<stream_profile_interface>>

Definition at line 165 of file streaming.h.

Definition at line 32 of file l500-options.h.

Definition at line 74 of file sync.h.

Definition at line 1077 of file src/types.h.

Enumeration Type Documentation

Enumerator
speed_very_fast 
speed_fast 
speed_medium 
speed_slow 
speed_white_wall 

Definition at line 91 of file ds5-auto-calibration.cpp.

Enumerator
py_rx_calib_begin 
py_rx_calib_check_status 
tare_calib_begin 
tare_calib_check_status 
get_calibration_result 
focal_length_calib_begin 
get_focal_legth_calib_result 
py_rx_plus_fl_calib_begin 
get_py_rx_plus_fl_calib_result 
set_coefficients 

Definition at line 77 of file ds5-auto-calibration.cpp.

Enumerator
static_auto_exposure 
auto_exposure_anti_flicker 
auto_exposure_hybrid 

Definition at line 20 of file algo.h.

Enumerator
standard 
record 
playback 

Definition at line 71 of file context.h.

Enumerator
TakeFromRO 
TakeFromRW 
TakeFromRAM 

Definition at line 427 of file sr300.cpp.

Enumerator
polling 
interrupt 

Definition at line 108 of file ds5-auto-calibration.cpp.

Metadata fields that are utilized internally by librealsense Provides extention to the r2_frame_metadata list of attributes.

Enumerator
RS2_FRAME_METADATA_HW_TYPE 

8-bit Module type: RS4xx, IVCAM

RS2_FRAME_METADATA_SKU_ID 

8-bit SKU Id

RS2_FRAME_METADATA_FORMAT 

16-bit Frame format

RS2_FRAME_METADATA_WIDTH 

16-bit Frame width. pixels

RS2_FRAME_METADATA_HEIGHT 

16-bit Frame height. pixels

RS2_FRAME_METADATA_COUNT 

Definition at line 16 of file metadata-parser.h.

Enumerator
hf_fill_from_left 
hf_farest_from_around 
hf_nearest_from_around 
hf_max_value 

Definition at line 8 of file hole-filling-filter.h.

Enumerator
hwm_Success 
hwm_WrongCommand 
hwm_StartNGEndAddr 
hwm_AddressSpaceNotAligned 
hwm_AddressSpaceTooSmall 
hwm_ReadOnly 
hwm_WrongParameter 
hwm_HWNotReady 
hwm_I2CAccessFailed 
hwm_NoExpectedUserAction 
hwm_IntegrityError 
hwm_NullOrZeroSizeString 
hwm_GPIOPinNumberInvalid 
hwm_GPIOPinDirectionInvalid 
hwm_IllegalAddress 
hwm_IllegalSize 
hwm_ParamsTableNotValid 
hwm_ParamsTableIdNotValid 
hwm_ParamsTableWrongExistingSize 
hwm_WrongCRC 
hwm_NotAuthorisedFlashWrite 
hwm_NoDataToReturn 
hwm_SpiReadFailed 
hwm_SpiWriteFailed 
hwm_SpiEraseSectorFailed 
hwm_TableIsEmpty 
hwm_I2cSeqDelay 
hwm_CommandIsLocked 
hwm_CalibrationWrongTableId 
hwm_ValueOutOfRange 
hwm_InvalidDepthFormat 
hwm_DepthFlowError 
hwm_Timeout 
hwm_NotSafeCheckFailed 
hwm_FlashRegionIsLocked 
hwm_SummingEventTimeout 
hwm_SDSCorrupted 
hwm_SDSVerifyFailed 
hwm_IllegalHwState 
hwm_RealtekNotLoaded 
hwm_WakeUpDeviceNotSupported 
hwm_ResourceBusy 
hwm_MaxErrorValue 
hwm_PwmNotSupported 
hwm_PwmStereoModuleNotConnected 
hwm_UvcStreamInvalidStreamRequest 
hwm_UvcControlManualExposureInvalid 
hwm_UvcControlManualGainInvalid 
hwm_EyesafetyPayloadFailure 
hwm_ProjectorTestFailed 
hwm_ThreadModifyFailed 
hwm_HotLaserPwrReduce 
hwm_HotLaserDisable 
hwm_FlagBLaserDisable 
hwm_NoStateChange 
hwm_EEPROMIsLocked 
hwm_OEMIdWrong 
hwm_RealtekNotUpdated 
hwm_FunctionNotSupported 
hwm_IspNotImplemented 
hwm_IspNotSupported 
hwm_IspNotPermited 
hwm_IspNotExists 
hwm_IspFail 
hwm_Unknown 
hwm_LastError 

Definition at line 47 of file hw-monitor.h.

Enumerator
IMU_FPS_63 
IMU_FPS_100 
IMU_FPS_200 
IMU_FPS_250 
IMU_FPS_400 

Definition at line 11 of file ds5-motion.h.

Enumerator
get_current 
get_min 
get_max 
get_step 
get_default 

Definition at line 23 of file l500-options.h.

Enumerator
confidence 
post_processing_sharpness 
pre_processing_sharpness 
noise_filtering 
apd 
laser_gain 
min_distance 
invalidation_bypass 
alternate_ir 

Definition at line 10 of file l500-options.h.

md_capture_stat_attributes - bit mask to find enabled attributes in md_capture_stats

Enumerator
exposure_time_attribute 
exposure_compensation_attribute 
iso_speed_attribute 
focus_state_attribute 
lens_posiiton_attribute 
white_balance_attribute 
flash_attribute 
flash_power_attribute 
zoom_factor_attribute 
scene_mode_attribute 
sensor_framerate_attribute 

Definition at line 87 of file src/metadata.h.

md_capture_timing_attributes - enumerate the bit offset to check a specific attribute of md_capture_timing struct for validity. The enumeration includes up to 32 attributes, according to the size of flags parameter in all the defined structs

Enumerator
frame_counter_attribute 
sensor_timestamp_attribute 
readout_time_attribute 
exposure_attribute 
frame_interval_attribute 
pipe_latency_attribute 

Definition at line 75 of file src/metadata.h.

md_configuration_attributes - bit mask to find active attributes, md_configuration struct

Enumerator
hw_type_attribute 
sku_id_attribute 
cookie_attribute 
format_attribute 
width_attribute 
height_attribute 
fps_attribute 
trigger_attribute 
calibration_count_attribute 
gpio_input_data_attribute 
sub_preset_info_attribute 

Definition at line 155 of file src/metadata.h.

md_depth_control_attributes - bit mask to find active attributes, md_depth_control struct

Enumerator
gain_attribute 
exposure_attribute 
laser_pwr_attribute 
ae_mode_attribute 
exposure_priority_attribute 
roi_attribute 
preset_attribute 
emitter_mode_attribute 
led_power_attribute 

Definition at line 104 of file src/metadata.h.

md_fisheye_control_attributes - bit mask to find active attributes, md_fisheye_control struct

Enumerator
gain_attribute 
exposure_attribute 

Definition at line 127 of file src/metadata.h.

md_hid_imu_attributes - bit mask to designate the enabled attributed, md_imu_report struct

Enumerator
source_id_attirbute 
custom_timestamp_attirbute 
imu_counter_attribute 
usb_counter_attribute 

Definition at line 222 of file src/metadata.h.

md_hid_imu_attributes - bit mask to designate the enabled attributed, md_imu_report struct

Enumerator
custom_timestamp_attirbute 
imu_counter_attribute 
usb_counter_attribute 

Definition at line 203 of file src/metadata.h.

md_hid_imu_attributes - bit mask to designate the enabled attributed, md_imu_report struct

Enumerator
hid_report_unknown 
hid_report_imu 
hid_report_custom_temperature 
hid_report_max 

Definition at line 193 of file src/metadata.h.

md_depth_control_attributes - bit mask to find active attributes, md_depth_control struct

Enumerator
laser_power 
preset_id 
laser_power_mode 

Definition at line 119 of file src/metadata.h.

md_rgb_control_attributes - bit mask to find active attributes, md_rgb_control struct

Enumerator
brightness_attribute 
contrast_attribute 
saturation_attribute 
sharpness_attribute 
ae_mode_attribute 
awb_temp_attribute 
gain_attribute 
backlight_comp_attribute 
gamma_attribute 
hue_attribute 
manual_exp_attribute 
manual_wb_attribute 
power_line_frequency_attribute 
low_light_comp_attribute 

Definition at line 135 of file src/metadata.h.

md_stat_attributes - bit mask to find active attributes, md_stat struct

Enumerator
left_sum_attribute 
left_dark_count_attribute 
left_bright_count_attribute 
right_sum_attribute 
right_dark_count_attribute 
right_bright_count_attribute 
red_frame_count_attribute 
left_red_sum_attribute 
left_greeen1_attribute 
left_greeen2_attribute 
left_blue_sum_attribute 
right_red_sum_attribute 
right_greeen1_attribute 
right_greeen2_attribute 
right_blue_sum_attribute 

Definition at line 172 of file src/metadata.h.

md_mode - enumerates the types of metadata modes(structs) supported

Enumerator
META_DATA_INTEL_DEPTH_CONTROL_ID 
META_DATA_INTEL_CAPTURE_TIMING_ID 
META_DATA_INTEL_CONFIGURATION_ID 
META_DATA_INTEL_STAT_ID 
META_DATA_INTEL_FISH_EYE_CONTROL_ID 
META_DATA_INTEL_RGB_CONTROL_ID 
META_DATA_INTEl_FE_FOV_MODEL_ID 
META_DATA_INTEl_FE_CAMERA_EXTRINSICS_ID 
META_DATA_CAPTURE_STATS_ID 
META_DATA_CAMERA_EXTRINSICS_ID 
META_DATA_CAMERA_INTRINSICS_ID 
META_DATA_INTEL_L500_CAPTURE_TIMING_ID 
META_DATA_INTEL_L500_DEPTH_CONTROL_ID 
META_DATA_CAMERA_DEBUG_ID 
META_DATA_HID_IMU_REPORT_ID 
META_DATA_HID_CUSTOM_TEMP_REPORT_ID 

Definition at line 32 of file src/metadata.h.

Enumerator
occlusion_min 
occlusion_none 
occlusion_monotonic_scan 
occlusion_max 

Definition at line 14 of file occlusion-filter.h.

Enumerator
horizontal 
vertical 

Definition at line 21 of file occlusion-filter.h.

Enumerator
PROFILE_TAG_SUPERSET 
PROFILE_TAG_DEFAULT 
PROFILE_TAG_ANY 
PROFILE_TAG_DEBUG 

Definition at line 32 of file streaming.h.

Enumerator
RS2_DFU_DETACH 
RS2_DFU_DOWNLOAD 
RS2_DFU_UPLOAD 
RS2_DFU_GET_STATUS 
RS2_DFU_CLEAR_STATUS 
RS2_DFU_GET_STATE 
RS2_DFU_ABORT 

Definition at line 44 of file fw-update-device.h.

Enumerator
RS2_DFU_STATE_APP_IDLE 
RS2_DFU_STATE_APP_DETACH 
RS2_DFU_STATE_DFU_IDLE 
RS2_DFU_STATE_DFU_DOWNLOAD_SYNC 
RS2_DFU_STATE_DFU_DOWNLOAD_BUSY 
RS2_DFU_STATE_DFU_DOWNLOAD_IDLE 
RS2_DFU_STATE_DFU_MANIFEST_SYNC 
RS2_DFU_STATE_DFU_MANIFEST 
RS2_DFU_STATE_DFU_MANIFEST_WAIT_RESET 
RS2_DFU_STATE_DFU_UPLOAD_IDLE 
RS2_DFU_STATE_DFU_ERROR 

Definition at line 30 of file fw-update-device.h.

Enumerator
RS2_DFU_STATUS_OK 
RS2_DFU_STATUS_TARGET 
RS2_DFU_STATUS_FILE 
RS2_DFU_STATUS_WRITE 
RS2_DFU_STATUS_ERASE 
RS2_DFU_STATUS_CHECK_ERASED 
RS2_DFU_STATUS_PROG 
RS2_DFU_STATUS_VERIFY 
RS2_DFU_STATUS_ADDRESS 
RS2_DFU_STATUS_NOTDONE 
RS2_DFU_STATUS_FIRMWARE 
RS2_DFU_STATUS_VENDOR 
RS2_DFU_STATUS_USBR 
RS2_DFU_STATUS_POR 
RS2_DFU_STATUS_UNKNOWN 
RS2_DFU_STATUS_STALLEDPKT 

Definition at line 11 of file fw-update-device.h.

Enumerator
RS2_DSC_STATUS_SUCCESS 

Self calibration succeeded

RS2_DSC_STATUS_RESULT_NOT_READY 

Self calibration result is not ready yet

RS2_DSC_STATUS_FILL_FACTOR_TOO_LOW 

There are too little textures in the scene

RS2_DSC_STATUS_EDGE_TOO_CLOSE 

Self calibration range is too small

RS2_DSC_STATUS_NOT_CONVERGE 

For tare calibration only

RS2_DSC_STATUS_BURN_SUCCESS 
RS2_DSC_STATUS_BURN_ERROR 
RS2_DSC_STATUS_NO_DEPTH_AVERAGE 

Definition at line 63 of file ds5-auto-calibration.cpp.

Enumerator
py_scan 
rx_scan 

Definition at line 114 of file ds5-auto-calibration.cpp.

Enumerator
sp_hf_disabled 
sp_hf_2_pixel_radius 
sp_hf_4_pixel_radius 
sp_hf_8_pixel_radius 
sp_hf_16_pixel_radius 
sp_hf_unlimited_radius 
sp_hf_max_value 

Definition at line 16 of file spatial-filter.cpp.

Enumerator
very_high 
high 
medium 
low 

Definition at line 100 of file ds5-auto-calibration.cpp.

Enumerator
TEMPERATURE_TYPE_ASIC 
TEMPERATURE_TYPE_MOTION 

Definition at line 150 of file tm-device.cpp.

Enumerator
RS2_OPTION_FILTER_ZO_IR_THRESHOLD 

IR min threshold used by zero order filter

RS2_OPTION_FILTER_ZO_RTD_HIGH_THRESHOLD 

RTD high threshold used by zero order filter

RS2_OPTION_FILTER_ZO_RTD_LOW_THRESHOLD 

RTD low threshold used by zero order filter

RS2_OPTION_FILTER_ZO_BASELINE 

baseline of camera used by zero order filter

RS2_OPTION_FILTER_ZO_PATCH_SIZE 

patch size used by zero order filter

RS2_OPTION_FILTER_ZO_MAX_VALUE 

z max value used by zero order filter

RS2_OPTION_FILTER_ZO_IR_MIN_VALUE 

ir min value used by zero order filter

RS2_OPTION_FILTER_ZO_THRESHOLD_OFFSET 

threshold offset used by zero order filter

RS2_OPTION_FILTER_ZO_THRESHOLD_SCALE 

threshold scale used by zero order filter

Definition at line 12 of file zero-order.cpp.

Function Documentation

template<class GET_DEPTH , class TRANSFER_PIXEL >
void librealsense::align_images ( const rs2_intrinsics depth_intrin,
const rs2_extrinsics depth_to_other,
const rs2_intrinsics other_intrin,
GET_DEPTH  get_depth,
TRANSFER_PIXEL  transfer_pixel 
)

Definition at line 19 of file align.cpp.

template<class GET_DEPTH >
void librealsense::align_other_to_depth ( byte other_aligned_to_depth,
GET_DEPTH  get_depth,
const rs2_intrinsics depth_intrin,
const rs2_extrinsics depth_to_other,
const rs2_intrinsics other_intrin,
const byte other_pixels,
rs2_format  other_format 
)

Definition at line 103 of file align.cpp.

template<int N, class GET_DEPTH >
void librealsense::align_other_to_depth_bytes ( byte other_aligned_to_depth,
GET_DEPTH  get_depth,
const rs2_intrinsics depth_intrin,
const rs2_extrinsics depth_to_other,
const rs2_intrinsics other_intrin,
const byte other_pixels 
)

Definition at line 94 of file align.cpp.

template<typename T >
constexpr size_t librealsense::arr_size ( T const &  )

Definition at line 105 of file src/types.h.

template<typename T , size_t sz>
constexpr size_t librealsense::arr_size ( T(&)  arr[sz])

Definition at line 108 of file src/types.h.

template<typename T , size_t sz>
constexpr size_t librealsense::arr_size_bytes ( T(&)  arr[sz])

Definition at line 114 of file src/types.h.

template<typename T >
std::string librealsense::array2str ( T &  data)

Definition at line 120 of file src/types.h.

template<typename T , typename P >
std::shared_ptr<T> librealsense::As ( std::shared_ptr< P >  ptr)
inline

Definition at line 88 of file extension.h.

template<typename T , typename P >
T* librealsense::As ( P *  ptr)
inline

Definition at line 94 of file extension.h.

std::string librealsense::async_op_to_string ( tm2_sensor::async_op_state  val)

Definition at line 1601 of file tm-device.cpp.

uint32_t librealsense::calc_crc32 ( const uint8_t buf,
size_t  bufsize 
)

Calculate CRC code for arbitrary characters buffer.

Definition at line 803 of file types.cpp.

float3x3 librealsense::calc_rotation_from_rodrigues_angles ( const std::vector< double >  rot)

Convert orientation angles stored in rodrigues conventions to rotation matrix for details: http://mesh.brown.edu/en193s08-2003/notes/en193s08-rots.pdf

Definition at line 698 of file types.cpp.

bool librealsense::check_not_all_zeros ( std::vector< byte data)
inline

Definition at line 1511 of file src/types.h.

template<typename T >
T librealsense::clamp_val ( val,
const T &  min,
const T &  max 
)
inline

Definition at line 250 of file src/types.h.

void librealsense::convert ( rs2_format  source,
std::string target 
)
inline

Definition at line 43 of file ros_file_format.h.

template<typename T >
bool librealsense::convert ( const std::string source,
T &  target 
)
inline

Definition at line 61 of file ros_file_format.h.

template<>
bool librealsense::convert ( const std::string source,
rs2_format target 
)
inline

Definition at line 73 of file ros_file_format.h.

template<>
bool librealsense::convert ( const std::string source,
double &  target 
)
inline

Definition at line 122 of file ros_file_format.h.

template<>
bool librealsense::convert ( const std::string source,
long long &  target 
)
inline

Definition at line 129 of file ros_file_format.h.

bool librealsense::convert ( const geometry_msgs::Transform source,
rs2_extrinsics target 
)
inline

Definition at line 195 of file ros_file_format.h.

bool librealsense::convert ( const rs2_extrinsics source,
geometry_msgs::Transform target 
)
inline

Definition at line 204 of file ros_file_format.h.

void librealsense::copy ( void dst,
void const *  src,
size_t  size 
)

Definition at line 836 of file types.cpp.

template<const bool force_narrowing = false, typename T , typename S , size_t tgt_m, size_t tgt_n, size_t src_m, size_t src_n>
size_t librealsense::copy_2darray ( T(&)  dst[tgt_m][tgt_n],
const S(&)  src[src_m][src_n] 
)
inline

Definition at line 151 of file src/types.h.

template<const bool force_narrowing = false, typename T , typename S , size_t size_tgt, size_t size_src>
size_t librealsense::copy_array ( T(&)  dst[size_tgt],
const S(&)  src[size_src] 
)
inline

Definition at line 133 of file src/types.h.

void librealsense::copy_frames ( frame_holder  from,
frame_interface **&  target 
)

Definition at line 437 of file synthetic-stream.cpp.

template<rs2_format FORMAT>
void librealsense::copy_hid_axes ( byte *const  dest[],
const byte source,
double  factor 
)

Definition at line 11 of file motion-transform.cpp.

void librealsense::copy_raw10 ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 81 of file depth-formats-converter.cpp.

std::shared_ptr< librealsense::align > librealsense::create_align ( rs2_stream  align_to)

Definition at line 25 of file processing-blocks-factory.cpp.

template<class callback >
calibration_change_callback_ptr librealsense::create_calibration_change_callback_ptr ( callback &&  cb)

Definition at line 108 of file pointcloud.cpp.

std::shared_ptr<matcher> librealsense::create_composite_matcher ( std::vector< std::shared_ptr< matcher >>  matchers)
inline

Definition at line 1137 of file ds5-factory.cpp.

std::string librealsense::create_composite_name ( const std::vector< std::shared_ptr< matcher >> &  matchers,
const std::string name 
)

Definition at line 91 of file sync.cpp.

static rs2_stream librealsense::custom_gpio_to_stream_type ( uint32_t  custom_gpio)
static

Definition at line 773 of file sensor.cpp.

void librealsense::d415_remove_ir ( preset p)

Definition at line 823 of file presets.cpp.

void librealsense::d460_remove_ir ( preset p)

Definition at line 839 of file presets.cpp.

std::string librealsense::datetime_string ( )
inline

Definition at line 1516 of file src/types.h.

void librealsense::default_400 ( preset p)

Definition at line 8 of file presets.cpp.

void librealsense::default_405 ( preset p)

Definition at line 76 of file presets.cpp.

void librealsense::default_410 ( preset p)

Definition at line 146 of file presets.cpp.

void librealsense::default_420 ( preset p)

Definition at line 216 of file presets.cpp.

void librealsense::default_430 ( preset p)

Definition at line 284 of file presets.cpp.

rs2_intrinsics librealsense::denormalize ( const rs2_intrinsics intr,
const uint32_t width,
const uint32_t height 
)

Definition at line 284 of file l500-color.cpp.

template<class MAP_DEPTH >
void librealsense::deproject_depth ( float *  points,
const rs2_intrinsics intrin,
const uint16_t depth,
MAP_DEPTH  map_depth 
)

Definition at line 26 of file pointcloud.cpp.

template<class T >
void librealsense::detect_zero_order ( const double *  rtd,
const uint16_t depth_data_in,
const uint8_t ir_data,
zero_pixel,
const rs2_intrinsics intrinsics,
const zero_order_options options,
double  zo_value,
uint8_t  iro_value 
)

Definition at line 116 of file zero-order.cpp.

void librealsense::enable_rolling_log_file ( unsigned  max_size)
inline

Definition at line 64 of file log.cpp.

std::pair<double, double> librealsense::extract_timestamps ( frame_holder a,
frame_holder b 
)

Definition at line 470 of file sync.cpp.

bool librealsense::file_exists ( const char *  filename)

Definition at line 81 of file types.cpp.

std::vector< platform::uvc_device_info > librealsense::filter_by_mi ( const std::vector< platform::uvc_device_info > &  devices,
uint32_t  mi 
)

Definition at line 644 of file context.cpp.

std::vector< platform::uvc_device_info > librealsense::filter_by_product ( const std::vector< platform::uvc_device_info > &  devices,
const std::set< uint16_t > &  pid_list 
)

Definition at line 478 of file context.cpp.

std::vector< platform::usb_device_info > librealsense::filter_by_product ( const std::vector< platform::usb_device_info > &  devices,
const std::set< uint16_t > &  pid_list 
)

Definition at line 490 of file context.cpp.

std::vector<std::shared_ptr<device_info> > librealsense::filter_by_vid ( std::vector< std::shared_ptr< device_info >>  devices,
int  vid 
)

Definition at line 14 of file device_hub.cpp.

stream_interface * librealsense::find_profile ( rs2_stream  stream,
int  index,
std::vector< stream_interface * >  profiles 
)

Definition at line 29 of file device.cpp.

std::string librealsense::frame_holder_to_string ( const frame_holder f)

Definition at line 9 of file streaming.cpp.

std::string librealsense::frame_to_string ( const frame_interface f)

Definition at line 14 of file streaming.cpp.

rs2_extrinsics librealsense::from_pose ( pose  a)
inline

Definition at line 602 of file src/types.h.

rs2_extrinsics librealsense::from_raw_extrinsics ( rs2_extrinsics  extr)

Definition at line 39 of file types.cpp.

int librealsense::gcd ( int  a,
int  b 
)

Definition at line 39 of file occlusion-filter.cpp.

std::vector<uint8_t> librealsense::generate_json ( const preset in_preset)
inline

Definition at line 445 of file json_loader.hpp.

processing_blocks librealsense::get_color_recommended_proccesing_blocks ( )

Definition at line 216 of file sensor.cpp.

processing_blocks librealsense::get_depth_recommended_proccesing_blocks ( )

Definition at line 228 of file sensor.cpp.

constexpr uint32_t librealsense::get_device_index ( )

Definition at line 565 of file ros_file_format.h.

processing_blocks librealsense::get_ds5_depth_recommended_proccesing_blocks ( )

Definition at line 1239 of file ds5-device.cpp.

int librealsense::get_embeded_frames_size ( frame_interface f)

Definition at line 429 of file synthetic-stream.cpp.

constexpr uint32_t librealsense::get_file_version ( )

Incremental number of the RealSense file format version Since we maintain backward compatability, changes to topics/messages are reflected by the version

Definition at line 555 of file ros_file_format.h.

std::string librealsense::get_formatted_fw_version ( uint32_t  fw_last_version)

Definition at line 18 of file fw-update-device.cpp.

int librealsense::get_image_bpp ( rs2_format  format)

Definition at line 21 of file image.cpp.

size_t librealsense::get_image_size ( int  width,
int  height,
rs2_format  format 
)

Definition at line 14 of file image.cpp.

platform::uvc_device_info librealsense::get_mi ( const std::vector< platform::uvc_device_info > &  devices,
uint32_t  mi 
)

Definition at line 634 of file context.cpp.

constexpr uint32_t librealsense::get_minimum_supported_file_version ( )

Definition at line 560 of file ros_file_format.h.

double librealsense::get_pixel_rtd ( const rs2::vertex v,
int  baseline 
)

Definition at line 25 of file zero-order.cpp.

int librealsense::get_product_line ( const platform::usb_device_info usb_info)

Definition at line 71 of file fw-update-factory.cpp.

constexpr device_serializer::nanoseconds librealsense::get_static_file_info_timestamp ( )

Definition at line 570 of file ros_file_format.h.

const char* librealsense::get_string ( rs2_rs400_visual_preset  value)

Definition at line 20 of file rs_advanced_mode.cpp.

const char* librealsense::get_string ( rs2_gl_extension  value)

Definition at line 39 of file src/gl/rs-gl.cpp.

const char* librealsense::get_string ( rs2_gl_matrix_type  value)

Definition at line 55 of file src/gl/rs-gl.cpp.

const char* librealsense::get_string ( rs2_exception_type  value)

Definition at line 113 of file types.cpp.

const char* librealsense::get_string ( rs2_stream  value)

Definition at line 131 of file types.cpp.

const char* librealsense::get_string ( rs2_sr300_visual_preset  value)

Definition at line 151 of file types.cpp.

const char* librealsense::get_string ( rs2_sensor_mode  value)

Definition at line 172 of file types.cpp.

const char* librealsense::get_string ( rs2_calibration_type  type)

Definition at line 185 of file types.cpp.

const char* librealsense::get_string ( rs2_calibration_status  value)

Definition at line 198 of file types.cpp.

const char* librealsense::get_string ( rs2_ambient_light  value)

Definition at line 219 of file types.cpp.

const char* librealsense::get_string ( rs2_digital_gain  value)

Definition at line 231 of file types.cpp.

const char* librealsense::get_string ( rs2_cah_trigger  value)

Definition at line 243 of file types.cpp.

const char* librealsense::get_string ( rs2_host_perf_mode  value)

Definition at line 256 of file types.cpp.

const char* librealsense::get_string ( rs2_extension  value)

Definition at line 269 of file types.cpp.

const char* librealsense::get_string ( rs2_playback_status  value)

Definition at line 335 of file types.cpp.

const char* librealsense::get_string ( rs2_log_severity  value)

Definition at line 349 of file types.cpp.

const char* librealsense::get_string ( rs2_option  value)

Definition at line 365 of file types.cpp.

const char* librealsense::get_string ( rs2_format  value)

Definition at line 463 of file types.cpp.

const char* librealsense::get_string ( rs2_distortion  value)

Definition at line 503 of file types.cpp.

const char* librealsense::get_string ( rs2_camera_info  value)

Definition at line 519 of file types.cpp.

const char* librealsense::get_string ( rs2_frame_metadata_value  value)

Definition at line 543 of file types.cpp.

const char* librealsense::get_string ( rs2_timestamp_domain  value)

Definition at line 589 of file types.cpp.

const char* librealsense::get_string ( rs2_calib_target_type  value)

Definition at line 602 of file types.cpp.

const char* librealsense::get_string ( rs2_notification_category  value)

Definition at line 613 of file types.cpp.

const char* librealsense::get_string ( rs2_matchers  value)

Definition at line 629 of file types.cpp.

const char* librealsense::get_string ( rs2_l500_visual_preset  value)

Definition at line 645 of file types.cpp.

std::tuple<uint8_t, uint8_t, uint8_t> librealsense::get_texcolor ( const frame_holder texture,
float  u,
float  v 
)

Definition at line 33 of file archive.cpp.

template<typename T >
T librealsense::get_zo_point_value ( std::vector< T > &  values)

Definition at line 61 of file zero-order.cpp.

template<typename T >
std::vector<T> librealsense::get_zo_point_values ( const T *  frame_data_in,
const rs2_intrinsics intrinsics,
int  zo_point_x,
int  zo_point_y,
int  patch_r 
)

Definition at line 44 of file zero-order.cpp.

std::vector< std::pair< std::vector< platform::uvc_device_info >, std::vector< platform::hid_device_info > > > librealsense::group_devices_and_hids_by_unique_id ( const std::vector< std::vector< platform::uvc_device_info >> &  devices,
const std::vector< platform::hid_device_info > &  hids 
)

Definition at line 501 of file context.cpp.

std::vector< std::vector< platform::uvc_device_info > > librealsense::group_devices_by_unique_id ( const std::vector< platform::uvc_device_info > &  devices)

Definition at line 583 of file context.cpp.

void librealsense::hand_gesture ( preset p)

Definition at line 770 of file presets.cpp.

template<class T >
std::string librealsense::hexify ( const T &  val)

Definition at line 185 of file src/types.h.

void librealsense::high_res_high_accuracy ( preset p)

Definition at line 353 of file presets.cpp.

void librealsense::high_res_high_density ( preset p)

Definition at line 398 of file presets.cpp.

void librealsense::high_res_mid_density ( preset p)

Definition at line 443 of file presets.cpp.

std::string librealsense::hwmon_error2str ( hwmon_response  e)
inline

Definition at line 188 of file hw-monitor.h.

std::string librealsense::hwmon_error_string ( command const &  cmd,
hwmon_response  e 
)

Definition at line 177 of file hw-monitor.cpp.

rs2_extrinsics librealsense::identity_matrix ( )
inline

Definition at line 611 of file src/types.h.

parsers_map librealsense::initialize_field_parsers ( preset_param_group p)
inline

Definition at line 287 of file json_loader.hpp.

template<class T , typename S >
void librealsense::insert_control_to_map ( parsers_map map,
bool  was_set,
const std::string name,
param_group< T > &  control,
field 
)

Definition at line 254 of file json_loader.hpp.

template<class T , typename S >
void librealsense::insert_string_control_to_map ( parsers_map map,
bool  was_set,
const std::string name,
param_group< T > &  control,
field,
const std::map< std::string, float > &  values 
)

Definition at line 262 of file json_loader.hpp.

pose librealsense::inverse ( const pose a)
inline

Definition at line 592 of file src/types.h.

rs2_extrinsics librealsense::inverse ( const rs2_extrinsics a)
inline

Definition at line 620 of file src/types.h.

template<typename T , typename P >
bool librealsense::Is ( std::shared_ptr< P >  ptr)
inline

Definition at line 100 of file extension.h.

template<typename T , typename P >
bool librealsense::Is ( P *  ptr)
inline

Definition at line 106 of file extension.h.

bool librealsense::is_l500_recovery ( platform::rs_usb_device  usb,
bool &  is_l500_device 
)

Definition at line 19 of file fw-update-factory.cpp.

bool librealsense::is_z_or_disparity ( rs2_format  format)

Definition at line 275 of file synthetic-stream.cpp.

resolution librealsense::l500_confidence_resolution ( resolution  res)

Definition at line 65 of file image.cpp.

template<class T >
bool librealsense::list_changed ( const std::vector< T > &  list1,
const std::vector< T > &  list2,
std::function< bool(T, T)>  equal = [](T first, T second) { return first == second; } 
)

Definition at line 42 of file backend.h.

static void librealsense::log_FW_response_first_byte ( hw_monitor hwm,
const std::string command_name,
const command cmd,
size_t  expected_size 
)
static

Definition at line 647 of file l500-device.cpp.

void librealsense::log_to_callback ( rs2_log_severity  min_severity,
log_callback_ptr  callback 
)

Definition at line 54 of file log.cpp.

void librealsense::log_to_console ( rs2_log_severity  min_severity)
inline

Definition at line 44 of file log.cpp.

void librealsense::log_to_file ( rs2_log_severity  min_severity,
const char *  file_path 
)
inline

Definition at line 49 of file log.cpp.

void librealsense::low_res_high_accuracy ( preset p)

Definition at line 488 of file presets.cpp.

void librealsense::low_res_high_density ( preset p)

Definition at line 535 of file presets.cpp.

void librealsense::low_res_mid_density ( preset p)

Definition at line 582 of file presets.cpp.

template<class St , class Attribute >
std::shared_ptr<md_attribute_parser_base> librealsense::make_additional_data_parser ( Attribute St::*  attribute)

A utility function to create additional_data parser.

Definition at line 285 of file metadata-parser.h.

std::shared_ptr< archive_interface > librealsense::make_archive ( rs2_extension  type,
std::atomic< uint32_t > *  in_max_frame_queue_size,
std::shared_ptr< platform::time_service ts,
std::shared_ptr< metadata_parser_map parsers 
)

Definition at line 158 of file archive.cpp.

template<class S , class Attribute , typename Flag >
std::shared_ptr<md_attribute_parser_base> librealsense::make_attribute_parser ( Attribute S::*  attribute,
Flag  flag,
unsigned long long  offset,
attrib_modifyer  mod = nullptr 
)

A helper function to create a specialized attribute parser. Return it as a pointer to a base-class.

Definition at line 177 of file metadata-parser.h.

template<class T >
frame_callback_ptr librealsense::make_callback ( callback)

Definition at line 1468 of file sensor.cpp.

template<class T , class S >
std::shared_ptr<json_field> librealsense::make_field ( T &  strct,
S T::group_type::*  field,
float  scale = 1.0f,
bool  is_duplicated_field = false 
)

Definition at line 216 of file json_loader.hpp.

template<class T , class R , class W , class U >
std::shared_ptr<struct_field_option<T, R, W, U> > librealsense::make_field_option ( std::shared_ptr< struct_interface< T, R, W >>  struct_interface,
U T::*  field,
const option_range range 
)

Definition at line 481 of file option.h.

template<class T >
frame_callback_ptr librealsense::make_frame_callback ( callback)

Definition at line 566 of file l500-color.cpp.

template<class St , class Attribute >
std::shared_ptr<md_attribute_parser_base> librealsense::make_hid_header_parser ( Attribute St::*  attribute,
attrib_modifyer  mod = nullptr 
)

A utility function to create HID metadata header parser.

Definition at line 254 of file metadata-parser.h.

std::shared_ptr<json_field> librealsense::make_ignored_field ( )

Definition at line 236 of file json_loader.hpp.

template<class T , class S >
std::shared_ptr<json_field> librealsense::make_invert_field ( T &  strct,
S T::group_type::*  field,
bool  is_duplicated_field = false 
)

Definition at line 242 of file json_loader.hpp.

std::string librealsense::make_less_screamy ( const char *  str)

Definition at line 52 of file types.cpp.

std::shared_ptr<md_attribute_parser_base> librealsense::make_rs400_sensor_ts_parser ( std::shared_ptr< md_attribute_parser_base frame_ts_parser,
std::shared_ptr< md_attribute_parser_base sensor_ts_parser 
)
inline

A helper function to create a specialized parser for RS4xx sensor timestamp.

Definition at line 406 of file metadata-parser.h.

template<class S , class Attribute >
std::shared_ptr<md_attribute_parser_base> librealsense::make_sr300_attribute_parser ( Attribute S::*  attribute,
unsigned long long  offset,
attrib_modifyer  mod = nullptr 
)

A helper function to create a specialized attribute parser. Return it as a pointer to a base-class.

Definition at line 452 of file metadata-parser.h.

template<class T , class S >
std::shared_ptr<json_field> librealsense::make_string_field ( T &  strct,
S T::group_type::*  field,
const std::map< std::string, float > &  values,
bool  is_duplicated_field = false 
)

Definition at line 227 of file json_loader.hpp.

template<class T , class R , class W >
std::shared_ptr<struct_interface<T, R, W> > librealsense::make_struct_interface ( r,
W  w 
)

Definition at line 879 of file src/types.h.

template<class St , class Attribute >
std::shared_ptr<md_attribute_parser_base> librealsense::make_uvc_header_parser ( Attribute St::*  attribute,
attrib_modifyer  mod = nullptr 
)

A utility function to create UVC metadata header parser.

Definition at line 214 of file metadata-parser.h.

librealsense::MAP_ADVANCED_MODE ( STDepthControlGroup  ,
etDepthControl   
)
librealsense::MAP_ADVANCED_MODE ( STRsm  ,
etRsm   
)
librealsense::MAP_ADVANCED_MODE ( STRauSupportVectorControl  ,
etRauSupportVectorControl   
)
librealsense::MAP_ADVANCED_MODE ( STColorControl  ,
etColorControl   
)
librealsense::MAP_ADVANCED_MODE ( STRauColorThresholdsControl  ,
etRauColorThresholdsControl   
)
librealsense::MAP_ADVANCED_MODE ( STSloColorThresholdsControl  ,
etSloColorThresholdsControl   
)
librealsense::MAP_ADVANCED_MODE ( STSloPenaltyControl  ,
etSloPenaltyControl   
)
librealsense::MAP_ADVANCED_MODE ( STHdad  ,
etHdad   
)
librealsense::MAP_ADVANCED_MODE ( STColorCorrection  ,
etColorCorrection   
)
librealsense::MAP_ADVANCED_MODE ( STDepthTableControl  ,
etDepthTableControl   
)
librealsense::MAP_ADVANCED_MODE ( STAEControl  ,
etAEControl   
)
librealsense::MAP_ADVANCED_MODE ( STCensusRadius  ,
etCencusRadius9   
)
librealsense::MAP_ADVANCED_MODE ( STAFactor  ,
etAFactor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DEBUG_STREAM_SENSOR  ,
debug_stream_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR  ,
max_usable_range_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_SERIALIZABLE  ,
serializable_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DEBUG  ,
librealsense::debug_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_CALIBRATION_CHANGE_DEVICE  ,
calibration_change_device   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_INFO  ,
librealsense::info_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_AUTO_CALIBRATED_DEVICE  ,
auto_calibrated_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_CALIBRATED_SENSOR  ,
calibrated_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_FW_LOGGER  ,
librealsense::firmware_logger_extensions   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DEVICE_CALIBRATION  ,
device_calibration   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_SEQUENCE_ID_FILTER  ,
librealsense::sequence_id_filter   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_VIDEO  ,
librealsense::video_sensor_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_UPDATE_DEVICE  ,
update_device_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_THRESHOLD_FILTER  ,
librealsense::threshold   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_UPDATABLE  ,
updatable   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_POSE_SENSOR  ,
librealsense::pose_sensor_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DECIMATION_FILTER  ,
librealsense::decimation_filter   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_WHEEL_ODOMETER  ,
librealsense::wheel_odometry_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_OPTIONS  ,
librealsense::options_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_HDR_MERGE  ,
librealsense::hdr_merge   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_ROI  ,
librealsense::roi_sensor_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_TM2  ,
librealsense::tm2_extensions   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DISPARITY_FILTER  ,
librealsense::disparity_transform   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_TM2_SENSOR  ,
librealsense::tm2_sensor_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_ZERO_ORDER_FILTER  ,
librealsense::zero_order   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_RECORD  ,
record_device   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_PLAYBACK  ,
playback_device   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_TEMPORAL_FILTER  ,
librealsense::temporal_filter   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_GLOBAL_TIMER  ,
librealsense::global_time_interface   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_MOTION_SENSOR  ,
librealsense::motion_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_SOFTWARE_SENSOR  ,
software_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_SOFTWARE_DEVICE  ,
software_device   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_FISHEYE_SENSOR  ,
librealsense::fisheye_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_HOLE_FILLING_FILTER  ,
librealsense::hole_filling_filter   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_POINTS  ,
librealsense::points   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_COMPOSITE_FRAME  ,
librealsense::composite_frame   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_SPATIAL_FILTER  ,
librealsense::spatial_filter   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_VIDEO_FRAME  ,
librealsense::video_frame   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_COLOR_SENSOR  ,
librealsense::color_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DEPTH_SENSOR  ,
librealsense::depth_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DEPTH_STEREO_SENSOR  ,
librealsense::depth_stereo_sensor   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DEPTH_FRAME  ,
librealsense::depth_frame   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_DISPARITY_FRAME  ,
librealsense::disparity_frame   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_MOTION_FRAME  ,
librealsense::motion_frame   
)
librealsense::MAP_EXTENSION ( RS2_EXTENSION_POSE_FRAME  ,
librealsense::pose_frame   
)
int librealsense::maxDivisorRange ( int  a,
int  b,
int  lo,
int  hi 
)

Definition at line 46 of file occlusion-filter.cpp.

std::vector< uint8_t > librealsense::merge_images ( flash_info  from,
flash_info  to,
const std::vector< uint8_t image 
)

Definition at line 57 of file fw-update-unsigned.cpp.

bool librealsense::mi_present ( const std::vector< platform::uvc_device_info > &  devices,
uint32_t  mi 
)

Definition at line 624 of file context.cpp.

void librealsense::mid_res_high_accuracy ( preset p)

Definition at line 629 of file presets.cpp.

void librealsense::mid_res_high_density ( preset p)

Definition at line 676 of file presets.cpp.

void librealsense::mid_res_mid_density ( preset p)

Definition at line 723 of file presets.cpp.

double librealsense::monotonic_to_realtime ( double  monotonic)

Definition at line 26 of file backend.cpp.

rs2_intrinsics librealsense::normalize ( const rs2_intrinsics intr)

Definition at line 272 of file l500-color.cpp.

float3 librealsense::operator* ( const float3 a,
float  b 
)
inline

Definition at line 581 of file src/types.h.

float3 librealsense::operator* ( const float3x3 a,
const float3 b 
)
inline

Definition at line 586 of file src/types.h.

float3x3 librealsense::operator* ( const float3x3 a,
const float3x3 b 
)
inline

Definition at line 587 of file src/types.h.

float3 librealsense::operator* ( const pose a,
const float3 b 
)
inline

Definition at line 590 of file src/types.h.

pose librealsense::operator* ( const pose a,
const pose b 
)
inline

Definition at line 591 of file src/types.h.

float3 librealsense::operator+ ( const float3 a,
const float3 b 
)
inline

Definition at line 579 of file src/types.h.

float4 librealsense::operator+ ( const float4 a,
const float4 b 
)
inline

Definition at line 583 of file src/types.h.

float3 librealsense::operator- ( const float3 a,
const float3 b 
)
inline

Definition at line 580 of file src/types.h.

float4 librealsense::operator- ( const float4 a,
const float4 b 
)
inline

Definition at line 584 of file src/types.h.

bool librealsense::operator< ( const stream_profile lhs,
const stream_profile rhs 
)
inline

Definition at line 694 of file src/types.h.

std::ostream& librealsense::operator<< ( std::ostream &  os,
const stream_profiles profiles 
)
inline

Definition at line 168 of file streaming.h.

std::ostream& librealsense::operator<< ( std::ostream &  out,
const frame_interface f 
)
inline

Definition at line 181 of file streaming.h.

std::ostream& librealsense::operator<< ( std::ostream &  stream,
const float3 elem 
)
inline

Definition at line 628 of file src/types.h.

std::ostream& librealsense::operator<< ( std::ostream &  stream,
const float4 elem 
)
inline

Definition at line 633 of file src/types.h.

std::ostream& librealsense::operator<< ( std::ostream &  stream,
const float3x3 elem 
)
inline

Definition at line 638 of file src/types.h.

std::ostream& librealsense::operator<< ( std::ostream &  stream,
const pose elem 
)
inline

Definition at line 643 of file src/types.h.

bool librealsense::operator== ( const hdr_params first,
const hdr_params second 
)
inline

Definition at line 23 of file hdr-config.h.

bool librealsense::operator== ( const float3 a,
const float3 b 
)
inline

Definition at line 578 of file src/types.h.

bool librealsense::operator== ( const float4 a,
const float4 b 
)
inline

Definition at line 582 of file src/types.h.

bool librealsense::operator== ( const float3x3 a,
const float3x3 b 
)
inline

Definition at line 585 of file src/types.h.

bool librealsense::operator== ( const pose a,
const pose b 
)
inline

Definition at line 589 of file src/types.h.

bool librealsense::operator== ( const stream_profile a,
const stream_profile b 
)
inline

Definition at line 683 of file src/types.h.

bool librealsense::operator== ( const rs2_intrinsics a,
const rs2_intrinsics b 
)
inline

Definition at line 1155 of file src/types.h.

bool librealsense::operator== ( const uvc_device_info a,
const uvc_device_info b 
)
inline

Definition at line 1272 of file src/types.h.

bool librealsense::operator== ( const usb_device_info a,
const usb_device_info b 
)
inline

Definition at line 1305 of file src/types.h.

bool librealsense::operator== ( const hid_device_info a,
const hid_device_info b 
)
inline

Definition at line 1336 of file src/types.h.

md_hid_imu_attributes librealsense::operator| ( md_hid_imu_attributes  l,
md_hid_imu_attributes  r 
)
inline

Definition at line 210 of file src/metadata.h.

md_hid_imu_attributes librealsense::operator|= ( md_hid_imu_attributes  l,
md_hid_imu_attributes  r 
)
inline

Definition at line 215 of file src/metadata.h.

template<class pixelvalue >
pixelvalue librealsense::opt_med3 ( pixelvalue *  p)
inline

Definition at line 34 of file decimation-filter.cpp.

template<class pixelvalue >
pixelvalue librealsense::opt_med4 ( pixelvalue *  p)
inline

Definition at line 47 of file decimation-filter.cpp.

template<class pixelvalue >
pixelvalue librealsense::opt_med5 ( pixelvalue *  p)
inline

Definition at line 66 of file decimation-filter.cpp.

template<class pixelvalue >
pixelvalue librealsense::opt_med6 ( pixelvalue *  p)
inline

Definition at line 89 of file decimation-filter.cpp.

template<class pixelvalue >
pixelvalue librealsense::opt_med7 ( pixelvalue *  p)
inline

Definition at line 116 of file decimation-filter.cpp.

template<class pixelvalue >
pixelvalue librealsense::opt_med8 ( pixelvalue *  p)
inline

Definition at line 138 of file decimation-filter.cpp.

template<class pixelvalue >
pixelvalue librealsense::opt_med9 ( pixelvalue *  p)
inline

Definition at line 174 of file decimation-filter.cpp.

uint32_t librealsense::pack ( uint8_t  c0,
uint8_t  c1,
uint8_t  c2,
uint8_t  c3 
)
inline

Definition at line 1157 of file src/types.h.

rs2_intrinsics librealsense::pad_crop_intrinsics ( const rs2_intrinsics i,
int  pad_crop 
)
inline

Definition at line 1142 of file src/types.h.

flash_section librealsense::parse_flash_section ( const std::vector< uint8_t > &  flash_buffer,
flash_table  toc,
flash_structure  s 
)

Definition at line 94 of file fw-update-unsigned.cpp.

std::vector< flash_payload_header > librealsense::parse_payloads ( const std::vector< uint8_t > &  flash_buffer,
size_t  number_of_payloads 
)

Definition at line 9 of file fw-update-unsigned.cpp.

flash_table librealsense::parse_table_of_contents ( const std::vector< uint8_t > &  flash_buffer,
uint32_t  toc_offset 
)

Definition at line 80 of file fw-update-unsigned.cpp.

std::vector< flash_table > librealsense::parse_tables ( const std::vector< uint8_t > &  flash_buffer,
flash_table  toc,
flash_structure  structure 
)

Definition at line 23 of file fw-update-unsigned.cpp.

float2 librealsense::pixel_to_texcoord ( const rs2_intrinsics intrin,
const float2 pixel 
)

Definition at line 49 of file pointcloud.cpp.

float2 librealsense::project ( const rs2_intrinsics intrin,
const float3 point 
)

Definition at line 48 of file pointcloud.cpp.

float2 librealsense::project_to_texcoord ( const rs2_intrinsics intrin,
const float3 point 
)

Definition at line 50 of file pointcloud.cpp.

void librealsense::quat2rot ( const geometry_msgs::Transform::_rotation_type q,
float(&)  r[9] 
)
inline

Definition at line 146 of file ros_file_format.h.

rs2_sensor_mode librealsense::query_sensor_mode ( option resolution)

Definition at line 15 of file l500-options.cpp.

void librealsense::reset_logger ( )
inline

Definition at line 59 of file log.cpp.

void librealsense::rot2quat ( const float(&)  r[9],
geometry_msgs::Transform::_rotation_type q 
)
inline

Definition at line 159 of file ros_file_format.h.

void librealsense::rotate_confidence ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 63 of file rotation-transform.cpp.

template<size_t SIZE>
void librealsense::rotate_image ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 46 of file rotation-transform.cpp.

template<size_t SIZE>
void librealsense::rotate_image_optimized ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 16 of file rotation-transform.cpp.

template<size_t SIZE>
void librealsense::rotate_image_optimized ( byte dest[],
const byte source,
int  width,
int  height 
)

Definition at line 67 of file occlusion-filter.cpp.

resolution librealsense::rotate_resolution ( resolution  res)

Definition at line 60 of file image.cpp.

rs2_intrinsics librealsense::scale_intrinsics ( const rs2_intrinsics i,
int  width,
int  height 
)
inline

Definition at line 1148 of file src/types.h.

template<class SOURCE , class SPLIT_A , class SPLIT_B >
void librealsense::split_frame ( byte *const  dest[],
int  count,
const SOURCE *  source,
SPLIT_A  split_a,
SPLIT_B  split_b 
)

Definition at line 15 of file image.h.

template<class T >
void librealsense::stream_args ( std::ostream &  out,
const char *  names,
const T &  last 
)

Definition at line 91 of file api.h.

template<class T , class... U>
void librealsense::stream_args ( std::ostream &  out,
const char *  names,
const T &  first,
const U &...  rest 
)

Definition at line 97 of file api.h.

bool librealsense::stream_profiles_correspond ( stream_profile_interface l,
stream_profile_interface r 
)

Definition at line 576 of file l500-depth.cpp.

device_serializer::nanoseconds librealsense::to_nanoseconds ( const rs2rosinternal::Time t)
inline

Definition at line 575 of file ros_file_format.h.

pose librealsense::to_pose ( const rs2_extrinsics a)
inline

Definition at line 593 of file src/types.h.

stream_profile librealsense::to_profile ( const stream_profile_interface sp)
inline

Definition at line 185 of file src/stream.h.

std::vector<stream_profile> librealsense::to_profiles ( const std::vector< std::shared_ptr< stream_profile_interface >> &  vec)
inline

Definition at line 196 of file src/stream.h.

rs2_extrinsics librealsense::to_raw_extrinsics ( rs2_extrinsics  extr)

Definition at line 26 of file types.cpp.

rs2rosinternal::Time librealsense::to_rostime ( const device_serializer::nanoseconds t)
inline

Definition at line 583 of file ros_file_format.h.

float3 librealsense::transform ( const rs2_extrinsics extrin,
const float3 point 
)

Definition at line 47 of file pointcloud.cpp.

static void librealsense::translate_exception ( const char *  name,
std::string  args,
rs2_error **  error 
)
static

Definition at line 108 of file api.h.

float3x3 librealsense::transpose ( const float3x3 a)
inline

Definition at line 588 of file src/types.h.

void librealsense::trim_device_list ( std::vector< platform::usb_device_info > &  devices,
const std::vector< platform::usb_device_info > &  chosen 
)

Definition at line 600 of file context.cpp.

void librealsense::trim_device_list ( std::vector< platform::uvc_device_info > &  devices,
const std::vector< platform::uvc_device_info > &  chosen 
)

Definition at line 612 of file context.cpp.

template<typename To >
bool librealsense::try_extend ( std::shared_ptr< extension_snapshot from,
void **  ext 
)
inline

Definition at line 71 of file extension.h.

void librealsense::try_fetch ( std::map< std::string, int >  jsn,
std::string  key,
int *  value 
)

Definition at line 187 of file ds5-auto-calibration.cpp.

bool librealsense::try_get_zo_rtd_ir_point_values ( const double *  rtd,
const uint16_t depth_data_in,
const uint8_t ir_data,
const rs2_intrinsics intrinsics,
const zero_order_options options,
int  zo_point_x,
int  zo_point_y,
double *  rtd_zo_value,
uint8_t ir_zo_data 
)

Definition at line 75 of file zero-order.cpp.

template<rs2_format FORMAT>
void librealsense::unpack_accel_axes ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  output_size 
)

Definition at line 23 of file motion-transform.cpp.

template<rs2_format FORMAT>
void librealsense::unpack_gyro_axes ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  output_size 
)

Definition at line 33 of file motion-transform.cpp.

void librealsense::unpack_invi ( rs2_format  dst_format,
byte *const  d[],
const byte s,
int  width,
int  height,
int  actual_size 
)

Definition at line 65 of file depth-formats-converter.cpp.

void librealsense::unpack_inzi ( rs2_format  dst_ir_format,
byte *const  d[],
const byte s,
int  width,
int  height,
int  actual_size 
)

Definition at line 40 of file depth-formats-converter.cpp.

void librealsense::unpack_mjpeg ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size,
int  input_size 
)

Definition at line 655 of file color-formats-converter.cpp.

template<class SOURCE , class UNPACK >
void librealsense::unpack_pixels ( byte *const  dest[],
int  count,
const SOURCE *  source,
UNPACK  unpack,
int  actual_size 
)

Definition at line 56 of file depth-formats-converter.cpp.

void librealsense::unpack_rgb_from_bgr ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 672 of file color-formats-converter.cpp.

template<rs2_format FORMAT>
void librealsense::unpack_uyvy ( byte *const  d[],
const byte s,
int  width,
int  height,
int  actual_size 
)

Definition at line 391 of file color-formats-converter.cpp.

void librealsense::unpack_uyvyc ( rs2_format  dst_format,
rs2_stream  dst_stream,
byte *const  d[],
const byte s,
int  w,
int  h,
int  actual_size 
)

Definition at line 630 of file color-formats-converter.cpp.

void librealsense::unpack_w10 ( rs2_format  dst_format,
byte *const  d[],
const byte s,
int  width,
int  height,
int  actual_size 
)

Definition at line 103 of file depth-formats-converter.cpp.

void librealsense::unpack_y10bpack ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 87 of file depth-formats-converter.cpp.

void librealsense::unpack_y16_from_y16_10 ( byte *const  d[],
const byte s,
int  width,
int  height,
int  actual_size 
)

Definition at line 62 of file depth-formats-converter.cpp.

void librealsense::unpack_y16_y16_from_y12i_10 ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 13 of file y12i-to-y16y16.cpp.

void librealsense::unpack_y8_from_y16_10 ( byte *const  d[],
const byte s,
int  width,
int  height,
int  actual_size 
)

Definition at line 63 of file depth-formats-converter.cpp.

void librealsense::unpack_y8_y8_from_y8i ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 15 of file y8i-to-y8y8.cpp.

template<rs2_format FORMAT>
void librealsense::unpack_yuy2 ( byte *const  d[],
const byte s,
int  width,
int  height,
int  actual_size 
)

Definition at line 54 of file color-formats-converter.cpp.

void librealsense::unpack_yuy2 ( rs2_format  dst_format,
rs2_stream  dst_stream,
byte *const  d[],
const byte s,
int  w,
int  h,
int  actual_size 
)

Definition at line 357 of file color-formats-converter.cpp.

void librealsense::unpack_z16_y16_from_sr300_inzi ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 27 of file depth-formats-converter.cpp.

void librealsense::unpack_z16_y8_from_sr300_inzi ( byte *const  dest[],
const byte source,
int  width,
int  height,
int  actual_size 
)

Definition at line 14 of file depth-formats-converter.cpp.

void librealsense::update_flash_internal ( std::shared_ptr< hw_monitor hwm,
const std::vector< uint8_t > &  image,
std::vector< uint8_t > &  flash_backup,
update_progress_callback_ptr  callback,
int  update_mode 
)

Definition at line 267 of file ds5-device.cpp.

void librealsense::update_flash_section ( std::shared_ptr< hw_monitor hwm,
const std::vector< uint8_t > &  image,
uint32_t  offset,
uint32_t  size,
update_progress_callback_ptr  callback,
float  continue_from,
float  ratio 
)

Definition at line 216 of file ds5-device.cpp.

template<typename T >
void librealsense::update_preset_camera_control ( T &  camera_control,
const param_group< T > &  param 
)

Definition at line 278 of file json_loader.hpp.

template<typename T >
void librealsense::update_preset_control ( T &  preset_control,
const param_group< T > &  param 
)

Definition at line 271 of file json_loader.hpp.

void librealsense::update_section ( std::shared_ptr< hw_monitor hwm,
const std::vector< uint8_t > &  merged_image,
flash_section  fs,
uint32_t  tables_size,
update_progress_callback_ptr  callback,
float  continue_from,
float  ratio 
)

Definition at line 254 of file ds5-device.cpp.

void librealsense::update_structs ( const std::string content,
preset in_preset 
)
inline

Definition at line 465 of file json_loader.hpp.

template<typename T >
bool librealsense::val_in_range ( const T &  val,
const std::initializer_list< T > &  list 
)

Definition at line 174 of file src/types.h.

void librealsense::z2rtd ( const rs2::vertex vertices,
double *  rtd,
const rs2_intrinsics intrinsics,
int  baseline 
)

Definition at line 35 of file zero-order.cpp.

template<class T >
bool librealsense::zero_order_invalidation ( const uint16_t depth_data_in,
const uint8_t ir_data,
zero_pixel,
const rs2::vertex vertices,
rs2_intrinsics  intrinsics,
const zero_order_options options,
int  zo_point_x,
int  zo_point_y 
)

Definition at line 141 of file zero-order.cpp.

Variable Documentation

const std::string librealsense::accel_sensor_name = "accel_3d"
static

Definition at line 35 of file ds5-motion.h.

const float librealsense::ae_step_default_value = 0.5f
static

Definition at line 18 of file algo.h.

const float librealsense::alpha_default_val = 0.5f

Definition at line 30 of file spatial-filter.cpp.

const float librealsense::alpha_max_val = 1.f

Definition at line 29 of file spatial-filter.cpp.

const float librealsense::alpha_min_val = 0.25f

Definition at line 28 of file spatial-filter.cpp.

const float librealsense::alpha_step = 0.01f

Definition at line 31 of file spatial-filter.cpp.

color_map librealsense::biomes
static
Initial value:
{ {
{ 0, 0, 204 },
{ 204, 230, 255 },
{ 255, 255, 153 },
{ 170, 255, 128 },
{ 0, 153, 0 },
{ 230, 242, 255 },
} }

Definition at line 53 of file colorizer.cpp.

color_map librealsense::classic
static
Initial value:
{ {
{ 30, 77, 203 },
{ 25, 60, 192 },
{ 45, 117, 220 },
{ 204, 108, 191 },
{ 196, 57, 178 },
{ 198, 33, 24 },
} }

Definition at line 34 of file colorizer.cpp.

color_map librealsense::cold
static
Initial value:
{ {
{ 230, 247, 255 },
{ 0, 92, 230 },
{ 0, 179, 179 },
{ 0, 51, 153 },
{ 0, 5, 15 }
} }

Definition at line 62 of file colorizer.cpp.

const uint32_t librealsense::crc_32_tab[]
static

Definition at line 756 of file types.cpp.

const uint8_t librealsense::decimation_default_val = 2

Definition at line 199 of file decimation-filter.cpp.

const uint8_t librealsense::decimation_max_val = 8

Definition at line 198 of file decimation-filter.cpp.

const uint8_t librealsense::decimation_min_val = 1

Definition at line 197 of file decimation-filter.cpp.

const uint8_t librealsense::decimation_step = 1

Definition at line 200 of file decimation-filter.cpp.

const int librealsense::DEFAULT_ACCURACY = subpixel_accuracy::medium

Definition at line 151 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_ADJUST_BOTH_SIDES = 0

Definition at line 160 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_AVERAGE_STEP_COUNT = 20

Definition at line 149 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_CALIB_TYPE = 0

Definition at line 147 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_FL_SAMPLING = data_sampling::interrupt

Definition at line 159 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_FL_STEP_COUNT = 100

Definition at line 156 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_FY_SCAN_DIRECTION = 0

Definition at line 165 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_FY_SCAN_RANGE = 40

Definition at line 157 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_KEEP_NEW_VALUE_AFTER_SUCESSFUL_SCAN = 1

Definition at line 158 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_OCC_FL_SCAN_LOCATION = 0

Definition at line 164 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_SAMPLING = data_sampling::interrupt

Definition at line 154 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_SCAN = scan_parameter::py_scan

Definition at line 153 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_SPEED = auto_calib_speed::speed_slow

Definition at line 152 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_STEP_COUNT = 20

Definition at line 150 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_TARE_SAMPLING = data_sampling::polling

Definition at line 162 of file ds5-auto-calibration.cpp.

const int librealsense::DEFAULT_WHITE_WALL_MODE = 0

Definition at line 166 of file ds5-auto-calibration.cpp.

const uint8_t librealsense::delta_default_val = 20

Definition at line 36 of file spatial-filter.cpp.

const uint8_t librealsense::delta_max_val = 50

Definition at line 35 of file spatial-filter.cpp.

const uint8_t librealsense::delta_min_val = 1

Definition at line 34 of file spatial-filter.cpp.

const uint8_t librealsense::delta_step = 1

Definition at line 37 of file spatial-filter.cpp.

std::map<uint32_t, rs2_format> librealsense::ds5_color_fourcc_to_rs2_format
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_FORMAT_YUYV},
{rs_fourcc('Y','U','Y','V'), RS2_FORMAT_YUYV},
{rs_fourcc('U','Y','V','Y'), RS2_FORMAT_UYVY},
{rs_fourcc('M','J','P','G'), RS2_FORMAT_MJPEG},
{rs_fourcc('B','Y','R','2'), RS2_FORMAT_RAW16}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 14 of file ds5-color.cpp.

std::map<uint32_t, rs2_stream> librealsense::ds5_color_fourcc_to_rs2_stream
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_STREAM_COLOR},
{rs_fourcc('Y','U','Y','V'), RS2_STREAM_COLOR},
{rs_fourcc('U','Y','V','Y'), RS2_STREAM_COLOR},
{rs_fourcc('B','Y','R','2'), RS2_STREAM_COLOR},
{rs_fourcc('M','J','P','G'), RS2_STREAM_COLOR},
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 21 of file ds5-color.cpp.

std::map<uint32_t, rs2_format> librealsense::ds5_depth_fourcc_to_rs2_format
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_FORMAT_YUYV},
{rs_fourcc('Y','U','Y','V'), RS2_FORMAT_YUYV},
{rs_fourcc('U','Y','V','Y'), RS2_FORMAT_UYVY},
{rs_fourcc('G','R','E','Y'), RS2_FORMAT_Y8},
{rs_fourcc('Y','8','I',' '), RS2_FORMAT_Y8I},
{rs_fourcc('W','1','0',' '), RS2_FORMAT_W10},
{rs_fourcc('Y','1','6',' '), RS2_FORMAT_Y16},
{rs_fourcc('Y','1','2','I'), RS2_FORMAT_Y12I},
{rs_fourcc('Z','1','6',' '), RS2_FORMAT_Z16},
{rs_fourcc('Z','1','6','H'), RS2_FORMAT_Z16H},
{rs_fourcc('R','G','B','2'), RS2_FORMAT_BGR8},
{rs_fourcc('M','J','P','G'), RS2_FORMAT_MJPEG},
{rs_fourcc('B','Y','R','2'), RS2_FORMAT_RAW16}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 54 of file ds5-device.cpp.

std::map<uint32_t, rs2_stream> librealsense::ds5_depth_fourcc_to_rs2_stream
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_STREAM_COLOR},
{rs_fourcc('Y','U','Y','V'), RS2_STREAM_COLOR},
{rs_fourcc('U','Y','V','Y'), RS2_STREAM_INFRARED},
{rs_fourcc('G','R','E','Y'), RS2_STREAM_INFRARED},
{rs_fourcc('Y','8','I',' '), RS2_STREAM_INFRARED},
{rs_fourcc('W','1','0',' '), RS2_STREAM_INFRARED},
{rs_fourcc('Y','1','6',' '), RS2_STREAM_INFRARED},
{rs_fourcc('Y','1','2','I'), RS2_STREAM_INFRARED},
{rs_fourcc('R','G','B','2'), RS2_STREAM_INFRARED},
{rs_fourcc('Z','1','6',' '), RS2_STREAM_DEPTH},
{rs_fourcc('Z','1','6','H'), RS2_STREAM_DEPTH},
{rs_fourcc('B','Y','R','2'), RS2_STREAM_COLOR},
{rs_fourcc('M','J','P','G'), RS2_STREAM_COLOR}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 70 of file ds5-device.cpp.

const uint8_t librealsense::filter_iter_def = 2

Definition at line 42 of file spatial-filter.cpp.

const uint8_t librealsense::filter_iter_max = 5

Definition at line 41 of file spatial-filter.cpp.

const uint8_t librealsense::filter_iter_min = 1

Definition at line 40 of file spatial-filter.cpp.

const uint8_t librealsense::filter_iter_step = 1

Definition at line 43 of file spatial-filter.cpp.

const std::map<uint32_t, rs2_format> librealsense::fisheye_fourcc_to_rs2_format
Initial value:
= {
{rs_fourcc('R','A','W','8'), RS2_FORMAT_RAW8},
{rs_fourcc('G','R','E','Y'), RS2_FORMAT_RAW8},
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 24 of file ds5-motion.cpp.

const std::map<uint32_t, rs2_stream> librealsense::fisheye_fourcc_to_rs2_stream
Initial value:
= {
{rs_fourcc('R','A','W','8'), RS2_STREAM_FISHEYE},
{rs_fourcc('G','R','E','Y'), RS2_STREAM_FISHEYE},
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 28 of file ds5-motion.cpp.

constexpr const char* librealsense::FRAME_NUMBER_MD_STR = "Frame number"

Definition at line 213 of file ros_file_format.h.

constexpr const char* librealsense::FRAME_TIMESTAMP_MD_STR = "frame_timestamp"

Definition at line 217 of file ros_file_format.h.

color_map librealsense::grayscale
static
Initial value:
{ {
{ 255, 255, 255 },
{ 0, 0, 0 },
} }

Definition at line 43 of file colorizer.cpp.

const std::string librealsense::gyro_sensor_name = "gyro_3d"
static

Definition at line 34 of file ds5-motion.h.

const std::map<IMU_OUTPUT_DATA_RATES, unsigned> librealsense::hid_fps_translation
static
Initial value:
=
{
{odr::IMU_FPS_63, 1},
{odr::IMU_FPS_100, 1},
{odr::IMU_FPS_200, 2},
{odr::IMU_FPS_250, 3},
{odr::IMU_FPS_400, 4} }

Definition at line 36 of file ds5-motion.h.

const uint8_t librealsense::hole_fill_def = hf_farest_from_around

Definition at line 20 of file hole-filling-filter.cpp.

const uint8_t librealsense::hole_fill_max = hf_max_value - 1

Definition at line 18 of file hole-filling-filter.cpp.

const uint8_t librealsense::hole_fill_min = hf_fill_from_left

Definition at line 17 of file hole-filling-filter.cpp.

const uint8_t librealsense::hole_fill_step = 1

Definition at line 19 of file hole-filling-filter.cpp.

const uint8_t librealsense::holes_fill_def = sp_hf_disabled

Definition at line 49 of file spatial-filter.cpp.

const uint8_t librealsense::holes_fill_max = sp_hf_max_value - 1

Definition at line 47 of file spatial-filter.cpp.

const uint8_t librealsense::holes_fill_min = sp_hf_disabled

Definition at line 46 of file spatial-filter.cpp.

const uint8_t librealsense::holes_fill_step = 1

Definition at line 48 of file spatial-filter.cpp.

color_map librealsense::hue
static
Initial value:
{ {
{ 255, 0, 0 },
{ 255, 255, 0 },
{ 0, 255, 0 },
{ 0, 255, 255 },
{ 0, 0, 255 },
{ 255, 0, 255 },
{ 255, 0, 0 },
} }

Definition at line 16 of file colorizer.cpp.

const uint16_t librealsense::HW_MONITOR_BUFFER_SIZE = 1024

Definition at line 41 of file hw-monitor.h.

const uint16_t librealsense::HW_MONITOR_COMMAND_SIZE = 1000

Definition at line 40 of file hw-monitor.h.

const uint16_t librealsense::HW_MONITOR_DATA_SIZE_OFFSET = 1020

Definition at line 42 of file hw-monitor.h.

const std::map< hwmon_response, std::string> librealsense::hwmon_response_report

Definition at line 118 of file hw-monitor.h.

const uint8_t librealsense::INTRINSICS_MODEL_COUNT = 1

Definition at line 560 of file src/metadata.h.

color_map librealsense::inv_grayscale
static
Initial value:
{ {
{ 0, 0, 0 },
{ 255, 255, 255 },
} }

Definition at line 48 of file colorizer.cpp.

const uint8_t librealsense::IV_COMMAND_CONFIDENCE_THRESHHOLD = 0x0C

Definition at line 23 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_DEPTH_ACCURACY = 0x04

Definition at line 15 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_FILTER_OPTION = 0x0A

Definition at line 21 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_FIRMWARE_UPDATE_MODE = 0x01

Definition at line 12 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_GET_CALIBRATION_DATA = 0x02

Definition at line 13 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_INTENSITY_IMAGE_TYPE = 0x07

Definition at line 18 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_LASER_POWER = 0x03

Definition at line 14 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_LOW_CONFIDENCE_LEVEL = 0x06

Definition at line 17 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_MOTION_VS_RANGE_TRADE = 0x08

Definition at line 19 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_POWER_GEAR = 0x09

Definition at line 20 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_VERSION = 0x0B

Definition at line 22 of file hw-monitor.h.

const uint8_t librealsense::IV_COMMAND_ZUNIT = 0x05

Definition at line 16 of file hw-monitor.h.

const uint8_t librealsense::IVCAM_MIN_SUPPORTED_VERSION = 13

Definition at line 28 of file hw-monitor.h.

const uint8_t librealsense::IVCAM_MONITOR_ENDPOINT_IN = 0x81

Definition at line 27 of file hw-monitor.h.

const uint8_t librealsense::IVCAM_MONITOR_ENDPOINT_OUT = 0x1

Definition at line 26 of file hw-monitor.h.

const uint8_t librealsense::IVCAM_MONITOR_HEADER_SIZE = (sizeof(uint32_t) * 6)

Definition at line 29 of file hw-monitor.h.

const uint8_t librealsense::IVCAM_MONITOR_INTERFACE = 0x4

Definition at line 25 of file hw-monitor.h.

const uint16_t librealsense::IVCAM_MONITOR_MAGIC_NUMBER = 0xcdab

Definition at line 37 of file hw-monitor.h.

const uint16_t librealsense::IVCAM_MONITOR_MAX_BUFFER_SIZE = 1024

Definition at line 38 of file hw-monitor.h.

const uint16_t librealsense::IVCAM_MONITOR_MUTEX_TIMEOUT = 3000

Definition at line 39 of file hw-monitor.h.

color_map librealsense::jet
static
Initial value:
{ {
{ 0, 0, 255 },
{ 0, 255, 255 },
{ 255, 255, 0 },
{ 255, 0, 0 },
{ 50, 0, 0 },
} }

Definition at line 26 of file colorizer.cpp.

std::map<uint32_t, rs2_format> librealsense::l500_color_fourcc_to_rs2_format
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_FORMAT_YUYV},
{rs_fourcc('Y','U','Y','V'), RS2_FORMAT_YUYV},
{rs_fourcc('U','Y','V','Y'), RS2_FORMAT_UYVY}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 22 of file l500-color.cpp.

std::map<uint32_t, rs2_stream> librealsense::l500_color_fourcc_to_rs2_stream
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_STREAM_COLOR},
{rs_fourcc('Y','U','Y','V'), RS2_STREAM_COLOR},
{rs_fourcc('U','Y','V','Y'), RS2_STREAM_COLOR}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 28 of file l500-color.cpp.

std::map<uint32_t, rs2_format> librealsense::l500_depth_fourcc_to_rs2_format
Initial value:
= {
{ rs_fourcc('G','R','E','Y'), RS2_FORMAT_Y8 },
{ rs_fourcc('Z','1','6',' '), RS2_FORMAT_Z16 },
{ rs_fourcc('C',' ',' ',' '), RS2_FORMAT_RAW8 },
{ rs_fourcc('C','N','F','4'), RS2_FORMAT_RAW8 },
{ rs_fourcc('F','G',' ',' '), RS2_FORMAT_FG },
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 36 of file l500-device.cpp.

std::map<uint32_t, rs2_stream> librealsense::l500_depth_fourcc_to_rs2_stream
Initial value:
= {
{ rs_fourcc('G','R','E','Y'), RS2_STREAM_INFRARED },
{ rs_fourcc('Z','1','6',' '), RS2_STREAM_DEPTH },
{ rs_fourcc('C',' ',' ',' '), RS2_STREAM_CONFIDENCE },
{ rs_fourcc('C','N','F','4'), RS2_STREAM_CONFIDENCE },
{ rs_fourcc('F','G',' ',' '), RS2_STREAM_DEPTH },
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 44 of file l500-device.cpp.

const rs2_distortion librealsense::l500_distortion = RS2_DISTORTION_BROWN_CONRADY

Definition at line 19 of file l500-color.h.

std::map<rs2_stream, std::map<unsigned, unsigned> > librealsense::l500_fps_and_sampling_frequency_per_rs2_stream
Initial value:
=
{ {RS2_STREAM_ACCEL,{{100, 1},
{200, 2},
{400, 4}}},
{RS2_STREAM_GYRO, {{100, 1},
{200, 2},
{400, 4}}} }

Definition at line 41 of file l500-motion.cpp.

const uint16_t librealsense::L500_PID = 0x0b0d

Definition at line 20 of file l500-private.h.

const uint16_t librealsense::L500_RECOVERY_PID = 0x0b55

Definition at line 17 of file l500-private.h.

std::vector<std::pair<std::string, stream_profile> > librealsense::l500_sensor_name_and_hid_profiles
Initial value:
=
{{ "gyro_3d", { RS2_FORMAT_MOTION_XYZ32F, RS2_STREAM_GYRO, 0, 1, 1, 100 }},
{ "gyro_3d", { RS2_FORMAT_MOTION_XYZ32F, RS2_STREAM_GYRO, 0, 1, 1, 200 }},
{ "gyro_3d", { RS2_FORMAT_MOTION_XYZ32F, RS2_STREAM_GYRO, 0, 1, 1, 400 }},
{ "accel_3d", { RS2_FORMAT_MOTION_XYZ32F, RS2_STREAM_ACCEL, 0, 1, 1, 100 }},
{ "accel_3d", { RS2_FORMAT_MOTION_XYZ32F, RS2_STREAM_ACCEL, 0, 1, 1, 200 }},
{ "accel_3d", { RS2_FORMAT_MOTION_XYZ32F, RS2_STREAM_ACCEL, 0, 1, 1, 400 }}}

Definition at line 32 of file l500-motion.cpp.

const uint16_t librealsense::L500_USB2_RECOVERY_PID_OLD = 0x0adc

Definition at line 19 of file l500-private.h.

const uint16_t librealsense::L515_PID = 0x0b64

Definition at line 22 of file l500-private.h.

const uint16_t librealsense::L515_PID_PRE_PRQ = 0x0b3d

Definition at line 21 of file l500-private.h.

const uint16_t librealsense::L535_PID = 0x0b68

Definition at line 23 of file l500-private.h.

const uint16_t librealsense::L535_RECOVERY_PID = 0x0B72

Definition at line 18 of file l500-private.h.

constexpr const char* librealsense::MAPPER_CONFIDENCE_MD_STR = "Mapper Confidence"

Definition at line 216 of file ros_file_format.h.

const int librealsense::MAX_GAP = 1000

Definition at line 10 of file sync.cpp.

const uint16_t librealsense::MAX_SIZE_OF_CALIB_PARAM_BYTES = 800

Definition at line 35 of file hw-monitor.h.

constexpr uint8_t librealsense::md_capture_timing_size = sizeof(md_capture_timing)

Definition at line 332 of file src/metadata.h.

const std::map<md_type, std::string> librealsense::md_type_desc
static
Initial value:
=
{
{ md_type::META_DATA_INTEL_DEPTH_CONTROL_ID, "Intel Depth Control"},
{ md_type::META_DATA_INTEL_CAPTURE_TIMING_ID, "Intel Capture timing"},
{ md_type::META_DATA_INTEL_CONFIGURATION_ID, "Intel Configuration"},
{ md_type::META_DATA_INTEL_STAT_ID, "Intel Statistics"},
{ md_type::META_DATA_INTEL_FISH_EYE_CONTROL_ID, "Intel Fisheye Control"},
{ md_type::META_DATA_INTEL_RGB_CONTROL_ID, "Intel RGB Control"},
{ md_type::META_DATA_INTEl_FE_FOV_MODEL_ID, "Intel Fisheye FOV Model"},
{ md_type::META_DATA_CAPTURE_STATS_ID, "Capture Statistics"},
{ md_type::META_DATA_CAMERA_EXTRINSICS_ID, "Camera Extrinsic"},
{ md_type::META_DATA_CAMERA_INTRINSICS_ID, "Camera Intrinsic"},
{ md_type::META_DATA_CAMERA_DEBUG_ID, "Camera Debug"},
{ md_type::META_DATA_INTEL_L500_CAPTURE_TIMING_ID, "Intel Capture timing"},
{ md_type::META_DATA_INTEL_L500_DEPTH_CONTROL_ID, "Intel Depth Control"},
{ md_type::META_DATA_HID_IMU_REPORT_ID, "HID IMU Report"},
{ md_type::META_DATA_HID_CUSTOM_TEMP_REPORT_ID, "HID Custom Temperature Report"},
}

Definition at line 52 of file src/metadata.h.

const int librealsense::META_DATA_INTEL_CAPTURE_TIMING_VERSION = 0x1

Definition at line 29 of file src/metadata.h.

const int librealsense::META_DATA_INTEL_CONFIGURATION_VERSION = 0x3

Definition at line 27 of file src/metadata.h.

const int librealsense::META_DATA_INTEL_DEPTH_CONTROL_VERSION = 0x1

Definition at line 23 of file src/metadata.h.

const int librealsense::META_DATA_INTEL_STAT_VERSION = 0x1

Definition at line 28 of file src/metadata.h.

constexpr uint8_t librealsense::metadata_hid_raw_size = sizeof(metadata_hid_raw)

Definition at line 742 of file src/metadata.h.

constexpr uint8_t librealsense::metadata_imu_report_size = sizeof(md_imu_report)

Definition at line 712 of file src/metadata.h.

constexpr uint8_t librealsense::metadata_raw_size = sizeof(metadata_raw)

Definition at line 684 of file src/metadata.h.

const uint8_t librealsense::NUM_OF_CALIBRATION_COEFFS = 64

Definition at line 33 of file hw-monitor.h.

const uint8_t librealsense::NUM_OF_CALIBRATION_PARAMS = 100

Definition at line 30 of file hw-monitor.h.

const uint8_t librealsense::PARAMETERS2_BUFFER_SIZE = 50

Definition at line 31 of file hw-monitor.h.

color_map librealsense::pattern
static

Definition at line 84 of file colorizer.cpp.

const uint8_t librealsense::persistence_default = 3

Definition at line 20 of file temporal-filter.cpp.

const size_t librealsense::PERSISTENCE_MAP_NUM = 9

Definition at line 15 of file temporal-filter.cpp.

const uint8_t librealsense::persistence_max = PERSISTENCE_MAP_NUM-1

Definition at line 19 of file temporal-filter.cpp.

const uint8_t librealsense::persistence_min = 0

Definition at line 18 of file temporal-filter.cpp.

const uint8_t librealsense::persistence_step = 1

Definition at line 21 of file temporal-filter.cpp.

const std::map<uint32_t, rs2_format> librealsense::platform_color_fourcc_to_rs2_format
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_FORMAT_YUYV},
{rs_fourcc('Y','U','Y','V'), RS2_FORMAT_YUYV},
{rs_fourcc('M','J','P','G'), RS2_FORMAT_MJPEG},
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 88 of file context.cpp.

const std::map<uint32_t, rs2_stream> librealsense::platform_color_fourcc_to_rs2_stream
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_STREAM_COLOR},
{rs_fourcc('Y','U','Y','V'), RS2_STREAM_COLOR},
{rs_fourcc('M','J','P','G'), RS2_STREAM_COLOR},
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 93 of file context.cpp.

const size_t librealsense::PRESISTENCY_LUT_SIZE = 256

Definition at line 9 of file temporal-filter.h.

color_map librealsense::quantized
static
Initial value:
{ {
{ 255, 255, 255 },
{ 0, 0, 0 },
}, 6 }

Definition at line 79 of file colorizer.cpp.

const uint8_t librealsense::SIZE_OF_CALIB_HEADER_BYTES = 4

Definition at line 32 of file hw-monitor.h.

const uint16_t librealsense::SIZE_OF_CALIB_PARAM_BYTES = 512

Definition at line 36 of file hw-monitor.h.

const uint16_t librealsense::SIZE_OF_HW_MONITOR_HEADER = 4

Definition at line 43 of file hw-monitor.h.

std::map<uint32_t, rs2_format> librealsense::sr300_color_fourcc_to_rs2_format
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_FORMAT_YUYV},
{rs_fourcc('Y','U','Y','V'), RS2_FORMAT_YUYV},
{rs_fourcc('U','Y','V','Y'), RS2_FORMAT_UYVY}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 19 of file sr300.cpp.

std::map<uint32_t, rs2_stream> librealsense::sr300_color_fourcc_to_rs2_stream
Initial value:
= {
{rs_fourcc('Y','U','Y','2'), RS2_STREAM_COLOR},
{rs_fourcc('Y','U','Y','V'), RS2_STREAM_COLOR},
{rs_fourcc('U','Y','V','Y'), RS2_STREAM_COLOR}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 24 of file sr300.cpp.

std::map<uint32_t, rs2_format> librealsense::sr300_depth_fourcc_to_rs2_format
Initial value:
= {
{rs_fourcc('G','R','E','Y'), RS2_FORMAT_Y8},
{rs_fourcc('Z','1','6',' '), RS2_FORMAT_Z16},
{rs_fourcc('I','N','V','I'), RS2_FORMAT_INVI},
{rs_fourcc('I','N','Z','I'), RS2_FORMAT_INZI}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 30 of file sr300.cpp.

std::map<uint32_t, rs2_stream> librealsense::sr300_depth_fourcc_to_rs2_stream
Initial value:
= {
{rs_fourcc('G','R','E','Y'), RS2_STREAM_INFRARED},
{rs_fourcc('Z','1','6',' '), RS2_STREAM_DEPTH},
{rs_fourcc('I','N','V','I'), RS2_STREAM_INFRARED},
{rs_fourcc('I','N','Z','I'), RS2_STREAM_DEPTH}
}
uint32_t rs_fourcc(const T a, const T b, const T c, const T d)
Definition: src/types.h:1846

Definition at line 36 of file sr300.cpp.

const uint16_t librealsense::SR300_PID = 0x0aa5

Definition at line 29 of file src/ivcam/sr300.h.

const uint16_t librealsense::SR300_RECOVERY = 0x0ab3

Definition at line 31 of file src/ivcam/sr300.h.

const uint16_t librealsense::SR300v2_PID = 0x0B48

Definition at line 30 of file src/ivcam/sr300.h.

const uint16_t librealsense::SR306_PID = 0x0aa3

Definition at line 28 of file src/ivcam/sr300.h.

constexpr const char* librealsense::SYSTEM_TIME_MD_STR = "system_time"

Definition at line 215 of file ros_file_format.h.

const float librealsense::temp_alpha_default = 0.4f

Definition at line 26 of file temporal-filter.cpp.

const float librealsense::temp_alpha_max = 1.f

Definition at line 25 of file temporal-filter.cpp.

const float librealsense::temp_alpha_min = 0.f

Definition at line 24 of file temporal-filter.cpp.

const float librealsense::temp_alpha_step = 0.01f

Definition at line 27 of file temporal-filter.cpp.

const uint8_t librealsense::temp_delta_default = 20

Definition at line 32 of file temporal-filter.cpp.

const uint8_t librealsense::temp_delta_max = 100

Definition at line 31 of file temporal-filter.cpp.

const uint8_t librealsense::temp_delta_min = 1

Definition at line 30 of file temporal-filter.cpp.

const uint8_t librealsense::temp_delta_step = 1

Definition at line 33 of file temporal-filter.cpp.

const double librealsense::TIMESTAMP_10NSEC_TO_MSEC = 0.00001

Definition at line 33 of file src/ivcam/sr300.h.

constexpr const char* librealsense::TIMESTAMP_DOMAIN_MD_STR = "timestamp_domain"

Definition at line 214 of file ros_file_format.h.

const double librealsense::TIMESTAMP_USEC_TO_MSEC = 0.001
static

Definition at line 92 of file src/types.h.

constexpr const char* librealsense::TRACKER_CONFIDENCE_MD_STR = "Tracker Confidence"

Definition at line 218 of file ros_file_format.h.

const uint8_t librealsense::TRANSFORM_COUNT = 1

Definition at line 584 of file src/metadata.h.

const uint8_t librealsense::UVC_GUID_SIZE = 16

Definition at line 576 of file src/metadata.h.

color_map librealsense::warm
static
Initial value:
{ {
{ 255, 255, 230 },
{ 255, 204, 0 },
{ 255, 136, 77 },
{ 255, 51, 0 },
{ 128, 0, 0 },
{ 10, 0, 0 }
} }

Definition at line 70 of file colorizer.cpp.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37