rs_record_playback.h
Go to the documentation of this file.
1 /* License: Apache 2.0. See LICENSE file in root directory.
2  Copyright(c) 2017 Intel Corporation. All Rights Reserved. */
3 
10 #ifndef LIBREALSENSE_RS2_RECORD_PLAYBACK_H
11 #define LIBREALSENSE_RS2_RECORD_PLAYBACK_H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #include "rs_types.h"
18 
19 typedef enum rs2_playback_status
20 {
27 
28 const char* rs2_playback_status_to_string(rs2_playback_status status);
29 
31 
40 
49 rs2_device* rs2_create_record_device_ex(const rs2_device* device, const char* file, int compression_enabled, rs2_error** error);
50 
58 
65 
73 
81 
89 
96 unsigned long long int rs2_playback_get_duration(const rs2_device* device, rs2_error** error);
97 
104 void rs2_playback_seek(const rs2_device* device, long long int time, rs2_error** error);
105 
112 unsigned long long int rs2_playback_get_position(const rs2_device* device, rs2_error** error);
113 
122 
130 
143 void rs2_playback_device_set_real_time(const rs2_device* device, int real_time, rs2_error** error);
144 
152 
163 
171 
180 
188 
189 #ifdef __cplusplus
190 }
191 #endif
192 #endif
const char * rs2_playback_device_get_file_path(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1556
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
void rs2_playback_seek(const rs2_device *device, long long int time, rs2_error **error)
Definition: rs.cpp:1572
void rs2_playback_device_set_status_changed_callback(const rs2_device *device, rs2_playback_status_changed_callback *callback, rs2_error **error)
Definition: rs.cpp:1621
void rs2_record_device_pause(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1679
int rs2_playback_device_is_real_time(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1613
void rs2_playback_device_pause(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1597
rs2_device * rs2_create_record_device_ex(const rs2_device *device, const char *file, int compression_enabled, rs2_error **error)
Definition: rs.cpp:1666
status
Defines return codes that SDK interfaces use. Negative values indicate errors, a zero value indicates...
void rs2_playback_device_stop(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1648
unsigned long long int rs2_playback_get_position(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1581
void rs2_record_device_resume(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1687
Exposes RealSense structs.
rs2_playback_status
Definition: api.h:28
def callback(frame)
Definition: t265_stereo.py:91
unsigned long long int rs2_playback_get_duration(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1564
void(* rs2_playback_status_changed_callback_ptr)(rs2_playback_status)
rs2_device * rs2_create_record_device(const rs2_device *device, const char *file, rs2_error **error)
Definition: rs.cpp:1656
rs2_playback_status rs2_playback_device_get_current_status(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1632
const char * rs2_playback_status_to_string(rs2_playback_status status)
Definition: rs.cpp:1273
rs2_device * rs2_create_playback_device(const char *file, rs2_error **error)
auto device
Definition: pyrs_net.cpp:17
const char * rs2_record_device_filename(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1695
void rs2_playback_device_resume(const rs2_device *device, rs2_error **error)
Definition: rs.cpp:1589
void rs2_playback_device_set_real_time(const rs2_device *device, int real_time, rs2_error **error)
Definition: rs.cpp:1605
void rs2_playback_device_set_playback_speed(const rs2_device *device, float speed, rs2_error **error)
Definition: rs.cpp:1640


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