SPRACU7A December 2020 – March 2021 TDA4VM , TDA4VM-Q1
PSDK RTOS comes with a set of utility functions in the folder <PSDK RTOS_root>/vision_apps/utils/iss. The file app_iss_common.c includes DCC databases of all the sensors as C-style arrays. There are three OpenVX nodes that support DCC tuning:
There is a unique DCC parameter array for each node-sensor combination. The application (app_single_cam) creates an OpenVX graph connecting all the nodes. While creating the nodes, it passes the DCC buffer for the node as follows:
Passes that buffer pointer to ISS utility that copies the tuning database to the object.
This is repeated for all the DCC enabled nodes. When the node is created, Create method of the node uses the DCC buffer to initialize internal structures which are used later for configuring VPAC drivers.
DCC database is read from the header files in the folder
<PSDK RTOS_root>/imaging/sensor_drv/include
There are several options to update DCC database as described in the following sections.