|
Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
Namespaces | |
| device_serializer | |
| ds | |
| ivcam | |
| legacy_file_format | |
| platform | |
| util | |
Functions | |
| 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) |
| MAP_EXTENSION (RS2_EXTENSION_POINTS, librealsense::points) | |
| MAP_EXTENSION (RS2_EXTENSION_COMPOSITE_FRAME, librealsense::composite_frame) | |
| MAP_EXTENSION (RS2_EXTENSION_VIDEO_FRAME, librealsense::video_frame) | |
| 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) | |
| std::shared_ptr< archive_interface > | 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) |
| 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;}) |
| double | monotonic_to_realtime (double monotonic) |
| std::vector< platform::uvc_device_info > | filter_by_product (const std::vector< platform::uvc_device_info > &devices, const std::set< uint16_t > &pid_list) |
| 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 | trim_device_list (std::vector< platform::uvc_device_info > &devices, const std::vector< platform::uvc_device_info > &chosen) |
| bool | mi_present (const std::vector< platform::uvc_device_info > &devices, uint32_t mi) |
| platform::uvc_device_info | get_mi (const std::vector< platform::uvc_device_info > &devices, uint32_t mi) |
| std::vector< platform::uvc_device_info > | filter_by_mi (const std::vector< platform::uvc_device_info > &devices, uint32_t mi) |
| std::vector< platform::usb_device_info > | filter_by_product (const std::vector< platform::usb_device_info > &devices, const std::set< uint16_t > &pid_list) |
| void | trim_device_list (std::vector< platform::usb_device_info > &devices, const std::vector< platform::usb_device_info > &chosen) |
| 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_EXTENSION (RS2_EXTENSION_ADVANCED_MODE, librealsense::ds5_advanced_mode_interface) | |
| MAP_EXTENSION (RS2_EXTENSION_DEBUG, librealsense::debug_interface) | |
| template<typename To > | |
| bool | try_extend (std::shared_ptr< extension_snapshot > from, void **ext) |
| template<typename T , typename P > | |
| std::shared_ptr< T > | As (std::shared_ptr< P > ptr) |
| template<typename T , typename P > | |
| T * | As (P *ptr) |
| template<typename T , typename P > | |
| bool | Is (std::shared_ptr< P > ptr) |
| template<typename T , typename P > | |
| bool | Is (P *ptr) |
| MAP_EXTENSION (RS2_EXTENSION_INFO, librealsense::info_interface) | |
| MAP_EXTENSION (RS2_EXTENSION_MOTION_PROFILE, librealsense::motion_stream_profile_interface) | |
| MAP_EXTENSION (RS2_EXTENSION_POSE_PROFILE, librealsense::pose_stream_profile_interface) | |
| MAP_EXTENSION (RS2_EXTENSION_TM2, librealsense::tm2_extensions) | |
| MAP_EXTENSION (RS2_EXTENSION_OPTIONS, librealsense::options_interface) | |
| MAP_EXTENSION (RS2_EXTENSION_ROI, librealsense::roi_sensor_interface) | |
| MAP_EXTENSION (RS2_EXTENSION_DEPTH_SENSOR, librealsense::depth_sensor) | |
| MAP_EXTENSION (RS2_EXTENSION_DEPTH_STEREO_SENSOR, librealsense::depth_stereo_sensor) | |
| MAP_EXTENSION (RS2_EXTENSION_VIDEO, librealsense::video_sensor_interface) | |
| MAP_EXTENSION (RS2_EXTENSION_VIDEO_PROFILE, librealsense::video_stream_profile_interface) | |
| stream_interface * | find_profile (rs2_stream stream, int index, std::vector< stream_interface *> profiles) |
| template<class T , class S > | |
| std::shared_ptr< json_field > | make_field (T &strct, S T::group_type::*field, float scale=1.0f, bool is_duplicated_field=false) |
| template<class T , class S > | |
| std::shared_ptr< json_field > | make_string_field (T &strct, S T::group_type::*field, const std::map< std::string, float > &values, bool is_duplicated_field=false) |
| std::shared_ptr< json_field > | make_ignored_field () |
| template<class T , class S > | |
| std::shared_ptr< json_field > | make_invert_field (T &strct, S T::group_type::*field, bool is_duplicated_field=false) |
| 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) |
| template<typename T > | |
| void | update_preset_control (T &preset_control, const param_group< T > ¶m) |
| template<typename T > | |
| void | update_preset_camera_control (T &camera_control, const param_group< T > ¶m) |
| parsers_map | initialize_field_parsers (preset_param_group &p) |
| std::vector< uint8_t > | generate_json (const preset &in_preset) |
| void | update_structs (const std::string &content, preset &in_preset) |
| 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) |
| void | high_res_high_accuracy (preset &p) |
| void | high_res_high_density (preset &p) |
| void | high_res_mid_density (preset &p) |
| void | low_res_high_accuracy (preset &p) |
| void | low_res_high_density (preset &p) |
| void | low_res_mid_density (preset &p) |
| void | mid_res_high_accuracy (preset &p) |
| void | mid_res_high_density (preset &p) |
| void | mid_res_mid_density (preset &p) |
| void | hand_gesture (preset &p) |
| size_t | get_image_size (int width, int height, rs2_format format) |
| int | get_image_bpp (rs2_format format) |
| void | deproject_z (float *points, const rs2_intrinsics &z_intrin, const uint16_t *z_pixels, float z_scale) |
| void | deproject_disparity (float *points, const rs2_intrinsics &disparity_intrin, const uint16_t *disparity_pixels, float disparity_scale) |
| void | align_z_to_other (byte *z_aligned_to_other, const uint16_t *z_pixels, float z_scale, const rs2_intrinsics &z_intrin, const rs2_extrinsics &z_to_other, const rs2_intrinsics &other_intrin) |
| void | align_disparity_to_other (byte *disparity_aligned_to_other, const uint16_t *disparity_pixels, float disparity_scale, const rs2_intrinsics &disparity_intrin, const rs2_extrinsics &disparity_to_other, const rs2_intrinsics &other_intrin) |
| void | align_other_to_z (byte *other_aligned_to_z, const uint16_t *z_pixels, float z_scale, const rs2_intrinsics &z_intrin, const rs2_extrinsics &z_to_other, const rs2_intrinsics &other_intrin, const byte *other_pixels, rs2_format other_format) |
| void | align_other_to_disparity (byte *other_aligned_to_disparity, const uint16_t *disparity_pixels, float disparity_scale, const rs2_intrinsics &disparity_intrin, const rs2_extrinsics &disparity_to_other, const rs2_intrinsics &other_intrin, const byte *other_pixels, rs2_format other_format) |
| std::vector< int > | compute_rectification_table (const rs2_intrinsics &rect_intrin, const rs2_extrinsics &rect_to_unrect, const rs2_intrinsics &unrect_intrin) |
| void | rectify_image (uint8_t *rect_pixels, const std::vector< int > &rectification_table, const uint8_t *unrect_pixels, rs2_format format) |
| MAP_EXTENSION (RS2_EXTENSION_PLAYBACK, playback_device) | |
| MAP_EXTENSION (RS2_EXTENSION_RECORD, record_device) | |
| void | convert (rs2_format source, std::string &target) |
| void | convert (const std::string &source, rs2_format &target) |
| void | convert (const std::string &source, rs2_stream &target) |
| void | convert (const std::string &source, rs2_distortion &target) |
| void | convert (const std::string &source, rs2_option &target) |
| void | convert (const std::string &source, rs2_frame_metadata_value &target) |
| void | convert (const std::string &source, rs2_camera_info &target) |
| void | convert (const std::string &source, rs2_timestamp_domain &target) |
| void | convert (const std::string &source, rs2_notification_category &target) |
| void | convert (const std::string &source, rs2_log_severity &target) |
| void | convert (const std::string &source, double &target) |
| void | convert (const std::string &source, long long &target) |
| void | quat2rot (const geometry_msgs::Transform::_rotation_type &q, float(&r)[9]) |
| void | rot2quat (const float(&r)[9], geometry_msgs::Transform::_rotation_type &q) |
| void | convert (const geometry_msgs::Transform &source, rs2_extrinsics &target) |
| void | convert (const rs2_extrinsics &source, geometry_msgs::Transform &target) |
| constexpr uint32_t | get_file_version () |
| constexpr uint32_t | get_minimum_supported_file_version () |
| constexpr uint32_t | get_device_index () |
| constexpr device_serializer::nanoseconds | get_static_file_info_timestamp () |
| device_serializer::nanoseconds | to_nanoseconds (const ros::Time &t) |
| ros::Time | to_rostime (const device_serializer::nanoseconds &t) |
| template<class S , class Attribute , typename Flag > | |
| std::shared_ptr< md_attribute_parser_base > | 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. More... | |
| template<class St , class Attribute > | |
| std::shared_ptr< md_attribute_parser_base > | make_uvc_header_parser (Attribute St::*attribute, attrib_modifyer mod=nullptr) |
| A utility function to create UVC metadata header parser. More... | |
| template<class St , class Attribute > | |
| std::shared_ptr< md_attribute_parser_base > | make_additional_data_parser (Attribute St::*attribute) |
| A utility function to create additional_data parser. More... | |
| std::shared_ptr< md_attribute_parser_base > | 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) |
| A helper function to create a specialized parser for RS4xx sensor timestamp. More... | |
| template<class S , class Attribute > | |
| std::shared_ptr< md_attribute_parser_base > | 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. More... | |
| std::string | hexify (unsigned char n) |
| 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) |
| MAP_EXTENSION (RS2_EXTENSION_SOFTWARE_SENSOR, software_sensor) | |
| MAP_EXTENSION (RS2_EXTENSION_SOFTWARE_DEVICE, software_device) | |
| stream_profile | to_profile (const stream_profile_interface *sp) |
| std::vector< stream_profile > | to_profiles (const std::vector< std::shared_ptr< stream_profile_interface >> &vec) |
| template<size_t SIZE> | |
| std::string | buffer_to_string (const uint8_t(&buff)[SIZE], char separator=',', bool as_hex=false) |
| std::string | get_string (perc::Status value) |
| std::ostream & | operator<< (std::ostream &os, const perc::TrackingData::Version &v) |
| rs2_format | convertTm2PixelFormat (perc::PixelFormat format) |
| perc::PixelFormat | convertToTm2PixelFormat (rs2_format format) |
| bool | try_convert (rs2_stream stream, perc::SensorType &out) |
| rs2_distortion | convertTm2CameraModel (int model) |
| uint32_t | convertTm2InterruptRate (perc::SIXDOF_INTERRUPT_RATE rate) |
| float3 | toFloat3 (perc::TrackingData::Axis a) |
| float3 | toFloat3 (perc::TrackingData::EulerAngles a) |
| float4 | toFloat4 (perc::TrackingData::Quaternion q) |
| template<typename T , size_t size> | |
| size_t | copy_array (T(&dst)[size], const T(&src)[size]) |
| template<typename T , size_t sizem, size_t sizen> | |
| size_t | copy_2darray (T(&dst)[sizem][sizen], const T(&src)[sizem][sizen]) |
| void | copy (void *dst, void const *src, size_t size) |
| std::string | make_less_screamy (const char *str) |
| void | log_to_console (rs2_log_severity min_severity) |
| void | log_to_file (rs2_log_severity min_severity, const char *file_path) |
| template<typename T > | |
| T | clamp_val (T val, const T &min, const T &max) |
| template<typename T , int sz> | |
| int | arr_size (T(&)[sz]) |
| template<typename T > | |
| std::string | array2str (T &data) |
| bool | operator== (const float3 &a, const float3 &b) |
| float3 | operator+ (const float3 &a, const float3 &b) |
| float3 | operator* (const float3 &a, float b) |
| bool | operator== (const float4 &a, const float4 &b) |
| float4 | operator+ (const float4 &a, const float4 &b) |
| bool | operator== (const float3x3 &a, const float3x3 &b) |
| float3 | operator* (const float3x3 &a, const float3 &b) |
| float3x3 | operator* (const float3x3 &a, const float3x3 &b) |
| float3x3 | transpose (const float3x3 &a) |
| bool | operator== (const pose &a, const pose &b) |
| float3 | operator* (const pose &a, const float3 &b) |
| pose | operator* (const pose &a, const pose &b) |
| pose | inverse (const pose &a) |
| pose | to_pose (const rs2_extrinsics &a) |
| rs2_extrinsics | from_pose (pose a) |
| rs2_extrinsics | identity_matrix () |
| rs2_extrinsics | inverse (const rs2_extrinsics &a) |
| bool | operator== (const stream_profile &a, const stream_profile &b) |
| bool | operator< (const request_mapping &first, const request_mapping &second) |
| bool | operator== (const request_mapping &a, const request_mapping &b) |
| template<class T , class R , class W > | |
| std::shared_ptr< struct_interface< T, R, W > > | make_struct_interface (R r, W w) |
| rs2_intrinsics | pad_crop_intrinsics (const rs2_intrinsics &i, int pad_crop) |
| rs2_intrinsics | scale_intrinsics (const rs2_intrinsics &i, int width, int height) |
| bool | operator== (const rs2_intrinsics &a, const rs2_intrinsics &b) |
| uint32_t | pack (uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3) |
| 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) |
| bool | check_not_all_zeros (std::vector< byte > data) |
| std::string | datetime_string () |
| bool | file_exists (const char *filename) |
| float3x3 | calc_rotation_from_rodrigues_angles (const std::vector< double > rot) |
| uint32_t | calc_crc32 (const uint8_t *buf, size_t bufsize) |
| typedef std::function<rs2_metadata_type(const rs2_metadata_type& param)> librealsense::attrib_modifyer |
Post-processing adjustment of the metadata attribute e.g change auto_exposure enum to boolean, change units from nano->ms,etc'.
| typedef std::function<void(devices_data old, devices_data curr)> librealsense::device_changed_callback |
| typedef std::shared_ptr<rs2_devices_changed_callback> librealsense::devices_changed_callback_ptr |
| typedef void(* librealsense::devices_changed_function_ptr) (rs2_device_list *removed, rs2_device_list *added, void *user) |
| typedef std::vector<std::shared_ptr<device_info> > librealsense::devices_info |
| typedef float librealsense::float_4[4] |
| typedef std::shared_ptr<rs2_frame_callback> librealsense::frame_callback_ptr |
| typedef std::shared_ptr<rs2_frame_processor_callback> librealsense::frame_processor_callback_ptr |
| using librealsense::internal_callback = typedef std::function<void(rs2_device_list* removed, rs2_device_list* added)> |
| using librealsense::json = typedef nlohmann::json |
| typedef std::unique_ptr<rs2_log_callback, void(*)(rs2_log_callback*)> librealsense::log_callback_ptr |
| typedef std::map<rs2_frame_metadata_value, std::shared_ptr<md_attribute_parser_base> > librealsense::metadata_parser_map |
| typedef std::tuple<uint32_t, int, size_t> librealsense::native_pixel_format_tuple |
| typedef void(* librealsense::notifications_callback_function_ptr) (rs2_notification *notification, void *user) |
| typedef std::shared_ptr<rs2_notifications_callback> librealsense::notifications_callback_ptr |
| typedef std::function<void(rs2_stream, frame_interface*, callback_invocation_holder)> librealsense::on_before_frame_callback |
| using librealsense::on_frame = typedef std::function<void(frame_interface*)> |
| typedef std::function<void(std::vector<platform::stream_profile>)> librealsense::on_open |
| typedef std::tuple<rs2_stream, int, rs2_format> librealsense::output_tuple |
| typedef std::map<std::string, std::shared_ptr<json_field> > librealsense::parsers_map |
| typedef std::tuple<platform::stream_profile_tuple, native_pixel_format_tuple, std::vector<output_tuple> > librealsense::request_mapping_tuple |
| typedef int librealsense::stream_id |
| using librealsense::stream_profiles = typedef std::vector<std::shared_ptr<stream_profile_interface> > |
| typedef std::function<void(frame_holder, syncronization_environment)> librealsense::sync_callback |
|
strong |
|
strong |
Metadata fields that are utilized internally by librealsense Provides extention to the r2_frame_metadata list of attributes.
|
strong |
md_capture_stat_attributes - bit mask to find enabled attributes in md_capture_stats
|
strong |
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 | |
|
strong |
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 | |
|
strong |
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 | |
|
strong |
md_fisheye_control_attributes - bit mask to find active attributes, md_fisheye_control struct
| Enumerator | |
|---|---|
| gain_attribute | |
| exposure_attribute | |
|
strong |
md_rgb_control_attributes - bit mask to find active attributes, md_rgb_control struct
|
strong |
md_stat_attributes - bit mask to find active attributes, md_stat struct
|
strong |
md_mode - enumerates the types of metadata modes(structs) supported
| enum librealsense::occlusion_rect_type : uint8_t |
| void librealsense::align_disparity_to_other | ( | byte * | disparity_aligned_to_other, |
| const uint16_t * | disparity_pixels, | ||
| float | disparity_scale, | ||
| const rs2_intrinsics & | disparity_intrin, | ||
| const rs2_extrinsics & | disparity_to_other, | ||
| const rs2_intrinsics & | other_intrin | ||
| ) |
| void librealsense::align_other_to_disparity | ( | byte * | other_aligned_to_disparity, |
| const uint16_t * | disparity_pixels, | ||
| float | disparity_scale, | ||
| const rs2_intrinsics & | disparity_intrin, | ||
| const rs2_extrinsics & | disparity_to_other, | ||
| const rs2_intrinsics & | other_intrin, | ||
| const byte * | other_pixels, | ||
| rs2_format | other_format | ||
| ) |
| void librealsense::align_other_to_z | ( | byte * | other_aligned_to_z, |
| const uint16_t * | z_pixels, | ||
| float | z_scale, | ||
| const rs2_intrinsics & | z_intrin, | ||
| const rs2_extrinsics & | z_to_other, | ||
| const rs2_intrinsics & | other_intrin, | ||
| const byte * | other_pixels, | ||
| rs2_format | other_format | ||
| ) |
| void librealsense::align_z_to_other | ( | byte * | z_aligned_to_other, |
| const uint16_t * | z_pixels, | ||
| float | z_scale, | ||
| const rs2_intrinsics & | z_intrin, | ||
| const rs2_extrinsics & | z_to_other, | ||
| const rs2_intrinsics & | other_intrin | ||
| ) |
| int librealsense::arr_size | ( | T(&) | [sz] | ) |
| std::string librealsense::array2str | ( | T & | data | ) |
|
inline |
|
inline |
|
inline |
| uint32_t librealsense::calc_crc32 | ( | const uint8_t * | buf, |
| size_t | bufsize | ||
| ) |
| float3x3 librealsense::calc_rotation_from_rodrigues_angles | ( | const std::vector< double > | rot | ) |
|
inline |
|
inline |
| std::vector<int> librealsense::compute_rectification_table | ( | const rs2_intrinsics & | rect_intrin, |
| const rs2_extrinsics & | rect_to_unrect, | ||
| const rs2_intrinsics & | unrect_intrin | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void librealsense::copy | ( | void * | dst, |
| void const * | src, | ||
| size_t | size | ||
| ) |
|
inline |
|
inline |
| std::string librealsense::datetime_string | ( | ) |
| void librealsense::default_400 | ( | preset & | p | ) |
| void librealsense::default_405 | ( | preset & | p | ) |
| void librealsense::default_410 | ( | preset & | p | ) |
| void librealsense::default_420 | ( | preset & | p | ) |
| void librealsense::default_430 | ( | preset & | p | ) |
| void librealsense::deproject_disparity | ( | float * | points, |
| const rs2_intrinsics & | disparity_intrin, | ||
| const uint16_t * | disparity_pixels, | ||
| float | disparity_scale | ||
| ) |
| void librealsense::deproject_z | ( | float * | points, |
| const rs2_intrinsics & | z_intrin, | ||
| const uint16_t * | z_pixels, | ||
| float | z_scale | ||
| ) |
| bool librealsense::file_exists | ( | const char * | filename | ) |
| std::vector<platform::uvc_device_info> librealsense::filter_by_mi | ( | const std::vector< platform::uvc_device_info > & | devices, |
| uint32_t | mi | ||
| ) |
| 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 | ||
| ) |
| 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 | ||
| ) |
| stream_interface* librealsense::find_profile | ( | rs2_stream | stream, |
| int | index, | ||
| std::vector< stream_interface *> | profiles | ||
| ) |
|
inline |
|
inline |
| constexpr uint32_t librealsense::get_device_index | ( | ) |
| 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
| int librealsense::get_image_bpp | ( | rs2_format | format | ) |
| size_t librealsense::get_image_size | ( | int | width, |
| int | height, | ||
| rs2_format | format | ||
| ) |
| platform::uvc_device_info librealsense::get_mi | ( | const std::vector< platform::uvc_device_info > & | devices, |
| uint32_t | mi | ||
| ) |
| constexpr uint32_t librealsense::get_minimum_supported_file_version | ( | ) |
| constexpr device_serializer::nanoseconds librealsense::get_static_file_info_timestamp | ( | ) |
| std::string librealsense::get_string | ( | perc::Status | value | ) |
| 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 | ||
| ) |
| std::vector<std::vector<platform::uvc_device_info> > librealsense::group_devices_by_unique_id | ( | const std::vector< platform::uvc_device_info > & | devices | ) |
| void librealsense::hand_gesture | ( | preset & | p | ) |
|
inline |
| void librealsense::high_res_high_accuracy | ( | preset & | p | ) |
| void librealsense::high_res_high_density | ( | preset & | p | ) |
| void librealsense::high_res_mid_density | ( | preset & | p | ) |
|
inline |
|
inline |
| void librealsense::insert_control_to_map | ( | parsers_map & | map, |
| bool | was_set, | ||
| const std::string & | name, | ||
| param_group< T > & | control, | ||
| S | field | ||
| ) |
| void librealsense::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 | ||
| ) |
|
inline |
|
inline |
|
inline |
| 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; } |
||
| ) |
|
inline |
|
inline |
| void librealsense::low_res_high_accuracy | ( | preset & | p | ) |
| void librealsense::low_res_high_density | ( | preset & | p | ) |
| void librealsense::low_res_mid_density | ( | preset & | p | ) |
| std::shared_ptr<md_attribute_parser_base> librealsense::make_additional_data_parser | ( | Attribute St::* | attribute | ) |
A utility function to create additional_data parser.
| 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 | ||
| ) |
| 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.
| std::shared_ptr<json_field> librealsense::make_field | ( | T & | strct, |
| S T::group_type::* | field, | ||
| float | scale = 1.0f, |
||
| bool | is_duplicated_field = false |
||
| ) |
| 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 | ||
| ) |
| std::shared_ptr<json_field> librealsense::make_ignored_field | ( | ) |
| std::shared_ptr<json_field> librealsense::make_invert_field | ( | T & | strct, |
| S T::group_type::* | field, | ||
| bool | is_duplicated_field = false |
||
| ) |
| std::string librealsense::make_less_screamy | ( | const char * | str | ) |
|
inline |
A helper function to create a specialized parser for RS4xx sensor timestamp.
| 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.
| 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 |
||
| ) |
| std::shared_ptr<struct_interface<T, R, W> > librealsense::make_struct_interface | ( | R | r, |
| W | w | ||
| ) |
| 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.
| librealsense::MAP_ADVANCED_MODE | ( | STDepthControlGroup | , |
| etDepthControl | |||
| ) |
| 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 | ( | STColorCorrection | , |
| etColorCorrection | |||
| ) |
| librealsense::MAP_ADVANCED_MODE | ( | STDepthTableControl | , |
| etDepthTableControl | |||
| ) |
| librealsense::MAP_ADVANCED_MODE | ( | STAEControl | , |
| etAEControl | |||
| ) |
| librealsense::MAP_ADVANCED_MODE | ( | STCensusRadius | , |
| etCencusRadius9 | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_MOTION_PROFILE | , |
| librealsense::motion_stream_profile_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_DEBUG | , |
| librealsense::debug_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_INFO | , |
| librealsense::info_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_POSE_PROFILE | , |
| librealsense::pose_stream_profile_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_VIDEO | , |
| librealsense::video_sensor_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_VIDEO_PROFILE | , |
| librealsense::video_stream_profile_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_ROI | , |
| librealsense::roi_sensor_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_TM2 | , |
| librealsense::tm2_extensions | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_OPTIONS | , |
| librealsense::options_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_SOFTWARE_SENSOR | , |
| software_sensor | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_SOFTWARE_DEVICE | , |
| software_device | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_RECORD | , |
| record_device | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_PLAYBACK | , |
| playback_device | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_ADVANCED_MODE | , |
| librealsense::ds5_advanced_mode_interface | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_POINTS | , |
| librealsense::points | |||
| ) |
| 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_COMPOSITE_FRAME | , |
| librealsense::composite_frame | |||
| ) |
| librealsense::MAP_EXTENSION | ( | RS2_EXTENSION_VIDEO_FRAME | , |
| librealsense::video_frame | |||
| ) |
| 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 | |||
| ) |
| bool librealsense::mi_present | ( | const std::vector< platform::uvc_device_info > & | devices, |
| uint32_t | mi | ||
| ) |
| void librealsense::mid_res_high_accuracy | ( | preset & | p | ) |
| void librealsense::mid_res_high_density | ( | preset & | p | ) |
| void librealsense::mid_res_mid_density | ( | preset & | p | ) |
| double librealsense::monotonic_to_realtime | ( | double | monotonic | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void librealsense::rectify_image | ( | uint8_t * | rect_pixels, |
| const std::vector< int > & | rectification_table, | ||
| const uint8_t * | unrect_pixels, | ||
| rs2_format | format | ||
| ) |
|
inline |
|
inline |
| void librealsense::stream_args | ( | std::ostream & | out, |
| const char * | names, | ||
| const T & | last | ||
| ) |
| void librealsense::stream_args | ( | std::ostream & | out, |
| const char * | names, | ||
| const T & | first, | ||
| const U &... | rest | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void librealsense::trim_device_list | ( | std::vector< platform::uvc_device_info > & | devices, |
| const std::vector< platform::uvc_device_info > & | chosen | ||
| ) |
| void librealsense::trim_device_list | ( | std::vector< platform::usb_device_info > & | devices, |
| const std::vector< platform::usb_device_info > & | chosen | ||
| ) |
|
inline |
|
inline |
| void librealsense::update_preset_camera_control | ( | T & | camera_control, |
| const param_group< T > & | param | ||
| ) |
| void librealsense::update_preset_control | ( | T & | preset_control, |
| const param_group< T > & | param | ||
| ) |
|
inline |
| constexpr const char* librealsense::FRAME_TIMESTAMP_MD_STR = "frame_timestamp" |
| const uint8_t librealsense::INTRINSICS_MODEL_COUNT = 1 |
| constexpr const char* librealsense::MAPPER_CONFIDENCE_MD_STR = "Mapper Confidence" |
| constexpr uint8_t librealsense::md_capture_timing_size = sizeof(md_capture_timing) |
| const int librealsense::META_DATA_INTEL_CAPTURE_TIMING_VERSION = 0x1 |
| const int librealsense::META_DATA_INTEL_CONFIGURATION_VERSION = 0x1 |
| const int librealsense::META_DATA_INTEL_DEPTH_CONTROL_VERSION = 0x1 |
| const int librealsense::META_DATA_INTEL_STAT_VERSION = 0x1 |
| constexpr uint8_t librealsense::metadata_raw_size = sizeof(metadata_raw) |
| const native_pixel_format librealsense::pf_accel_axes |
| const native_pixel_format librealsense::pf_bayer16 |
| const native_pixel_format librealsense::pf_f200_invi |
| const native_pixel_format librealsense::pf_f200_inzi |
| const native_pixel_format librealsense::pf_fe_raw8_unpatched_kernel |
| const native_pixel_format librealsense::pf_gpio_timestamp |
| const native_pixel_format librealsense::pf_gyro_axes |
| const native_pixel_format librealsense::pf_invz |
| const native_pixel_format librealsense::pf_raw8 |
| const native_pixel_format librealsense::pf_rgb888 |
| const native_pixel_format librealsense::pf_rw10 |
| const native_pixel_format librealsense::pf_rw16 |
| const native_pixel_format librealsense::pf_sr300_invi |
| const native_pixel_format librealsense::pf_sr300_inzi |
| const native_pixel_format librealsense::pf_uyvyl |
| const native_pixel_format librealsense::pf_w10 |
| const native_pixel_format librealsense::pf_y12i |
| const native_pixel_format librealsense::pf_y16 |
| const native_pixel_format librealsense::pf_y8 |
| const native_pixel_format librealsense::pf_y8i |
| const native_pixel_format librealsense::pf_yuy2 |
| const native_pixel_format librealsense::pf_yuyv |
| const native_pixel_format librealsense::pf_z16 |
| const size_t librealsense::PRESISTENCY_LUT_SIZE = 256 |
| const uint16_t librealsense::SR300_PID = 0x0aa5 |
| constexpr const char* librealsense::SYSTEM_TIME_MD_STR = "system_time" |
| const double librealsense::TIMESTAMP_10NSEC_TO_MSEC = 0.00001 |
| constexpr const char* librealsense::TIMESTAMP_DOMAIN_MD_STR = "timestamp_domain" |
| const std::map<perc::PixelFormat, rs2_format> librealsense::tm2_formats_map |
| constexpr const char* librealsense::TRACKER_CONFIDENCE_MD_STR = "Tracker Confidence" |
| const uint8_t librealsense::TRANSFORM_COUNT = 1 |
| const uint8_t librealsense::UVC_GUID_SIZE = 16 |
1.8.14