Skip to content

Commit

Permalink
Include edgeai-tiovx-nodes as dependency for some C66 openVX nodes
Browse files Browse the repository at this point in the history
For now four of C66 openVX nodes will be part of edgeai-tiovx-nodes
    -> dl_color_blend
    -> dl_color_convert
    -> dl_draw_box
    -> dl_pre_proc

Signed-off-by: Shubham Jain <[email protected]>
  • Loading branch information
Shubham Jain committed Dec 1, 2022
1 parent 6771c66 commit 6b373ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/common.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ 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-nodes/include
)

set(SYSTEM_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

0 comments on commit 6b373ca

Please sign in to comment.