SPRAD86 March 2023 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , AM68A , AM69A
Go to TI's reference imaging software, imaging/tools/default_DCC_profile_gen/configs, and create a configuration file for default camera properties. Existing configuration files in this folder can be references.
The following parameters need to be specified in this configuration file:
Once the configuration file is created, run the Python script ctt_def_xml_gen.py in imaging/tools/default_DCC_profile_gen/scripts as below:
imaging/tools/default_DCC_profile_gen/scripts$ python ctt_def_xml_gen.py ../configs/<configuration file>
The generated xml files will be in folder dcc_xmls under the path specified by PRJ_DIR in the configuration file. This folder contains two sets of .xml files, with one set for linear mode and the other one for WDR mode. A script file "generate_dcc.sh" will also be generated in each xml folder. For example, below is the content of the xml folder for linear mode (for IMX219):
$PRJ_DIR/dcc_xmls/linear$ ls -l
generate_dcc.sh
imx219_awb_alg_ti3_tuning.xml
imx219_cfa_dcc.xml
imx219_h3a_aewb_dcc.xml
imx219_h3a_mux_luts_dcc.xml
imx219_linear_decompand_dcc.xml
imx219_mesh_ldc_dcc.xml
imx219_rgb2rgb_dcc.xml
imx219_viss_blc.xml
imx219_viss_nsf4.xml