|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
10 #ifndef LIBREALSENSE_RS2_INTERNAL_H
11 #define LIBREALSENSE_RS2_INTERNAL_H
104 struct pose_frame_info
546 const char* command,
unsigned int size_of_command,
rs2_error** error);
559 const char* command,
unsigned int size_of_command,
560 const void* response,
unsigned int size_of_response,
rs2_error** error);
void rs2_delete_terminal_parser(rs2_terminal_parser *terminal_parser)
Deletes RealSense terminal parser.
struct rs2_pose_stream rs2_pose_stream
All the parameters required to define a pose stream.
rs2_recording_mode
librealsense Recorder is intended for effective unit-testing Currently supports three modes of operat...
All the parameters required to define a sensor notification.
struct rs2_software_video_frame rs2_software_video_frame
All the parameters required to define a video frame.
struct rs2_context rs2_context
@ RS2_RECORDING_MODE_BLANK_FRAMES
rs2_raw_data_buffer * rs2_terminal_parse_response(rs2_terminal_parser *terminal_parser, const char *command, unsigned int size_of_command, const void *response, unsigned int size_of_response, rs2_error **error)
Parses terminal response via RealSense terminal parser.
float angular_acceleration[3]
const int unsigned_sr300_size
rs2_sensor * rs2_software_device_add_sensor(rs2_device *dev, const char *sensor_name, rs2_error **error)
Add sensor to the software device.
unsigned int rs2_get_number_of_fw_logs(rs2_device *dev, rs2_error **error)
Returns number of fw logs already polled from device but not by user yet.
rs2_notification_category
Category of the librealsense notification.
const int signed_sr300_size
unsigned int rs2_get_fw_log_parsed_sequence_id(rs2_firmware_log_parsed_message *fw_log_parsed_msg, rs2_error **error)
Gets RealSense firmware log parsed message sequence id - cyclic number of FW log with [0....
const char * serialized_data
rs2_context * rs2_create_recording_context(int api_version, const char *filename, const char *section, rs2_recording_mode mode, rs2_error **error)
Create librealsense context that will try to record all operations over librealsense into a file.
@ RS2_RECORDING_MODE_COMPRESSED
const rs2_stream_profile * profile
rs2_timestamp_domain domain
const int unsigned_fw_size
void rs2_software_sensor_detach(rs2_sensor *sensor, rs2_error **error)
Sensors hold the parent device in scope via a shared_ptr.
rs2_firmware_log_message * rs2_create_fw_log_message(rs2_device *dev, rs2_error **error)
Creates RealSense firmware log message.
struct rs2_terminal_parser rs2_terminal_parser
rs2_stream_profile * rs2_software_sensor_add_video_stream_ex(rs2_sensor *sensor, rs2_video_stream video_stream, int is_default, rs2_error **error)
Add video stream to sensor.
rs2_stream_profile * rs2_software_sensor_add_pose_stream(rs2_sensor *sensor, rs2_pose_stream pose_stream, rs2_error **error)
Add pose stream to sensor.
rs2_camera_info
Read-only strings that can be queried from the device.
int rs2_parse_firmware_log(rs2_device *dev, rs2_firmware_log_message *fw_log_msg, rs2_firmware_log_parsed_message *parsed_msg, rs2_error **error)
Gets RealSense firmware log parser.
struct rs2_software_motion_frame rs2_software_motion_frame
All the parameters required to define a motion frame.
void rs2_software_sensor_on_notification(rs2_sensor *sensor, rs2_software_notification notif, rs2_error **error)
Inject notification to software sonsor.
rs2_firmware_log_parsed_message * rs2_create_fw_log_parsed_message(rs2_device *dev, rs2_error **error)
Creates RealSense firmware log parsed message.
@ RS2_RECORDING_MODE_BEST_QUALITY
void rs2_software_device_create_matcher(rs2_device *dev, rs2_matchers matcher, rs2_error **error)
Set the wanted matcher type that will be used by the syncer.
struct rs2_software_pose_frame rs2_software_pose_frame
All the parameters required to define a pose frame.
rs2_context * rs2_create_mock_context(int api_version, const char *filename, const char *section, rs2_error **error)
Create librealsense context that given a file will respond to calls exactly as the recording did if t...
rs2_stream_profile * rs2_software_sensor_add_video_stream(rs2_sensor *sensor, rs2_video_stream video_stream, rs2_error **error)
Add video stream to sensor.
const rs2_stream_profile * profile
void rs2_software_sensor_update_read_only_option(rs2_sensor *sensor, rs2_option option, float val, rs2_error **error)
Update the read only option added to sensor.
rs2_log_severity
Severity of the librealsense logger.
All the parameters required to define a pose frame.
void rs2_delete_fw_log_message(rs2_firmware_log_message *msg)
Delete RealSense firmware log message.
rs2_stream_profile * rs2_software_sensor_add_motion_stream_ex(rs2_sensor *sensor, rs2_motion_stream motion_stream, int is_default, rs2_error **error)
Add motion stream to sensor.
int rs2_init_fw_log_parser(rs2_device *dev, const char *xml_content, rs2_error **error)
Initializes RealSense firmware logs parser in device.
unsigned int rs2_get_fw_log_parsed_line(rs2_firmware_log_parsed_message *fw_log_parsed_msg, rs2_error **error)
Gets RealSense firmware log parsed message relevant line (in the file that is returned by rs2_get_fw_...
rs2_stream_profile * rs2_software_sensor_add_motion_stream(rs2_sensor *sensor, rs2_motion_stream motion_stream, rs2_error **error)
Add motion stream to sensor.
All the parameters required to define a video stream.
rs2_recording_mode
librealsense Recorder is intended for effective unit-testing Currently supports three modes of operat...
Motion device intrinsics: scale, bias, and variances.
struct rs2_motion_stream rs2_motion_stream
All the parameters required to define a motion stream.
struct rs2_software_notification rs2_software_notification
All the parameters required to define a sensor notification.
unsigned int rs2_get_fw_log_parsed_timestamp(rs2_firmware_log_parsed_message *fw_log_parsed_msg, rs2_error **error)
Gets RealSense firmware log parsed message timestamp.
struct rs2_stream_profile rs2_stream_profile
All the parameters required to define a video frame.
struct rs2_sensor rs2_sensor
struct rs2_raw_data_buffer rs2_raw_data_buffer
int max(int a, int b)
Compute the component-wise maximum.
rs2_matchers
Specifies types of different matchers.
void rs2_software_device_set_destruction_callback(const rs2_device *dev, rs2_software_device_destruction_callback_ptr on_notification, void *user, rs2_error **error)
set callback to be notified when a specific software device is destroyed
void(* rs2_software_device_destruction_callback_ptr)(void *)
struct rs2_firmware_log_parsed_message rs2_firmware_log_parsed_message
rs2_notification_category category
int rs2_get_fw_log(rs2_device *dev, rs2_firmware_log_message *fw_log_msg, rs2_error **error)
Gets RealSense firmware log.
rs2_context * rs2_create_mock_context_versioned(int api_version, const char *filename, const char *section, const char *min_api_version, rs2_error **error)
Create librealsense context that given a file will respond to calls exactly as the recording did if t...
struct rs2_firmware_log_message rs2_firmware_log_message
rs2_raw_data_buffer * rs2_terminal_parse_command(rs2_terminal_parser *terminal_parser, const char *command, unsigned int size_of_command, rs2_error **error)
Parses terminal command via RealSense terminal parser.
rs2_timestamp_domain domain
int rs2_fw_log_message_size(rs2_firmware_log_message *msg, rs2_error **error)
Gets RealSense firmware log message size.
rs2_frame_metadata_value
Per-Frame-Metadata is the set of read-only properties that might be exposed for each individual frame...
rs2_log_severity rs2_get_fw_log_parsed_severity(rs2_firmware_log_parsed_message *fw_log_parsed_msg, rs2_error **error)
Gets RealSense firmware log parsed message severity.
rs2_log_severity rs2_fw_log_message_severity(const rs2_firmware_log_message *msg, rs2_error **error)
Gets RealSense firmware log message severity.
Exposes RealSense frame functionality for C compilers.
unsigned int rs2_fw_log_message_timestamp(rs2_firmware_log_message *msg, rs2_error **error)
Gets RealSense firmware log message timestamp.
rs2_format
A stream's format identifies how binary data is encoded within a frame.
void rs2_software_sensor_add_option(rs2_sensor *sensor, rs2_option option, float min, float max, float step, float def, int is_writable, rs2_error **error)
Add an option to sensor.
rs2_device * rs2_create_software_device(rs2_error **error)
Create software device to enable use librealsense logic without getting data from backend but inject ...
const unsigned char * rs2_fw_log_message_data(rs2_firmware_log_message *msg, rs2_error **error)
Gets RealSense firmware log message data.
rs2_option
Defines general configuration controls.
void rs2_software_sensor_on_motion_frame(rs2_sensor *sensor, rs2_software_motion_frame frame, rs2_error **error)
Inject motion frame to software sonsor.
int min(int a, int b)
Compute the component-wise minimum.
struct rs2_device rs2_device
@ RS2_RECORDING_MODE_COUNT
rs2_motion_device_intrinsic intrinsics
Exposes RealSense structs.
void rs2_software_sensor_set_metadata(rs2_sensor *sensor, rs2_frame_metadata_value value, rs2_metadata_type type, rs2_error **error)
Set frame metadata for the upcoming frames.
void rs2_software_device_set_destruction_callback_cpp(const rs2_device *dev, rs2_software_device_destruction_callback *callback, rs2_error **error)
set callback to be notified when a specific software device is destroyed
Exposes RealSense context functionality for C compilers.
void rs2_software_sensor_add_read_only_option(rs2_sensor *sensor, rs2_option option, float val, rs2_error **error)
Add read only option to sensor.
const char * rs2_get_fw_log_parsed_thread_name(rs2_firmware_log_parsed_message *fw_log_parsed_msg, rs2_error **error)
Gets RealSense firmware log parsed message thread name.
struct rs2_video_stream rs2_video_stream
All the parameters required to define a video stream.
Exposes RealSense sensor functionality for C compilers.
void rs2_software_device_update_info(rs2_device *dev, rs2_camera_info info, const char *val, rs2_error **error)
Update an existing camera info value for the software device.
long long rs2_metadata_type
Metadata attribute type is defined as 64 bit signed integer.
double rs2_time_t
Timestamp format.
const rs2_stream_profile * profile
void rs2_software_device_register_info(rs2_device *dev, rs2_camera_info info, const char *val, rs2_error **error)
Register a camera info value for the software device.
float angular_velocity[3]
rs2_stream_profile * rs2_software_sensor_add_pose_stream_ex(rs2_sensor *sensor, rs2_pose_stream pose_stream, int is_default, rs2_error **error)
Add pose stream to sensor.
rs2_intrinsics intrinsics
All the parameters required to define a pose stream.
rs2_terminal_parser * rs2_create_terminal_parser(const char *xml_content, rs2_error **error)
Creates RealSense terminal parser.
All the parameters required to define a motion stream.
Exposes sensor options functionality for C compilers.
All the parameters required to define a motion frame.
rs2_log_severity severity
const char * rs2_get_fw_log_parsed_file_name(rs2_firmware_log_parsed_message *fw_log_parsed_msg, rs2_error **error)
Gets RealSense firmware log parsed message file name.
rs2_timestamp_domain domain
int rs2_get_flash_log(rs2_device *dev, rs2_firmware_log_message *fw_log_msg, rs2_error **error)
Gets RealSense flash log - this is a fw log that has been written in the device during the previous s...
rs2_stream
Streams are different types of data provided by RealSense devices.
void rs2_software_sensor_on_video_frame(rs2_sensor *sensor, rs2_software_video_frame frame, rs2_error **error)
Inject video frame to software sonsor.
const char * rs2_get_fw_log_parsed_message(rs2_firmware_log_parsed_message *fw_log_parsed_msg, rs2_error **error)
Gets RealSense firmware log parsed message.
void rs2_delete_fw_log_parsed_message(rs2_firmware_log_parsed_message *fw_log_parsed_msg)
Deletes RealSense firmware log parsed message.
void rs2_software_sensor_on_pose_frame(rs2_sensor *sensor, rs2_software_pose_frame frame, rs2_error **error)
Inject pose frame to software sonsor.
rs2_timestamp_domain
Specifies the clock in relation to which the frame timestamp was measured.
struct rs2_error rs2_error
const int signed_fw_size
Firmware size constants.