![]() |
TI J721E Imaging User Guide
|
This section contains APIs for ISP Tuning Tool Server.
Functions | |
int | itt_server_init (void *appObj, void *appFileSaveCallback, void *appDccUpdateCallback) |
initialization routine for ITT server. More... | |
void | itt_ctrl_cmdHandlerEcho (char *cmd, uint32_t prmSize) |
Handler for command "echo". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler. More... | |
void | itt_ctrl_cmdHandlerIssRead2AParams (char *cmd, uint32_t prmSize) |
Handler for command "iss_read_2a_params". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler. More... | |
void | itt_ctrl_cmdHandlerIssWrite2AParams (char *cmd, uint32_t prmSize) |
Handler for command "iss_write_2a_params". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler. More... | |
void | itt_ctrl_cmdHandlerIssFileSave (char *cmd, uint32_t prmSize) |
Handler for commands "iss_raw_save" and "iss_yuv_save". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler. More... | |
void | itt_ctrl_cmdHandlerIssDccSendFile (char *cmd, uint32_t prmSize) |
Handler for command "iss_send_dcc_file". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler Reserved for future use. More... | |
void | itt_ctrl_cmdHandlerIssReadSensorReg (char *cmd, uint32_t prmSize) |
Handler for command "iss_read_sensor_reg". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler Inputs. More... | |
void | itt_ctrl_cmdHandlerIssWriteSensorReg (char *cmd, uint32_t prmSize) |
Handler for command "iss_write_sensor_reg". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler Inputs. More... | |
void | itt_ctrl_cmdHandlerIssDevCtrl (char *cmd, uint32_t prmSize) |
Handler for command "dev_ctrl". Generic device control. Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler. More... | |
int32_t | itt_register_object (vx_context context, vx_node *node, tivx_raw_image *raw_image_handle, vx_image *yuv_image_handle, uint8_t object_name) |
Function used to register needed objects for EdgeAI ISP Live Tuning. More... | |
int32_t | itt_server_edge_ai_init () |
initialization routine for ITT server on EdgeAI. More... | |
int itt_server_init | ( | void * | appObj, |
void * | appFileSaveCallback, | ||
void * | appDccUpdateCallback | ||
) |
initialization routine for ITT server.
This must be called from any application which needs to control ISP tuning at runtime. Inputs
void itt_ctrl_cmdHandlerEcho | ( | char * | cmd, |
uint32_t | prmSize | ||
) |
Handler for command "echo". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler.
Inputs
Responds by sending the same command back to ITT Client (on PC)
void itt_ctrl_cmdHandlerIssRead2AParams | ( | char * | cmd, |
uint32_t | prmSize | ||
) |
Handler for command "iss_read_2a_params". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler.
Inputs
Reads current state of AE and AWB and sends back to ITT Client (on PC)
void itt_ctrl_cmdHandlerIssWrite2AParams | ( | char * | cmd, |
uint32_t | prmSize | ||
) |
Handler for command "iss_write_2a_params". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler.
Inputs
Writes the data received from the client to 2A algorithms and sends back PASS/FAIL status to ITT Client (on PC)
void itt_ctrl_cmdHandlerIssFileSave | ( | char * | cmd, |
uint32_t | prmSize | ||
) |
Handler for commands "iss_raw_save" and "iss_yuv_save". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler.
Inputs
Invokes appFileSaveCallback to capture RAW/YUV images. Send the image to ITT Client (on PC)
void itt_ctrl_cmdHandlerIssDccSendFile | ( | char * | cmd, |
uint32_t | prmSize | ||
) |
Handler for command "iss_send_dcc_file". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler Reserved for future use.
void itt_ctrl_cmdHandlerIssReadSensorReg | ( | char * | cmd, |
uint32_t | prmSize | ||
) |
Handler for command "iss_read_sensor_reg". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler Inputs.
Reads sensor register and sends back to ITT Client (on PC)
void itt_ctrl_cmdHandlerIssWriteSensorReg | ( | char * | cmd, |
uint32_t | prmSize | ||
) |
Handler for command "iss_write_sensor_reg". Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler Inputs.
Writes the value to specified sensor register and sends back status (PASS/FAIL) to ITT Client (on PC)
void itt_ctrl_cmdHandlerIssDevCtrl | ( | char * | cmd, |
uint32_t | prmSize | ||
) |
Handler for command "dev_ctrl". Generic device control. Function callback passed to network_api utils. Must comply with the syntax of NetworkCtrl_Handler.
Currently supports reading Deserializer, Serializer and Sensor registers in batch mode Inputs
Executes the script and sends the results (PASS/FAIL) to ITT Client (on PC)
int32_t itt_register_object | ( | vx_context | context, |
vx_node * | node, | ||
tivx_raw_image * | raw_image_handle, | ||
vx_image * | yuv_image_handle, | ||
uint8_t | object_name | ||
) |
Function used to register needed objects for EdgeAI ISP Live Tuning.
Currenlty only two nodes are supported: VISS and LDC.
int32_t itt_server_edge_ai_init | ( | ) |
initialization routine for ITT server on EdgeAI.
This must be called from any application which needs to control ISP tuning at runtime.