Part Number: TDA4VH-Q1
Tool/software:
How to use c7x optimized image processing functions present inside vxlib_11_00_00_01 ( sdk version 11_00_00_06 ).
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TDA4VH-Q1
Tool/software:
How to use c7x optimized image processing functions present inside vxlib_11_00_00_01 ( sdk version 11_00_00_06 ).
Hi,
There are few functions which are listed under $(psdkra)/vxlib_11_00_00_01/src/ which can be used to create tiovx target kernels.
I am taking VXLIB_add function which adds 2 input image. The attached patch has modified vision_apps demo: app_c7x_kernel which creates a tiovx target kernel for c7x and has an openvx application which creates graph and executes it.
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/app_5F00_c7x_5F00_demo_5F00_c7x_5F00_vision_5F00_apps.patch
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/app_5F00_c7x_5F00_demo_5F00_c7x_5F00_vxlib.patch
apply these patch in vision_apps and vxlib directories, rebuild the sdk.
cd $(psdkra)/vision_apps git apply app_c7x_demo_c7x_vision_apps.patch cd $(psdkra)/vxlib git apply app_c7x_demo_c7x_vxlib.patch cd $(psdkra)/sdk_builder ./make_sdk.sh
The modified demo will now use the vxlib_11_00_00_01 library which is optimized for c7x.
This patch is tested on J784S4 and the same can be used as reference for other devices as well (J721S2, J742S2, J721E, J722S).
Regards,
Gokul