| OrbbecSDK 1.5.7 OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

RecordPlayback.h
Go to the documentation of this file.
1
10 #pragma once
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #include "ObTypes.h"
17
31 ob_recorder *ob_create_recorder(ob_error **error);
32
48 ob_recorder *ob_create_recorder_with_device(ob_device *dev, ob_error **error);
49
63 void ob_delete_recorder(ob_recorder *recorder, ob_error **error);
64
82 void ob_recorder_start(ob_recorder *recorder, const char *filename, bool async, ob_error **error);
83
97 void ob_recorder_stop(ob_recorder *recorder, ob_error **error);
98
114 void ob_recorder_write_frame(ob_recorder *recorder, ob_frame *frame, ob_error **error);
115
129 ob_playback *ob_create_playback(const char *filename, ob_error **error);
130
144 void ob_delete_playback(ob_playback *playback, ob_error **error);
145
165 void ob_playback_start(ob_playback *playback, ob_playback_callback callback, void *user_data, ob_media_type type, ob_error **error);
166
180 void ob_playback_stop(ob_playback *playback, ob_error **error);
181
197 void ob_set_playback_state_callback(ob_playback *playback, ob_media_state_callback callback, void *user_data, ob_error **error);
198
214 ob_device_info *ob_playback_get_device_info(ob_playback *playback, ob_error **error);
215
231 ob_camera_param ob_playback_get_camera_param(ob_playback *playback, ob_error **error);
232
233 #ifdef __cplusplus
234 }
235 #endif
ob_playback_callback
#define ob_playback_callback
Definition: ObTypes.h:1408
ob_create_playback
ob_playback * ob_create_playback(const char *filename, ob_error **error)
Create playback object.
ob_playback_stop
void ob_playback_stop(ob_playback *playback, ob_error **error)
stop playback
ob_playback
struct PlaybackImpl ob_playback
Definition: ObTypes.h:61
ob_media_type
enum OBMediaType ob_media_type
ob_set_playback_state_callback
void ob_set_playback_state_callback(ob_playback *playback, ob_media_state_callback callback, void *user_data, ob_error **error)
Set playback state.
ObTypes.h
Provide structs commonly used in the SDK, enumerating constant definitions.
ob_playback_get_camera_param
ob_camera_param ob_playback_get_camera_param(ob_playback *playback, ob_error **error)
Get the intrinsic and extrinsic parameter information in the recording file.
ob_recorder
struct RecorderImpl ob_recorder
Definition: ObTypes.h:60
ob_device
struct DeviceImpl ob_device
Definition: ObTypes.h:48
ob_recorder_write_frame
void ob_recorder_write_frame(ob_recorder *recorder, ob_frame *frame, ob_error **error)
Write frame data to the recorder.
OBCameraParam
Camera parameters.
Definition: ObTypes.h:434
ob_recorder_start
void ob_recorder_start(ob_recorder *recorder, const char *filename, bool async, ob_error **error)
start recording
ob_delete_playback
void ob_delete_playback(ob_playback *playback, ob_error **error)
delete playback object
ob_device_info
struct DeviceInfoImpl ob_device_info
Definition: ObTypes.h:49
ob_frame
struct CFrameImpl ob_frame
Definition: ObTypes.h:56
ob_delete_recorder
void ob_delete_recorder(ob_recorder *recorder, ob_error **error)
delete recorder object
ob_playback_start
void ob_playback_start(ob_playback *playback, ob_playback_callback callback, void *user_data, ob_media_type type, ob_error **error)
Start playback, playback data is returned from the callback.
ob_recorder_stop
void ob_recorder_stop(ob_recorder *recorder, ob_error **error)
stop recording
ob_media_state_callback
void(* ob_media_state_callback)(ob_media_state state, void *user_data)
Media status callbacks (recording and playback)
Definition: ObTypes.h:1378
ob_create_recorder
ob_recorder * ob_create_recorder(ob_error **error)
Create a recorder for data recording.
ob_create_recorder_with_device
ob_recorder * ob_create_recorder_with_device(ob_device *dev, ob_error **error)
Create a recorder for data recording.
ob_playback_get_device_info
ob_device_info * ob_playback_get_device_info(ob_playback *playback, ob_error **error)
Get the device information in the recording file.
ob_error
The error class exposed by the SDK, users can get detailed error information according to the erro...
Definition: ObTypes.h:142