Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
types.h
1 
7 #ifndef K4ARECORD_TYPES_H
8 #define K4ARECORD_TYPES_H
9 
10 #include <k4a/k4atypes.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
34 K4A_DECLARE_HANDLE(k4a_record_t);
35 
49 K4A_DECLARE_HANDLE(k4a_playback_t);
50 
64 K4A_DECLARE_HANDLE(k4a_playback_data_block_t)
65 
66 
81 #define K4A_TRACK_NAME_COLOR "COLOR"
82 
91 #define K4A_TRACK_NAME_DEPTH "DEPTH"
92 
101 #define K4A_TRACK_NAME_IR "IR"
102 
111 #define K4A_TRACK_NAME_IMU "IMU"
112 
128 typedef enum
129 {
134 
143 typedef enum
144 {
149 
168 typedef struct _k4a_record_configuration_t
169 {
172 
175 
178 
181 
184 
187 
190 
193 
199 
202 
208 
215 
224 typedef struct _k4a_record_video_settings_t
225 {
226  uint64_t width;
227  uint64_t height;
228  uint64_t frame_rate;
230 
239 typedef struct _k4a_record_subtitle_settings_t
240 {
252 
257 #ifdef __cplusplus
258 }
259 #endif
260 
261 #endif /* K4ARECORD_TYPES_H */
The result was successful.
Definition: types.h:130
k4a_fps_t
Color and depth sensor frame rate.
Definition: k4atypes.h:478
Seek relative to the beginning of a recording.
Definition: types.h:145
int32_t depth_delay_off_color_usec
The delay between color and depth images in the recording.
Definition: types.h:198
Structure containing additional metadata specific to custom subtitle tracks.
Definition: types.h:239
k4a_depth_mode_t depth_mode
Mode used to record the depth camera.
Definition: types.h:177
Seek relative to the end of a recording.
Definition: types.h:146
k4a_depth_mode_t
Depth sensor capture modes.
Definition: k4atypes.h:290
uint64_t width
Frame width of the video.
Definition: types.h:226
k4a_wired_sync_mode_t wired_sync_mode
External synchronization mode.
Definition: types.h:201
k4a_stream_result_t
Return codes returned by Azure Kinect playback API.
Definition: types.h:128
uint32_t subordinate_delay_off_master_usec
The delay between this recording and the externally synced master camera.
Definition: types.h:207
bool ir_track_enabled
True if the recording contains IR camera frames.
Definition: types.h:189
k4a_wired_sync_mode_t
Synchronization mode when connecting two or more devices together.
Definition: k4atypes.h:636
uint64_t frame_rate
Frame rate (frames-per-second) of the video.
Definition: types.h:228
k4a_color_resolution_t color_resolution
Image resolution used to record the color camera.
Definition: types.h:174
The result was a failure.
Definition: types.h:131
k4a_fps_t camera_fps
Frame rate used to record the color and depth camera.
Definition: types.h:180
bool imu_track_enabled
True if the recording contains IMU sample data.
Definition: types.h:192
k4a_image_format_t color_format
Image format used to record the color camera.
Definition: types.h:171
Handle to a block of data read from a k4a_playback_t custom track.
Definition: types.h:64
k4a_playback_seek_origin_t
Playback seeking positions.
Definition: types.h:143
Structure containing the device configuration used to record.
Definition: types.h:168
Structure containing additional metadata specific to custom video tracks.
Definition: types.h:224
k4a_color_resolution_t
Color sensor resolutions.
Definition: k4atypes.h:309
uint64_t height
Frame height of the video.
Definition: types.h:227
Handle to a k4a recording opened for playback.
Definition: types.h:49
Seek to an absolute device timestamp.
Definition: types.h:147
uint32_t start_timestamp_offset_usec
The timestamp offset of the start of the recording.
Definition: types.h:213
bool high_freq_data
If true, data will be grouped together in batches to reduce overhead.
Definition: types.h:250
bool depth_track_enabled
True if the recording contains Depth camera frames.
Definition: types.h:186
Handle to a k4a recording opened for writing.
Definition: types.h:34
The end of the data stream was reached.
Definition: types.h:132
k4a_image_format_t
Image format type.
Definition: k4atypes.h:332
bool color_track_enabled
True if the recording contains Color camera frames.
Definition: types.h:183