Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK
k4a_playback_t Class Reference

Handle to a k4a recording opened for playback. More...

#include <k4arecord/types.h>

Related Functions

(Note that these are not member functions.)

k4a_result_t k4a_playback_open (const char *path, k4a_playback_t *playback_handle)
 Opens an existing recording file for reading. More...
 
k4a_buffer_result_t k4a_playback_get_raw_calibration (k4a_playback_t playback_handle, uint8_t *data, size_t *data_size)
 Get the raw calibration blob for the Azure Kinect device used during recording. More...
 
k4a_result_t k4a_playback_get_calibration (k4a_playback_t playback_handle, k4a_calibration_t *calibration)
 Get the camera calibration for Azure Kinect device used during recording. More...
 
k4a_result_t k4a_playback_get_record_configuration (k4a_playback_t playback_handle, k4a_record_configuration_t *config)
 Get the device configuration used during recording. More...
 
k4a_buffer_result_t k4a_playback_get_tag (k4a_playback_t playback_handle, const char *name, char *value, size_t *value_size)
 Read the value of a tag from a recording. More...
 
k4a_result_t k4a_playback_set_color_conversion (k4a_playback_t playback_handle, k4a_image_format_t target_format)
 Set the image format that color captures will be converted to. More...
 
k4a_stream_result_t k4a_playback_get_next_capture (k4a_playback_t playback_handle, k4a_capture_t *capture_handle)
 Read the next capture in the recording sequence. More...
 
k4a_stream_result_t k4a_playback_get_previous_capture (k4a_playback_t playback_handle, k4a_capture_t *capture_handle)
 Read the previous capture in the recording sequence. More...
 
k4a_stream_result_t k4a_playback_get_next_imu_sample (k4a_playback_t playback_handle, k4a_imu_sample_t *imu_sample)
 Read the next IMU sample in the recording sequence. More...
 
k4a_stream_result_t k4a_playback_get_previous_imu_sample (k4a_playback_t playback_handle, k4a_imu_sample_t *imu_sample)
 Read the previous IMU sample in the recording sequence. More...
 
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)
 Read the next data block for a particular track. More...
 
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)
 Read the previous data block for a particular track. More...
 
k4a_result_t k4a_playback_seek_timestamp (k4a_playback_t playback_handle, int64_t offset_usec, k4a_playback_seek_origin_t origin)
 Seek to a specific timestamp within a recording. More...
 
uint64_t k4a_playback_get_recording_length_usec (k4a_playback_t playback_handle)
 Returns the length of the recording in microseconds. More...
 
K4ARECORD_DEPRECATED_EXPORT uint64_t k4a_playback_get_last_timestamp_usec (k4a_playback_t playback_handle)
 Gets the last timestamp in a recording, relative to the start of the recording. More...
 
void k4a_playback_close (k4a_playback_t playback_handle)
 Closes a recording playback handle. More...
 

Detailed Description

Handle to a k4a recording opened for playback.

Remarks
Handles are created with k4a_playback_open(), and closed with k4a_playback_close(). Invalid handles are set to 0.

The documentation for this class was generated from the following files: