Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ set(SRC_FILES
src/tiovx_viss_module.c
src/tiovx_ldc_module.c
src/tiovx_pyramid_module.c
src/tiovx_dl_color_convert_module.c
src/tiovx_dl_pre_proc_module.c
src/tiovx_dl_color_blend_module.c
src/tiovx_utils.c)

if ("${TARGET_SOC}" STREQUAL "J721E" OR "${TARGET_SOC}" STREQUAL "J721S2" OR "${TARGET_SOC}" STREQUAL "J784S4")
list(APPEND
SRC_FILES
src/tiovx_color_convert_module.c
src/tiovx_dl_color_convert_module.c
src/tiovx_dl_pre_proc_module.c
src/tiovx_dl_color_blend_module.c
src/tiovx_dof_module.c
src/tiovx_dof_viz_module.c
src/tiovx_sde_module.c
Expand Down
2 changes: 2 additions & 0 deletions cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,12 @@ include_directories(${PROJECT_SOURCE_DIR}
${TARGET_FS}/usr/include/processor_sdk/vision_apps/kernels/img_proc/include
${TARGET_FS}/usr/include/processor_sdk/vision_apps/kernels/fileio/include
${TARGET_FS}/usr/include/processor_sdk/vision_apps/kernels/stereo/include
${TARGET_FS}/usr/include/processor_sdk/edgeai-tiovx-kernels/include
)

set(SYSTEM_LINK_LIBS
tivision_apps
tiedgeai_tiovx_kernels
)

set(COMMON_LINK_LIBS
Expand Down
1 change: 1 addition & 0 deletions include/tiovx_modules_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
#include <TI/tivx_task.h>
#include <TI/tivx_target_kernel.h>
#include <TI/tivx_img_proc.h>
#include <edgeai_tiovx_target_kernels.h>

#include <TI/j7_tidl.h>
#include <TI/tivx_fileio.h>
Expand Down
2 changes: 2 additions & 0 deletions test/app_tiovx_dl_color_convert_module_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ static vx_status app_init(AppObj *obj)
if(status == VX_SUCCESS)
{
tivxImgProcLoadKernels(obj->context);
tivxEdgeaiImgProcLoadKernels(obj->context);
}

if(status == VX_SUCCESS)
Expand Down Expand Up @@ -164,6 +165,7 @@ static void app_deinit(AppObj *obj)
tiovx_dl_color_convert_module_deinit(&obj->colorConvertObj);

tivxImgProcUnLoadKernels(obj->context);
tivxEdgeaiImgProcUnLoadKernels(obj->context);

vxReleaseContext(&obj->context);
}
Expand Down