Part Number: TDA4VH-Q1
Hello Team,
I referred below link for doing LDC tunning,
but we want to remove DCC tool dependency that's why I referred multi_cam_codec_ldc_module application logic at [ti-processor-sdk-rtos-j784s4-evm-09_02_00_05/vision_apps/apps/basic_demos/app_multi_cam_codec/multi_cam_codec_ldc_module.c] path
where they are using ldc_lut_1920x1080.h for lut and we want to use same logic
in multi_cam_codec_ldc_module file they are using mesh table width and height calculation formula as follow:
ldcObj->table_width = (((ldcObj->image_width / (1 << ldcObj->ds_factor)) + 1u) + 15u) & (~15u);
ldcObj->table_height = (ldcObj->image_height / (1 << ldcObj->ds_factor)) + 1u;
in which image_width = 1920, height =1080, ds_factor(downsampling) = 2
so the output of the
ldcObj->table_width = 1920/4 +16= 496
ldcObj->table_height = 1080/4 +1 = 271
Total size of the table = 496*271 = 134416
And have unint 32 i.e. multiplied with 4 bytes
Then
Mesh_img = 134416* 4 = 537664 which is matching with ldc_lut_1920x1080.h bytes size.

That’s why we are getting correct output.
So, question is
1.how to create ldc_lut_1920x1080.h -> for image 1920x1280 without using DCC tool?
2. how to get the formula for getting mesh width and height for mesh_image that we remove the dcc tool dependency
so Can you please guide me
Thank you


