#include <stdint.h>
#include <stdlib.h>
#include "tofi_camera_intrinsics.h"
#include "tofi_error.h"
Go to the source code of this file.
|
TOFI_CONFIG_API void | FreeTofiConfig (TofiConfig *p_tofi_cal_config) |
|
TOFI_CONFIG_API uint32_t | GetXYZ_DealiasData (ConfigFileData *ccb_data, TofiXYZDealiasData *p_xyz_data) |
|
TOFI_CONFIG_API TofiConfig * | InitTofiConfig (ConfigFileData *p_cal_file_data, ConfigFileData *p_config_file_data, ConfigFileData *p_ini_file_data, uint16_t mode, uint32_t *p_status) |
| Function to Initialize the configuration for TOFI cal config (p_tofi_cal_config) using calibration/config/INI file. More...
|
|
TOFI_CONFIG_API TofiConfig * | InitTofiConfig_isp (ConfigFileData *p_ini_file_data, uint16_t mode, uint32_t *p_status, TofiXYZDealiasData *p_xyz_dealias_data) |
| Function to Initialize the configuration for TOFI cal config incase of isp. More...
|
|
TOFI_CONFIG_API uint32_t | TofiGetINIParams (void *p_config_params, int params_group, const void *p_tofi_cal_config) |
|
TOFI_CONFIG_API uint32_t | TofiSetINIParams (void *p_config_params, int params_group, const void *p_tofi_cal_config) |
|
◆ MAX_CHAR_SIZE
◆ MAX_PATH_SIZE
#define MAX_PATH_SIZE 512 |
◆ TOFI_CONFIG_API
Copyright (c) 2020 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors.
Definition at line 19 of file tofi_config.h.
◆ ConfigFileData
◆ TofiConfig
◆ XYZTable
◆ FreeTofiConfig()
Function to release memory for configuration structure and Depth/AB/Confidence memory buffers
- Parameters
-
[in,out] | TofiConfig | *p_tofi_cal_config: pointer to the TOFI calibration configuration parameter structure to be freed |
Definition at line 102 of file tofiConfig.cpp.
◆ GetXYZ_DealiasData()
◆ InitTofiConfig()
Function to Initialize the configuration for TOFI cal config (p_tofi_cal_config) using calibration/config/INI file.
- Parameters
-
[in] | ConfigFileData | *p_cal_file_data: Pointer to cal data |
[in] | ConfigFileData | *p_config_file_data: pointer to json config data, it is initialized to default if NULL |
[in] | ConfigFileData | *p_ini_file_data: pointer to ini data, it is initialized to default if NULL |
[in] | mode | - uint16_t - mode of camera operation |
[out] | uint32_t | p_status: pointer to status, assigned as ADI_TOFI_SUCCESS on success, assigned as error code incase of failure |
- Returns
- [out] TofiConfig *: returns p_tofi_config pointer on success, returns NULL on failure
Definition at line 9 of file tofiConfig.cpp.
◆ InitTofiConfig_isp()
Function to Initialize the configuration for TOFI cal config incase of isp.
- Parameters
-
[in] | ConfigFileData | *p_cal_file_data: Pointer to cal data |
[in] | ConfigFileData | *p_ini_file_data: pointer to ini data, it is initialized to default if NULL |
[in] | mode | - uint16_t - mode of camera operation |
[in] | TofiXYZDealiasData | *p_xyz_dealias_data : pointer to XYZ and dealias data |
[out] | uint32_t | p_status: pointer to status, assigned as ADI_TOFI_SUCCESS on success, assigned as error code incase of failure |
- Returns
- [out] TofiConfig *: returns p_tofi_config pointer on success, returns NULL on failure
Definition at line 52 of file tofiConfig.cpp.
◆ TofiGetINIParams()
TOFI_CONFIG_API uint32_t TofiGetINIParams |
( |
void * |
p_config_params, |
|
|
int |
params_group, |
|
|
const void * |
p_tofi_cal_config |
|
) |
| |
◆ TofiSetINIParams()
TOFI_CONFIG_API uint32_t TofiSetINIParams |
( |
void * |
p_config_params, |
|
|
int |
params_group, |
|
|
const void * |
p_tofi_cal_config |
|
) |
| |
◆ depthComputeOpenSourceEnabled
uint8_t depthComputeOpenSourceEnabled |