Hello,
I am adapting the VPAC VISS target kernel (ti-processor-sdk-rtos-j784s4-evm-08_06_01_03/tiovx/kernels_j7/hwa/vpac_viss/vx_vpac_viss_target.c) to use the second VPAC on the same MCU and wondered why there is a global variable to store the vissObj structs (ie. gTivxVpacVissInstObj) when they are also registered with the kernel (ie. contexttivxSetTargetKernelInstanceContext) at instance creation. Isn't one of the two redundant?
Furthermore I would like to differentiate the VPAC instances at runtime with the tivxGetTargetKernelTargetId() API. However, the defines for the target ids are not really accessible from the target kernels as they require the header file i-processor-sdk-rtos-j784s4-evm-08_06_01_03/tiovx/source/platform/psdk_j7/common/soc/tivx_platform_psdk_j784s4.h which in turn forces me to included several other headers such as tivx_queue.h etc.. Is it not intended to use those defines on target kernel side or can i get these values elsewhere?
I hope somebody can help me clarify these points.
best regards,
Max