|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
9 #ifndef LIBREALSENSE_RS2_TYPES_H
10 #define LIBREALSENSE_RS2_TYPES_H
73 #pragma pack( push, 1 )
79 unsigned char flags[5];
@ RS2_EXTENSION_CALIBRATED_SENSOR
struct rs2_pipeline_profile rs2_pipeline_profile
@ RS2_EXTENSION_TEMPORAL_FILTER
3D vector in Euclidean coordinate space
struct rs2_device_hub rs2_device_hub
@ RS2_EXTENSION_DEPTH_SENSOR
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
Quaternion used to represent rotation
@ RS2_EXTENSION_SOFTWARE_SENSOR
double rs2_time_t
Timestamp format.
struct rs2_context rs2_context
@ RS2_EXCEPTION_TYPE_UNKNOWN
@ RS2_EXCEPTION_TYPE_DEVICE_IN_RECOVERY_MODE
Device is in recovery mode and might require firmware update.
@ RS2_EXTENSION_DISPARITY_FILTER
@ RS2_EXTENSION_POSE_FRAME
struct rs2_log_message rs2_log_message
@ RS2_DSM_CORRECTION_TOA
Thermal-over-aging; aging-induced error changes alongside temperature.
rs2_distortion
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
struct rs2_quaternion rs2_quaternion
Quaternion used to represent rotation
rs2_vector angular_velocity
X, Y, Z values of angular velocity, in radians/sec
rs2_log_severity
Severity of the librealsense logger.
struct rs2_firmware_log_parser rs2_firmware_log_parser
@ RS2_EXTENSION_DEPTH_FRAME
float mc_h_scale
the scale factor to horizontal LOS coefficients in MC
rs2_notification_category
Category of the librealsense notification.
@ RS2_NOTIFICATION_CATEGORY_FRAME_CORRUPTED
Received partial/incomplete frame.
float h_scale
the scale factor to horizontal DSM scale thermal results
rs2_distortion
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
const char * rs2_notification_category_to_string(rs2_notification_category category)
rs2_extension
Specifies advanced interfaces (capabilities) objects may implement.
struct rs2_config rs2_config
struct rs2_stream_profile_list rs2_stream_profile_list
@ RS2_LOG_SEVERITY_INFO
Terse information about ordinary operations.
float ppx
Horizontal coordinate of the principal point of the image, as a pixel offset from the left edge.
Video DSM (Digital Sync Module) parameters for calibration (same layout as in FW ac_depth_params) Thi...
@ RS2_EXTENSION_VIDEO_PROFILE
struct rs2_dsm_params rs2_dsm_params
Video DSM (Digital Sync Module) parameters for calibration (same layout as in FW ac_depth_params) Thi...
int height
Height of the image in pixels.
@ RS2_EXTENSION_DEVICE_CALIBRATION
unsigned long long timestamp
system_clock::time_point::time_since_epoch().count()
unsigned char weeks_since_calibration
time (in weeks) since factory calibration
const char * rs2_get_failed_function(const rs2_error *error)
struct rs2_processing_block rs2_processing_block
float v_scale
the scale factor to vertical DSM scale thermal results
@ RS2_EXCEPTION_TYPE_IO
IO Device failure.
unsigned char temp_x2
the temperature recorded times 2 (ldd for depth; hum for rgb)
struct rs2_terminal_parser rs2_terminal_parser
@ RS2_NOTIFICATION_CATEGORY_HARDWARE_EVENT
General Hardeware notification that is not an error.
@ RS2_EXTENSION_MOTION_PROFILE
void(* rs2_frame_callback_ptr)(rs2_frame *, void *)
@ RS2_EXTENSION_UPDATE_DEVICE
void(* rs2_update_progress_callback_ptr)(const float, void *)
struct rs2_device_serializer rs2_device_serializer
@ RS2_EXTENSION_AUTO_CALIBRATION_FILTER
@ RS2_EXTENSION_GLOBAL_TIMER
rs2_quaternion rotation
Qi, Qj, Qk, Qr components of rotation as represented in quaternion rotation (relative to initial posi...
float mc_v_scale
the scale factor to vertical LOS coefficients in MC
float bias_variances[3]
Variance of bias for X, Y, and Z axis.
Pixel location within 2D image.
void(* rs2_devices_changed_callback_ptr)(rs2_device_list *, rs2_device_list *, void *)
rs2_exception_type
Exception types are the different categories of errors that RealSense API might return.
unsigned char model
rs2_dsm_correction_model
const char * rs2_extension_type_to_string(rs2_extension type)
rs2_log_severity
Severity of the librealsense logger.
const char * rs2_distortion_to_string(rs2_distortion distortion)
@ RS2_EXCEPTION_TYPE_NOT_IMPLEMENTED
The method is not implemented at this point.
@ RS2_EXTENSION_DEBUG_STREAM_SENSOR
@ RS2_EXTENSION_HOLE_FILLING_FILTER
@ RS2_EXTENSION_SPATIAL_FILTER
@ RS2_EXTENSION_DEPTH_HUFFMAN_DECODER
Motion device intrinsics: scale, bias, and variances.
@ RS2_EXTENSION_MOTION_SENSOR
float fx
Focal length of the image plane, as a multiple of pixel width.
void(* rs2_log_callback_ptr)(rs2_log_severity, rs2_log_message const *, void *arg)
@ RS2_LOG_SEVERITY_WARN
Indication of possible failure.
struct rs2_pipeline rs2_pipeline
@ RS2_EXCEPTION_TYPE_COUNT
Number of enumeration values.
struct rs2_options_list rs2_options_list
@ RS2_EXTENSION_THRESHOLD_FILTER
struct rs2_stream_profile rs2_stream_profile
rs2_distortion model
Distortion model of the image.
struct rs2_sensor rs2_sensor
@ RS2_EXTENSION_MAX_USABLE_RANGE_SENSOR
struct rs2_raw_data_buffer rs2_raw_data_buffer
struct rs2_frame_queue rs2_frame_queue
@ RS2_EXTENSION_ZERO_ORDER_FILTER
rs2_matchers
Specifies types of different matchers.
@ RS2_DISTORTION_NONE
Rectilinear images.
struct rs2_options rs2_options
struct rs2_firmware_log_parsed_message rs2_firmware_log_parsed_message
@ RS2_NOTIFICATION_CATEGORY_UNKNOWN_ERROR
Received unknown error from the device.
@ RS2_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
Function precondition was violated.
@ RS2_EXCEPTION_TYPE_BACKEND
Error was returned from the underlying OS-specific layer.
@ RS2_EXTENSION_FISHEYE_SENSOR
const char * rs2_exception_type_to_string(rs2_exception_type type)
void(* rs2_frame_processor_callback_ptr)(rs2_frame *, rs2_source *, void *)
struct rs2_device_list rs2_device_list
@ RS2_EXTENSION_SEQUENCE_ID_FILTER
unsigned short version
MAJOR<<12 | MINOR<<4 | PATCH.
float ppy
Vertical coordinate of the principal point of the image, as a pixel offset from the top edge.
@ RS2_EXTENSION_POSE_SENSOR
unsigned char reserved[1]
struct rs2_frame rs2_frame
@ RS2_EXTENSION_DEPTH_STEREO_SENSOR
@ RS2_EXTENSION_SOFTWARE_DEVICE
struct rs2_firmware_log_message rs2_firmware_log_message
@ RS2_EXTENSION_DECIMATION_FILTER
void(* rs2_notification_callback_ptr)(rs2_notification *, void *)
struct rs2_source rs2_source
unsigned char ac_weeks_since_calibaration
time (in weeks) between factory calibration and last AC event
@ RS2_DISTORTION_KANNALA_BRANDT4
Four parameter Kannala Brandt distortion model.
struct rs2_notification rs2_notification
@ RS2_EXTENSION_COMPOSITE_FRAME
rs2_vector velocity
X, Y, Z values of velocity, in meters/sec
@ RS2_LOG_SEVERITY_DEBUG
Detailed information about ordinary operations.
const char * rs2_get_error_message(const rs2_error *error)
float fy
Focal length of the image plane, as a multiple of pixel height.
@ RS2_EXCEPTION_TYPE_CAMERA_DISCONNECTED
Device was disconnected, this can be caused by outside intervention, by internal firmware error or du...
@ RS2_DISTORTION_INVERSE_BROWN_CONRADY
Equivalent to Brown-Conrady distortion, except undistorts image instead of distorting it.
struct rs2_vector rs2_vector
3D vector in Euclidean coordinate space
@ RS2_DSM_CORRECTION_COUNT
rs2_vector angular_acceleration
X, Y, Z values of angular acceleration, in radians/sec^2
struct rs2_sensor_list rs2_sensor_list
unsigned int mapper_confidence
Pose map confidence 0x0 - Failed, 0x1 - Low, 0x2 - Medium, 0x3 - High
struct rs2_syncer rs2_syncer
struct rs2_intrinsics rs2_intrinsics
Video stream intrinsics.
@ RS2_DSM_CORRECTION_AOT
Aging-over-thermal (default); aging-induced error is uniform across temperature.
long long rs2_metadata_type
Metadata attribute type is defined as 64 bit signed integer.
rs2_vector translation
X, Y, Z values of translation, in meters (relative to initial position)
rs2_error * rs2_create_error(const char *what, const char *name, const char *args, rs2_exception_type type)
@ RS2_DISTORTION_BROWN_CONRADY
Unmodified Brown-Conrady distortion model.
@ RS2_EXTENSION_AUTO_CALIBRATED_DEVICE
rs2_exception_type rs2_get_librealsense_exception_type(const rs2_error *error)
float h_offset
the offset to horizontal DSM offset thermal results
@ RS2_EXTENSION_DISPARITY_FRAME
@ RS2_NOTIFICATION_CATEGORY_POSE_RELOCALIZATION
A relocalization event has updated the pose provided by a pose sensor.
@ RS2_EXTENSION_RECOMMENDED_FILTERS
@ RS2_EXTENSION_SERIALIZABLE
@ RS2_EXTENSION_ADVANCED_MODE
rs2_exception_type
Exception types are the different categories of errors that RealSense API might return.
struct rs2_device rs2_device
int width
Width of the image in pixels.
3D coordinates with origin at topmost left corner of the lense, with positive Z pointing away from th...
void rs2_free_error(rs2_error *error)
@ RS2_EXTENSION_UPDATABLE
@ RS2_EXTENSION_FW_LOGGER
@ RS2_EXTENSION_POSE_PROFILE
unsigned int tracker_confidence
Pose confidence 0x0 - Failed, 0x1 - Low, 0x2 - Medium, 0x3 - High
float noise_variances[3]
Variance of noise for X, Y, and Z axis.
struct rs2_pixel rs2_pixel
Pixel location within 2D image.
void(* rs2_software_device_destruction_callback_ptr)(void *)
@ RS2_EXTENSION_CALIBRATION_CHANGE_DEVICE
@ RS2_EXTENSION_WHEEL_ODOMETER
@ RS2_LOG_SEVERITY_ALL
Include any/all log messages.
rs2_vector acceleration
X, Y, Z values of acceleration, in meters/sec^2
rs2_matchers
Specifies types of different matchers.
struct rs2_device_info rs2_device_info
@ RS2_NOTIFICATION_CATEGORY_FRAMES_TIMEOUT
Frames didn't arrived within 5 seconds.
@ RS2_EXCEPTION_TYPE_INVALID_VALUE
Invalid value was passed to the API.
float coeffs[5]
Distortion coefficients.
@ RS2_DISTORTION_COUNT
Number of enumeration values.
unsigned char flags[5]
TBD, now 0s.
@ RS2_EXTENSION_VIDEO_FRAME
@ RS2_EXTENSION_L500_DEPTH_SENSOR
float data[3][4]
Interpret data array values.
@ RS2_NOTIFICATION_CATEGORY_HARDWARE_ERROR
Error reported from the device.
@ RS2_NOTIFICATION_CATEGORY_FIRMWARE_UPDATE_RECOMMENDED
Current firmware version installed is not the latest available.
float rtd_offset
the offset to the Round-Trip-Distance delay thermal results
@ RS2_EXTENSION_HDR_MERGE
@ RS2_EXTENSION_TM2_SENSOR
@ RS2_DISTORTION_FTHETA
F-Theta fish-eye distortion model.
@ RS2_DSM_CORRECTION_NONE
hFactor and hOffset are not used, and no artificial error is induced
@ RS2_EXTENSION_MOTION_FRAME
@ RS2_LOG_SEVERITY_COUNT
Number of enumeration values.
const char * rs2_get_failed_args(const rs2_error *error)
const char * rs2_log_severity_to_string(rs2_log_severity info)
rs2_notification_category
Category of the librealsense notification.
float v_offset
the offset to vertical DSM offset thermal results
struct rs2_motion_device_intrinsic rs2_motion_device_intrinsic
Motion device intrinsics: scale, bias, and variances.
@ RS2_DISTORTION_MODIFIED_BROWN_CONRADY
Equivalent to Brown-Conrady distortion, except that tangential distortion is applied to radially dist...
@ RS2_LOG_SEVERITY_FATAL
Indication of unrecoverable failure.
struct rs2_vertex rs2_vertex
3D coordinates with origin at topmost left corner of the lense, with positive Z pointing away from th...
struct rs2_processing_block_list rs2_processing_block_list
@ RS2_NOTIFICATION_CATEGORY_COUNT
Number of enumeration values.
@ RS2_LOG_SEVERITY_ERROR
Indication of definite failure.
@ RS2_LOG_SEVERITY_NONE
No logging will occur.
const char * rs2_extension_to_string(rs2_extension type)
struct rs2_error rs2_error
@ RS2_EXTENSION_COLOR_SENSOR