Orbbec SDK K4A Wrapper
Loading...
Searching...
No Matches
playback.h
Go to the documentation of this file.
1
7#ifndef K4A_PLAYBACK_H
8#define K4A_PLAYBACK_H
9
10#include <k4arecord/types.h>
11#include <k4arecord/k4arecord_export.h>
12
13#ifdef __cplusplus
14
15extern "C" {
16#endif
17
48K4ARECORD_EXPORT k4a_result_t k4a_playback_open(const char *path, k4a_playback_t *playback_handle);
49
82 uint8_t *data,
83 size_t *data_size);
84
111 k4a_calibration_t *calibration);
112
136
155K4ARECORD_EXPORT bool k4a_playback_check_track_exists(k4a_playback_t playback_handle, const char *track_name);
156
172K4ARECORD_EXPORT size_t k4a_playback_get_track_count(k4a_playback_t playback_handle);
173
209 size_t track_index,
210 char *track_name,
211 size_t *track_name_size);
212
231K4ARECORD_EXPORT bool k4a_playback_track_is_builtin(k4a_playback_t playback_handle, const char *track_name);
232
256 const char *track_name,
257 k4a_record_video_settings_t *video_settings);
258
293 const char *track_name,
294 char *codec_id,
295 size_t *codec_id_size);
296
330 const char *track_name,
331 uint8_t *codec_context,
332 size_t *codec_context_size);
333
371 const char *name,
372 char *value,
373 size_t *value_size);
374
407 k4a_image_format_t target_format);
408
439 const char *file_name,
440 uint8_t *data,
441 size_t *data_size);
442
484 k4a_capture_t *capture_handle);
485
528 k4a_capture_t *capture_handle);
529
565 k4a_imu_sample_t *imu_sample);
566
602 k4a_imu_sample_t *imu_sample);
603
651 const char *track_name,
652 k4a_playback_data_block_t *data_block_handle);
653
701 const char *track_name,
702 k4a_playback_data_block_t *data_block_handle);
703
723K4ARECORD_EXPORT uint64_t
725
745
767K4ARECORD_EXPORT uint8_t *k4a_playback_data_block_get_buffer(k4a_playback_data_block_t data_block_handle);
768
787K4ARECORD_EXPORT void k4a_playback_data_block_release(k4a_playback_data_block_t data_block_handle);
788
836 int64_t offset_usec,
838
861K4ARECORD_EXPORT uint64_t k4a_playback_get_recording_length_usec(k4a_playback_t playback_handle);
862
888K4ARECORD_DEPRECATED_EXPORT uint64_t k4a_playback_get_last_timestamp_usec(k4a_playback_t playback_handle);
889
907K4ARECORD_EXPORT void k4a_playback_close(k4a_playback_t playback_handle);
908
913#ifdef __cplusplus
914} // extern "C"
915#endif
916
917#endif /* K4A_PLAYBACK_H */
k4a_result_t
Definition: k4atypes.h:218
k4a_playback_seek_origin_t
Definition: types.h:144
k4a_buffer_result_t
Definition: k4atypes.h:232
k4a_stream_result_t
Definition: types.h:129
k4a_image_format_t
Definition: k4atypes.h:333
K4ARECORD_EXPORT k4a_stream_result_t k4a_playback_get_previous_capture(k4a_playback_t playback_handle, k4a_capture_t *capture_handle)
K4ARECORD_EXPORT size_t k4a_playback_get_track_count(k4a_playback_t playback_handle)
K4ARECORD_EXPORT k4a_buffer_result_t k4a_playback_get_tag(k4a_playback_t playback_handle, const char *name, char *value, size_t *value_size)
K4ARECORD_EXPORT k4a_stream_result_t k4a_playback_get_next_data_block(k4a_playback_t playback_handle, const char *track_name, k4a_playback_data_block_t *data_block_handle)
K4ARECORD_EXPORT k4a_result_t k4a_playback_seek_timestamp(k4a_playback_t playback_handle, int64_t offset_usec, k4a_playback_seek_origin_t origin)
K4ARECORD_EXPORT k4a_result_t k4a_playback_track_get_video_settings(k4a_playback_t playback_handle, const char *track_name, k4a_record_video_settings_t *video_settings)
K4ARECORD_EXPORT bool k4a_playback_track_is_builtin(k4a_playback_t playback_handle, const char *track_name)
K4ARECORD_EXPORT k4a_buffer_result_t k4a_playback_get_raw_calibration(k4a_playback_t playback_handle, uint8_t *data, size_t *data_size)
K4ARECORD_EXPORT k4a_result_t k4a_playback_open(const char *path, k4a_playback_t *playback_handle)
K4ARECORD_EXPORT size_t k4a_playback_data_block_get_buffer_size(k4a_playback_data_block_t data_block_handle)
K4ARECORD_EXPORT uint64_t k4a_playback_data_block_get_device_timestamp_usec(k4a_playback_data_block_t data_block_handle)
K4ARECORD_EXPORT k4a_stream_result_t k4a_playback_get_previous_imu_sample(k4a_playback_t playback_handle, k4a_imu_sample_t *imu_sample)
K4ARECORD_EXPORT k4a_buffer_result_t k4a_playback_track_get_codec_context(k4a_playback_t playback_handle, const char *track_name, uint8_t *codec_context, size_t *codec_context_size)
K4ARECORD_EXPORT void k4a_playback_close(k4a_playback_t playback_handle)
K4ARECORD_EXPORT uint64_t k4a_playback_get_recording_length_usec(k4a_playback_t playback_handle)
K4ARECORD_EXPORT bool k4a_playback_check_track_exists(k4a_playback_t playback_handle, const char *track_name)
K4ARECORD_EXPORT k4a_stream_result_t k4a_playback_get_previous_data_block(k4a_playback_t playback_handle, const char *track_name, k4a_playback_data_block_t *data_block_handle)
K4ARECORD_EXPORT k4a_buffer_result_t k4a_playback_get_track_name(k4a_playback_t playback_handle, size_t track_index, char *track_name, size_t *track_name_size)
K4ARECORD_EXPORT k4a_stream_result_t k4a_playback_get_next_capture(k4a_playback_t playback_handle, k4a_capture_t *capture_handle)
K4ARECORD_EXPORT k4a_result_t k4a_playback_set_color_conversion(k4a_playback_t playback_handle, k4a_image_format_t target_format)
K4ARECORD_EXPORT k4a_buffer_result_t k4a_playback_get_attachment(k4a_playback_t playback_handle, const char *file_name, uint8_t *data, size_t *data_size)
K4ARECORD_DEPRECATED_EXPORT uint64_t k4a_playback_get_last_timestamp_usec(k4a_playback_t playback_handle)
K4ARECORD_EXPORT k4a_stream_result_t k4a_playback_get_next_imu_sample(k4a_playback_t playback_handle, k4a_imu_sample_t *imu_sample)
K4ARECORD_EXPORT void k4a_playback_data_block_release(k4a_playback_data_block_t data_block_handle)
K4ARECORD_EXPORT k4a_result_t k4a_playback_get_calibration(k4a_playback_t playback_handle, k4a_calibration_t *calibration)
K4ARECORD_EXPORT k4a_result_t k4a_playback_get_record_configuration(k4a_playback_t playback_handle, k4a_record_configuration_t *config)
K4ARECORD_EXPORT k4a_buffer_result_t k4a_playback_track_get_codec_id(k4a_playback_t playback_handle, const char *track_name, char *codec_id, size_t *codec_id_size)
K4ARECORD_EXPORT uint8_t * k4a_playback_data_block_get_buffer(k4a_playback_data_block_t data_block_handle)