Skip to content

Commit

Permalink
Squashed 'vision' changes from ceb5a5e..ee8e9c7 (#717)
Browse files Browse the repository at this point in the history
ee8e9c7 Merge pull request #474 from swarnapr/multi_HDR_LTM
8b47ca7 Merge pull request #476 from nvunnam/next
55840d9 Merge pull request #477 from kkumar/aio
698e551 Added new utils.mk
820bcbe Merge pull request #475 from kkumar/stats_update
d83fb82 Merge pull request #473 from kkumar/aio
bf6e8b8 L2/AIE/preprocess,resize .json and mk changes
e105dda Code clean up
8f8089a isp_multistream with HDR and LTM
6739e78 Changed type of RGBIR weights to signed char
cdc953f Merge pull request #471 from nvunnam/next
aa80e6e Merge pull request #468 from kaushalk/next
8d764df L2/AIE Resize host,graph changes
a2c5d03 Freq reduced per platform
acc63dc Merge pull request #470 from rarce/isp_multi
b465376 Merge pull request #467 from mounikk/next
8f00229 Merge pull request #466 from rarce/stats_dev
b75a32b Added loop labels and code clean-up
704efcb Freq reduced per platform
b938265 Freq reduced per platform
963ae31 added compiler_x86 and linker_x86 in sum and threshold tests
dedd475 Fixed json, .mk, Makefile of ispstats L1 and L2
dfcab67 Merge pull request Xilinx#461 from swarnapr/extract
78cd894 Merge pull request Xilinx#462 from swarnapr/multi_LTM_HDR
7dacade Merge pull request Xilinx#464 from nvunnam/next
e29e0c5 Merge pull request Xilinx#460 from RepoOps/update_doc_url_3
8ddf8ce Merge pull request Xilinx#456 from kkumar/branch_aio
f5803f6 Merge branch 'next' into next
252198b L2/aie mk changes
1cdca11 Updated accel file
620e6a3 Fixed tripcount for cols
584b307 Fixed tripcount
a9b44ee changed Lmin values
5c953df Changed RGBIR weights from pointer to array
9f95c85 Merge pull request Xilinx#459 from maitreya/next
08648b8 changed RGBIR weight from array to pointer
bab6465 Documentation update for 2022.2 release
cbbfa61 Merge pull request Xilinx#455 from maitreya/next
1331941  Removed array partition for RGBIR weights and changed weights from pointer to array
ee3abf6 CR-1141986 YCrCb2RGB fixed
1db286d Defect Detection Design Example added
9b99b89 update url and branch in doc
6fa6cb3 Merge pull request Xilinx#451 from srujanam/next
044f4f0 Merge pull request Xilinx#454 from kkumar/branch_aio
baa9c0f Changed RGBIR weights from array to pointers
c8a83b3 Changed blk_height to scalar
503b3a1 Makefile update
a25d790 Merge pull request Xilinx#452 from swarnapr/multi_LTM_HDR
28b0a28 Clang Format Applied
0419826 Removed array partition pragma from scalar variables and changed RGBIR weights from pointer to array in accel
fa52c82 updated utilis.mk
86e8147 Merge pull request Xilinx#453 from maitreya/next
242adc0 updated config file
ac16af4 updated Makefile and JSON file
3c7df1f Documentation 2022.2 release ispstats added.
6a37989 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
fda61d5 isp_multistream with LTM and HDR
418b5ed Merge pull request Xilinx#432 from nvunnam/next
c528c31 Merge pull request Xilinx#450 from mounikk/next
3acd1df Merge pull request Xilinx#449 from maitreya/next
8a2d1fe Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
626be5b Added Defect detection pipeline
5580daa gtm files updated
efd0f9e Merge branch 'next' of https://gitenterprise.xilinx.com/mounikk/xf_opencv into next
34e9856 Documentation changes for 2022.2 release commands updated
4396b67 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
1eeb6aa Merge branch 'FaaSApps:next' into next
5c251b9 added opencv_objdetect in all hog cases
843bebe Applied Clang Formatting
8151ab9 Merge pull request Xilinx#443 from giorgiob/next
5dad91e Merge pull request Xilinx#416 from swarnapr/Stream_LTM
bdf4a53 FILTER2D mk change
a3b976d Documentation changes for 2022.2 release memory map function minor change
06e5912 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
90493e9 Update releasenotesxfopencv.rst
42740f6 Merge pull request Xilinx#447 from kaushalk/next
1f87b74 Merge pull request Xilinx#448 from mounikk/next
06a26df Documentation changes for 2022.2 release deleted auto-remove files
1a406f5 Documentation changes for 2022.2 release
6e7a247 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
bd57ec8 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
e8cf015 Merge remote-tracking branch 'upstream/next' into next
0294712 Update L1 README
c14a516 Update L3 README
d2f68c8 Merge pull request Xilinx#446 from kkumar/branch_aio
2034e9b Merge pull request Xilinx#442 from swarnapr/hdrextract
5f80f9b Merge pull request Xilinx#445 from rarce/stats_dev
636f509 compiler_x86 and linker_x86 added for embedded platforms
16c17c0 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
5d5fd04 Update README.md
b73985f Freq reduced per platform
ea04e5e  Generated new Makefile using new description.JSON
02d68bd added compiler and linked_x86 section
22ac386 added comment to explain the interpretation of RGBIR weights
e10b250 Removed Depth from HLS INTERFACE pragma
93ada54 Update L2/tests/aie README
5a0ea84 Update L3 README
979c9ba Update README.md
dcdbb30 Merge pull request Xilinx#444 from rgoel/next_fix
c25e03e xfcv_gmio changes
18b9910 Merge remote-tracking branch 'upstream/next' into next
8703f2f Add tripcount to xf_ispstats.hpp
236ee43 Updating README
9d2f702 Updating README
ef856d0 Updating README
6f6da17 Updating README
d6ff007 Updating README
1c6e974 Updating README
f0dee8c CR-1141747
e033e6e Removed TRIP_COUNT pragma
80809a9 Merge pull request Xilinx#441 from srujanam/next
d0fe0a4 Corrected GRAY to RGBA
c6cfbae Corrected GRAY to RGBA
ec174c5 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
710344d Merge pull request Xilinx#424 from kkumar/branch_aio
249e8fe updated Makefile
144d121 updated JSON file
1b9f248 Merge pull request Xilinx#437 from kaushalk/next
c500af7 Merge pull request Xilinx#438 from maitreya/check_env_JSON
b958c86 Added cropped1_128x128.png and cropped3_128x128.png
387a37f Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into hdrextract
23486e0 Fixed Testbench
044ac69 Chnaged array to pointers for RGBIR weights in accel top level function
9573c9f Merge pull request Xilinx#439 from mounikag/next
ba0d41d fixed accel
2f3d1cf Added INTERFACE pragma for lut
432a613 clang is applied
1f2b705 Toggling flag in accel
aae9328 Added write buffer for RGBIR weights in xf_isp_tb.cpp
25f7622 Delete stderr.txt
39afd83 Delete clang_loc.txt
4877e6b reverted check_env JSON changes in AIE testcases
5f770bc Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
01cc132 release changes for aie
ffd0498 Merge remote-tracking branch 'upstream/next' into next
244d66b mst reference code added
5f510ed Merge pull request Xilinx#436 from srujanam/next
aff3d70 Merge pull request Xilinx#415 from rarce/stats_dev
ad01bf1 Added automatic checking in L1 TB
4db24a6 tb file updated
ff6fbf6 Added automatic checking in L2 ispstats TB
5fc82ac Added Bayer support to LSC
ddbfe05 Merge pull request Xilinx#425 from mounikag/next
e80d9c4 Merge branch 'FaaSApps:next' into next
37e0511 Merge pull request Xilinx#430 from srujanam/next
ef87342 blacklevel correction added
622dbb7 blacklevel correction added
85ffced Merge branch 'FaaSApps:next' into next
965305c Fixed Makefile
f08da7b removed 8U tests
9841370 Added L2 tests
3723efb Minor update to description.json
a9d97ef Merge pull request Xilinx#435 from maitreya/check_env_JSON
77de0f7 Makefile update
2eaa9fa run files with clang format
af2b521 check_env section added for multiple L2 functions & testcases and recompiling the json files
f3a353d removed 12bit tests
7f98240 Added clang format in accel
1a5c216 blacklevel correction added
9dd318a Merge branch 'FaaSApps:next' into next
e1f23f1 Added Degamma
449758e NPC and Makefile update
7155aa3 Fix for clang
c334faf changed the type of RGBIR weights to char in accel and testbench
99bfa24 Changed the type of RGBIR weights to int in function_rgbir
5798de6 Updated Makefile and JSON file in test folder
7f6725b changed the data type of RGBIR weights in xf_isp_accel.cpp to int from char
95fd285 Used 128x128 image for hw_emu
f543b0d Fix typo in tcl file
19b0557 Changed calcStats to ispStats; added isp as prefix to stats
71afb04 Merge pull request Xilinx#433 from rgoel/next_fix
f713882 Resize normalize test update
92d0fa2 Added missing semicolon and comma
80808ca Merge pull request Xilinx#429 from swarnapr/tripcount
0e2ae16 xo and common/ changes
2e0f330 changed the order of argument
cfec08c changed type of pawb to unsigned short in xf_isp_accel.cpp
9fec256 clang format in HDR extract
adc32a5 Added clang format
93b7d78 Ran files through clang format script
0109d12 Fix clang standardization
9486dc1 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
c5f8d46 Merge branch 'FaaSApps:next' into next
e79bbbd Added HDR Decompand function
7a94539 Merge pull request Xilinx#422 from kaushalk/next
8b8ff3e Merge branch 'FaaSApps:next' into next
aece230 Merge pull request Xilinx#427 from mounikk/next
4248a27 updated HDR extract kernel
0b981fe Added Tripcount in HDR extract
a9b4a0d Fix error in the newly added asserrtions
0022a01 Fix template arguments mismatches
1cd75a6 applied clang format
7a9e3cf repostioned XF_CV_DEPTH
38172b2 Fix compile error
d10a1a9 added new Makefile
32a5fc8 Fix assert message
aad8005 Fix remaining instances of N
fb04732 Merge branch 'FaaSApps:next' into next
bde9c37 blacklevel correction added
d0764d2 Merge pull request Xilinx#421 from mounikk/next
9b9e18a Fix template arguments of calcStats
0664f9d Fix remaining N and M naming
691960c added all_in_one pipeline
51e2389 Fix review comments
1e9a402 frequency reduced to 200MHz
efcc4a8 gui set to false in isppipeline_rgbir,analyzeDiff changed to static void,repositioned XF_CV_DEPTH in KernNv122bgr_ro
40e2729 frequency reduced to 200MHz
a3326df updated accel
fb3c536 updated accel
2de11bc Merge pull request Xilinx#418 from rgoel/next_fix
9b4b2fa CR-1140085 fix
b81707e updated files
b5630d3 Fix setting of XF_PROJ_ROOT in Makefile
6eb7763 updated testbench
25b7125 utils.mk
83e753c Fix Makefile
f08a728 Fix Makefile
ea1bea8 Makefile
65c05b0 Makefile
278e5af JSON file
bf7f710 isp_mulstistream with LTM
27eb0ab Modified run_hls.tcl
b3403cc isp_multistream with LTM
733c601 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
28ce90d Merge pull request Xilinx#412 from maitreya/next
ad68585 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
a116795 Set N = 2, M = 2
98092c9 Modified default value of MERGE_BINS to 0
4f0d8c9 Initial commit for stats block
356b9f5 Merge pull request Xilinx#406 from mounikk/next
8b8319d Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
b23e8eb Added 3dlut opencv entries with recompiling makefiles
c839cdc Merge pull request Xilinx#414 from rgoel/next_fix
f155b02 Typo fix
002c209 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
19c756f Merge pull request Xilinx#413 from rgoel/next_fix
7507ec8 clang format fix
5fe63e3 HW emu test fixes
61faad9 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
1d5f1c9 Recompiled makefiles with updated json files
1bffc4e Merge pull request Xilinx#411 from RepoOps/remove_HOST_ARCH_docs_2
69ac982 Removed check_env EDGE_COMMON_SW, CR-1138105 added compiler_x86 & linker_x86 entries to 25 L3 testcases
97d4367 Merge pull request Xilinx#410 from mounikag/next
3432b89 remove HOST_ARCH from docs
55a160b Merge branch 'FaaSApps:next' into next
a91f1f3 addweighted hang issue resolved
b4a13a9 Merge pull request Xilinx#409 from rarce/fix_l1_hist_init
c8e9124 Fix inner loop bounds in hist array initialization in xf_histogram.hpp
a8ae01b Merge pull request Xilinx#408 from mounikag/next
ee5972e fixed the bg2hls functional issue
0a2ccf9 Merge pull request Xilinx#402 from mounikag/next
23f76f1 fixed the bg2hls functional issue
4fd1218 Test finished string repositioned to the end
307a78d Merge branch 'FaaSApps:next' into next
a3b2251 Test Finished string added in the Test bench
a656626 Merge pull request Xilinx#405 from maitreya/next
7b08d7c Merge pull request Xilinx#401 from rarce/fix_rgb2yuyv_tc
fd27daf CR-1139752 L1 channel combine testbench, config.h and accel updated with COSIM issues fixed and improved.
3c135fa Merge pull request Xilinx#403 from mounikk/next
2c3f1d2 Merge pull request Xilinx#404 from rgoel/next_gc_typo
960157f Typo fix in makefile
aa623bd Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
4cc5f9b Merge pull request Xilinx#379 from rgoel/next
5c494c0 Merge branch 'FaaSApps:next' into next
7de240d Disabled isppipeline-rgbir and applied clang format
125d77f applied clang format
6437ac8 svm changes
85181e8 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
b5445bf Merge pull request Xilinx#400 from mounikk/next
831afba updated json and makefiles
86ebbab Fix assigned value to xfrgb2yuyv TC template argument
db308ac Merge pull request #1 from FaaSApps/next
341fd49 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
3e5d9a3 Changed XFCVDEPTH of resize functions to 2, Gaussian difference added with 2 sigma and 2 filter width functionality, Fixed issues of XFCVDEPTH template change
937fb87 Added last swap between filterwidths
64506a2 Fixed gaussiandifference tests with filter widths, Fixed missed functions
af2444e c-lang formatting
cdcc9d8 Repositioned XFCVDEPTH to the last in the templates of some functions
1ac2121 Changed xfcvdepths to 2 for specific L2 testcases of canny & boxfiler
3c16e61 Update L3 README
a7574b3 Update L2 README
a507b1a Merge pull request Xilinx#399 from maitreya/next
49ef7f9 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
b3e9f87 Compiling json files and updating utils.mk & makefiles
b75a88d Reverting description.json file changes
86e023e Merge pull request Xilinx#398 from mounikk/next
541955f Merge pull request Xilinx#394 from maitreya/next
4707966 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
d4dcd03 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
93df441 added c-lang formatting
b054da7 extended testcases of channel extract to 16 bits
2a70a5c Merge pull request Xilinx#395 from yuanqian/update_next_doc_2
02b4d68 pyrdown dst mat changes
aaa9461 Channel extract fixed COSIM fail issue and SVM accel fixed. C-lang formatting applied.
5f2fe01 applied clang format
84dff07 syntax for array_reshape is corrected
a9458af changed dst mat ROWS and COLS to ROWS/2 and COLS/2
dfd1eed Added build folder path
1e982f5 Channel extract fixed minor issues and added functionalities
c7fd5a5 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
0b65709 Channel extract added tests for NPC4 and NPC8. Updated assert statement for valid inputs.
ca2d727 update
c0b111e update doc for portal
382dccd Merge pull request Xilinx#393 from mounikk/next
8d3ea4d Fixed CR-1131374 & CR-1133260 clang-formatting
94c4a03 Resolved Deadlock issue of SVM-hw_emu & extractChannel naming convention improved
a926b54 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
ca05e3c Merge pull request Xilinx#378 from maitreya/next
bedafa5 removed .txt files
b36afa3 added flags in L2/tests/lkdensepyrof/densepyrof_300_11_50
6d6ed51 Recompiled makefiles with updated faas_tools_kit
b574a8e changes on bind_storage pragma
894b25d Removed RESOURCE pragma with BIND_OP pragma
3317605 Replaced RESOURCE pragma with bind_storge pragma and added opencv_objdetect flag in Lkdensepyrof example&test
341e3d7 Replaced RESOURCE pragma with bind_storge pragma and added opencv_objdetect flag in Lkdensepyrof example&test
6e9c872 Replaced RESOURCE pragma with bind_storge pragma and added opencv_objdetect flag in Lkdensepyrof example&test
3f26ef3 Compiled and updated makefiles with json changes
6b689ba Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
bd5d3ef Merge pull request Xilinx#392 from mounikk/next
5282a2d JSON files complied with formatting (CR-1135040) BPC1 & BPC8 again changed to SPC & MPC respectively.
c0b5874 removed __SDSVHLS__ macro and assigned dst to write function
b3320c8 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
7f12d46 Merge pull request Xilinx#390 from mounikk/next
8021565 Repositioned XFCVDEPTH to the last and added CLAHE function to the documentation
849bd55 Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
9bc0481 Merge pull request Xilinx#381 from mounikk/next
16d85a8 Added last swap between BPC1 and BPC8
656c606 Fixed gaussiandifference testcases with correct filter widths
45ed780  resovled Bfmatcher and CUSTOM_BGR2Y8
e5ecae4 Applied clang formatting
fbe4e86 Added 2 sigma and 2 filter width functionality to the gaussian difference and fixed small issues caused by the same.
badb860 updated L1 and L2 test benches with test passed/failed condition
d1deecc Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
fd00be9 Merge pull request Xilinx#377 from mounikk/next
f23bf77 Making files compliant to 128 bit PLIO input
81a8933 Clang change
33a3258 Fixing meta data issue in demosaic
724d008 update hog with opencv_objdetect
bdb09ed Reverting gaussian difference experimenting changes
393ba98 Changing NO & RO to BPC1 & BPC8 respectively and reverting hog and tvl1 makefile & json changes
0bb2503 updated tvl1 and hog ,description.json and make files
5df30d6 Fixed hog and tvl1 functions with opencv libraries affected by mk update commit
1f43c2f updated L2 and L3 with frequency in the platform properties
c5ee648 fixed hog & tvl1 json files to create makefiles with correct opencv libs
922fb01 Merge branch 'next' into next
a5c6e6e Merge pull request Xilinx#374 from changg/standardize_jsons
68b7b25 fix
2145961 update json
c4f816a Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
bad41cf Updating ref
7b77a04 Merge pull request Xilinx#371 from rgoel/next
fed8e93 Adding meta data to resize test
53c26c7 fixed tvl1 and hog function makefiles
2cb58b6 Merge branch 'FaaSApps:next' into next
b1d8925 Fixed hog and tvl1 with opencv lib affected by mk update commit
3987f98 Merge pull request Xilinx#365 from maitreya/next
ee9ede1 updated lknpyroflow with XFCVDEPTH values inf config_params.h files
e8496bb Merge pull request Xilinx#360 from maitreya/next
c3bc394 updated the api-reference.rst and design-examples.rst
6774d46 updated XFCVDEPTH related changes in docs and created 3 block diagrams for design-examples.rst and minor changes
7dd329b Merge pull request Xilinx#356 from maitreya/next
1181993 Merge pull request Xilinx#357 from changg/mk_update_22.2
50c8c99 Changing XFCVDEPTH values for L1/tests, fixed warptransform testbench
43f6e2b remove fpo_v1_0
08a5dbb XFCVDPETH variable added to L1 tests xf_config_paramas.h
915bd9b update
0ebd3ac update mk 22.1
bb24448 change 2022.1_stable_latest to 2022.2_stable_latest
600939f Merge pull request Xilinx#353 from maitreya/next
c1ef8c7 Fixed isppipeline-rgbir for multiple pixelwidths and formatting
5e7c906 Applied C-lang formatting and Fixed small issue with lkdensepyrof testbench and fixed failing cases(isppipeline_mono)
ebe0a3b Applied C-lang formatting and Fixed small issue with lkdensepyrof testbench
a701ded Tweaking BPC, clahe and tvl1 hpp and cpp files to add default values of XFCVDEPTH. Adding reference to gammacorrection (L1,L2) and L1 -lkdensepyrof (CR1102013)
1067d45 Fixed rgbirbayer functionality, Added default value for XFCVDEPTHs
ee6c364 Merge pull request Xilinx#327 from maitreya/next
9c61895 fixed aie commit conflicts
ebac9ec Merge branch 'next' of https://gitenterprise.xilinx.com/FaaSApps/xf_opencv into next
004da26 updated rgbir functions with XFCVDEPTH
5eb3522 Merge pull request Xilinx#338 from kaushalk/next
e4030bd unknown fields removed
8e2a9bb L1, L2, L3 examples, tests, benchmarks updated with XFCVDEPTH
993f801 Fixed arithm issues with XFCVDEPTH
e4ea6d7 L2 param files and L3 tests updated with XFCVDEPTH
39d531e L1, L2, L3 examples and tests updated with XFCVDEPTH
cf4cc07 Updated L1 L2 .cpp .hpp .h files
1e8b4ed Updated L2 with latest utils.mk
779fe34 Updated L1, L2 examples with XFCVDEPTH with clang formatting
523bdb6 L1, L2 functions updated with XFCVDEPTH
87dceaa Merge pull request Xilinx#308 from sumantad/tmp_branch
e2da81f Merge pull request Xilinx#320 from srujanam/next
182fc65 xf_rotate.hpp updated
d194977 Merge pull request Xilinx#317 from rgoel/next
eb8b5fc Merge remote-tracking branch 'upstream/next' into next
30cdc02 Merge pull request Xilinx#316 from kaushalk/next
fff6a54 unknown fields removed
9fb5b48 Merge remote-tracking branch 'upstream/next' into next
1321652 add PSNR and SSIM functions
083fe32 Updating filter 2d 2 core test
5bfd7c5 Merge remote-tracking branch 'upstream/next' into next
6150113 Removing constexpr so that it can work with 2021.2.1 release
576ce0c Typo fix
a4dc3dc Merge remote-tracking branch 'upstream/next' into next
5df307c Adding requze function interface with meta data handling
800d08b Some more name changes
0bfc79c Minor name changes
d2158f8 Merge remote-tracking branch 'upstream/next' into next
9da3435 Resize test for AIE1 initial version

Co-authored-by: sdausr <[email protected]>
  • Loading branch information
2 people authored and GitHub Enterprise committed Oct 12, 2022
1 parent 120f3bd commit 2bc5ee7
Show file tree
Hide file tree
Showing 4,758 changed files with 2,140,475 additions and 183,893 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion vision/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Library('pipeline-library')_

VitisLibPipeline (branch: 'next', libname: 'xf_opencv', TARGETS: 'hls_csim:hls_csynth:hls_cosim:vitis_sw_emu:vitis_hw_emu',
devtest: 'RunDeploy.sh', TOOLVERSION: '2022.1_stable_latest')
devtest: 'RunDeploy.sh', TOOLVERSION: '2022.2_stable_latest')
6 changes: 3 additions & 3 deletions vision/L1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The Level 1 APIs are presented as HLS C++ classes and functions. These APIs mostly match their [OpenCV](https://docs.opencv.org/4.4.0/d7/dbd/group__imgproc.html) counterparts.

The API description and design details of these modules can be found in [Vitis Vision User Guide]([Vitis Vision documentation](https://xilinx.github.io/Vitis_Libraries/vision/2022.1/index.html)).
The API description and design details of these modules can be found in [Vitis Vision documentation](https://docs.xilinx.com/r/en-US/Vitis_Libraries/vision/index.html).

'examples' folder contains the testbench and accel C++ files that demonstrate the call of Vitis Vision functions in HLS flow.

Expand All @@ -27,6 +27,6 @@ export OPENCV_LIB=< path-to-opencv-lib-folder >

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:< path-to-opencv-lib-folder >

make run CSIM=1 CSYNTH=1 COSIM=0
make run CSIM=< 1/0 > CSYNTH=< 1/0 > COSIM=< 1/0 > VIVADO_IMPL=< 1/0 >

Note : Please read "Getting started with HLS" section of [Vitis Vision documentation](https://xilinx.github.io/Vitis_Libraries/vision/2022.1/index.html) for special cases, constraints and other full details.
Note : Please read "Getting started with HLS" section of [Vitis Vision documentation](https://docs.xilinx.com/r/en-US/Vitis_Libraries/vision/index.html) for special cases, constraints and other full details.
4 changes: 4 additions & 0 deletions vision/L1/examples/3dlut/build/xf_config_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@
#define T_8U 1

#define XF_USE_URAM 0

#define XF_CV_DEPTH_IN_1 1
#define XF_CV_DEPTH_IN_2 2
#define XF_CV_DEPTH_OUT_1 3
20 changes: 10 additions & 10 deletions vision/L1/examples/3dlut/xf_3dlut_accel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,31 @@ void lut3d_accel(ap_uint<INPUT_PTR_WIDTH>* img_in,
int width,
int lutDim) {
// clang-format off
#pragma HLS INTERFACE m_axi port=img_in offset=slave bundle=gmem0 depth=__XF_DEPTH_IN
#pragma HLS INTERFACE m_axi port=lut offset=slave bundle=gmem1 depth=__XF_DEPTH_LUT
#pragma HLS INTERFACE m_axi port=img_in offset=slave bundle=gmem0 depth=__XF_DEPTH_IN
#pragma HLS INTERFACE m_axi port=lut offset=slave bundle=gmem1 depth=__XF_DEPTH_LUT
#pragma HLS INTERFACE m_axi port=img_out offset=slave bundle=gmem2 depth=__XF_DEPTH_OUT
#pragma HLS INTERFACE s_axilite port=height
#pragma HLS INTERFACE s_axilite port=width
#pragma HLS INTERFACE s_axilite port=lutDim
#pragma HLS INTERFACE s_axilite port=return
// clang-format on

xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput(height, width);
xf::cv::Mat<XF_32FC3, SQ_LUTDIM, LUT_DIM, NPC1> lutMat(lutDim * lutDim, lutDim);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1> imgOutput(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1> imgInput(height, width);
xf::cv::Mat<XF_32FC3, SQ_LUTDIM, LUT_DIM, NPC1, XF_CV_DEPTH_IN_2> lutMat(lutDim * lutDim, lutDim);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1> imgOutput(height, width);

#pragma HLS DATAFLOW

// Retrieve xf::cv::Mat objects from img_in, lut data:
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in, imgInput);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, XF_32FC3, SQ_LUTDIM, LUT_DIM, NPC1>(lut, lutMat);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1>(img_in, imgInput);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, XF_32FC3, SQ_LUTDIM, LUT_DIM, NPC1, XF_CV_DEPTH_IN_2>(lut, lutMat);

// Run xfOpenCV kernel:
xf::cv::lut3d<LUT_DIM, SQ_LUTDIM, IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_USE_URAM>(imgInput, lutMat, imgOutput,
lutDim);
xf::cv::lut3d<LUT_DIM, SQ_LUTDIM, IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_USE_URAM, XF_CV_DEPTH_IN_1,
XF_CV_DEPTH_IN_2, XF_CV_DEPTH_OUT_1>(imgInput, lutMat, imgOutput, lutDim);

// Convert _dst xf::cv::Mat object to output array:
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgOutput, img_out);
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1>(imgOutput, img_out);

return;
} // End of kernel
8 changes: 6 additions & 2 deletions vision/L1/examples/accumulate/build/xf_config_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@
*/

/* Set the optimisation type */
#define NO 1 // Normal Operation
#define RO 0 // Resource Optimized
#define SPC 1 // Single Pixel per Clock operation
#define MPC 0 // Multiple Pixels per Clock operation

/* Image type */
#define RGB 0
#define GRAY 1

#define XF_CV_DEPTH_IN_1 1
#define XF_CV_DEPTH_IN_2 2
#define XF_CV_DEPTH_OUT_1 3
4 changes: 2 additions & 2 deletions vision/L1/examples/accumulate/xf_accumulate_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#define WIDTH 128

// Resolve the optimization type:
#if NO
#if SPC
#define NPC1 XF_NPPC1
#if GRAY
#define INPUT_PTR_WIDTH 8
Expand All @@ -40,7 +40,7 @@
#define OUTPUT_PTR_WIDTH 64
#endif
#endif
#if RO
#if MPC
#define NPC1 XF_NPPC8
#if GRAY
#define INPUT_PTR_WIDTH 64
Expand Down
15 changes: 8 additions & 7 deletions vision/L1/examples/accumulate/xf_accumulate_image_accel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,22 @@ void accumulate_accel(ap_uint<INPUT_PTR_WIDTH>* img_in1,
#pragma HLS INTERFACE s_axilite port=return bundle=control
// clang-format on

xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput1(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput2(height, width);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1> imgOutput(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1> imgInput1(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_2> imgInput2(height, width);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1> imgOutput(height, width);

#pragma HLS DATAFLOW

// Retrieve xf::cv::Mat objects from img_in data:
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in1, imgInput1);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in2, imgInput2);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1>(img_in1, imgInput1);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_2>(img_in2, imgInput2);

// Run xfOpenCV kernel:
accumulate<IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgInput1, imgInput2, imgOutput);
accumulate<IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1, XF_CV_DEPTH_IN_2, XF_CV_DEPTH_OUT_1>(
imgInput1, imgInput2, imgOutput);

// Convert _dst xf::cv::Mat object to output array:
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgOutput, img_out);
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1>(imgOutput, img_out);

return;
} // End of kernel
3 changes: 2 additions & 1 deletion vision/L1/examples/accumulate/xf_accumulate_image_tb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ int main(int argc, char** argv) {
if (err_per > 0.0f) {
fprintf(stderr, "ERROR: Test Failed.\n ");
return EXIT_FAILURE;
}
} else
std::cout << "Test Passed " << std::endl;

return 0;
}
8 changes: 6 additions & 2 deletions vision/L1/examples/accumulatesquared/build/xf_config_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
* limitations under the License.
*/

#define NO 1
#define RO 0
#define SPC 1
#define MPC 0

#define GRAY 1

#define XF_CV_DEPTH_IN_1 1
#define XF_CV_DEPTH_IN_2 2
#define XF_CV_DEPTH_OUT_1 3
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ void accumulate_squared(ap_uint<INPUT_PTR_WIDTH>* img_in1,

// clang-format on

xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput1(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput2(height, width);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1> imgOutput(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1> imgInput1(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_2> imgInput2(height, width);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1> imgOutput(height, width);

// clang-format off

Expand All @@ -44,14 +44,15 @@ void accumulate_squared(ap_uint<INPUT_PTR_WIDTH>* img_in1,
// clang-format on

// Retrieve xf::cv::Mat objects from img_in data:
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in1, imgInput1);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in2, imgInput2);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1>(img_in1, imgInput1);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_2>(img_in2, imgInput2);

// Run xfOpenCV kernel:
xf::cv::accumulateSquare<IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgInput1, imgInput2, imgOutput);
xf::cv::accumulateSquare<IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1, XF_CV_DEPTH_IN_2,
XF_CV_DEPTH_OUT_1>(imgInput1, imgInput2, imgOutput);

// Convert imgOutput xf::cv::Mat object to output array:
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgOutput, img_out);
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1>(imgOutput, img_out);

return;
} // End of kernel
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#define WIDTH 128

// Resolve optimization type:
#if NO
#if SPC
#define NPC1 XF_NPPC1
#if GRAY
#define INPUT_PTR_WIDTH 8
Expand All @@ -38,7 +38,7 @@
#define OUTPUT_PTR_WIDTH 64
#endif
#endif
#if RO
#if MPC
#define NPC1 XF_NPPC8
#if GRAY
#define INPUT_PTR_WIDTH 64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ int main(int argc, char** argv) {
if (err_per > 0.0f) {
fprintf(stderr, "ERROR: Test Failed.\n ");
return EXIT_FAILURE;
}
} else
std::cout << "Test Passed " << std::endl;

return 0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
* limitations under the License.
*/

#define NO 1 // Normal Operation
#define RO 0 // Resource Optimized
#define SPC 1 // Single Pixel per Clock operation
#define MPC 0 // Multiple Pixels per Clock operation

#define GRAY 1

#define XF_CV_DEPTH_IN_1 1
#define XF_CV_DEPTH_IN_2 2
#define XF_CV_DEPTH_OUT_1 3
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,24 @@ void accumulate_weighted_accel(ap_uint<INPUT_PTR_WIDTH>* img_in1,
#pragma HLS INTERFACE s_axilite port=return bundle=control
// clang-format on

xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput1(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput2(height, width);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1> imgOutput(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1> imgInput1(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_2> imgInput2(height, width);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1> imgOutput(height, width);

// clang-format off
#pragma HLS DATAFLOW
// clang-format on

// Retrieve xf::cv::Mat objects from img_in data:
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in1, imgInput1);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in2, imgInput2);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1>(img_in1, imgInput1);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_2>(img_in2, imgInput2);

// Run xfOpenCV kernel:
xf::cv::accumulateWeighted<IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgInput1, imgInput2, imgOutput, alpha);
xf::cv::accumulateWeighted<IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1, XF_CV_DEPTH_IN_2,
XF_CV_DEPTH_OUT_1>(imgInput1, imgInput2, imgOutput, alpha);

// Convert _dst xf::cv::Mat object to output array:
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgOutput, img_out);
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1>(imgOutput, img_out);

return;
} // End of kernel
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#define WIDTH 128

// Resolve optimization type:
#if NO
#if SPC
#define NPC1 XF_NPPC1
#if GRAY
#define INPUT_PTR_WIDTH 8
Expand All @@ -38,7 +38,7 @@
#define OUTPUT_PTR_WIDTH 64
#endif
#endif
#if RO
#if MPC
#define NPC1 XF_NPPC8
#if GRAY
#define INPUT_PTR_WIDTH 64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ int main(int argc, char** argv) {
if (err_per > 0.0f) {
fprintf(stderr, "ERROR: Test Failed.\n ");
return EXIT_FAILURE;
}
} else
std::cout << "Test Passed " << std::endl;

return 0;
}
8 changes: 6 additions & 2 deletions vision/L1/examples/addweighted/build/xf_config_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
* limitations under the License.
*/

#define NO 1 // Normal Operation
#define RO 0 // Resource Optimized
#define SPC 1 // Single Pixel per Clock operation
#define MPC 0 // Multiple Pixels per Clock operation

#define GRAY 1

#define XF_CV_DEPTH_IN_1 1
#define XF_CV_DEPTH_IN_2 2
#define XF_CV_DEPTH_OUT_1 3
15 changes: 8 additions & 7 deletions vision/L1/examples/addweighted/xf_add_weighted_accel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,24 @@ void add_weighted_accel(ap_uint<INPUT_PTR_WIDTH>* img_in1,
#pragma HLS INTERFACE s_axilite port=return bundle=control
// clang-format on

xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput1(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1> imgInput2(height, width);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1> imgOutput(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1> imgInput1(height, width);
xf::cv::Mat<IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_2> imgInput2(height, width);
xf::cv::Mat<OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1> imgOutput(height, width);

// clang-format off
#pragma HLS DATAFLOW
// clang-format on

// Retrieve xf::cv::Mat objects from img_in data:
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in1, imgInput1);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1>(img_in2, imgInput2);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1>(img_in1, imgInput1);
xf::cv::Array2xfMat<INPUT_PTR_WIDTH, IN_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_2>(img_in2, imgInput2);

// Run xfOpenCV kernel:
xf::cv::addWeighted<IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgInput1, alpha, imgInput2, beta, gamma, imgOutput);
xf::cv::addWeighted<IN_TYPE, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_IN_1, XF_CV_DEPTH_IN_2, XF_CV_DEPTH_OUT_1>(
imgInput1, alpha, imgInput2, beta, gamma, imgOutput);

// Convert _dst xf::cv::Mat object to output array:
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1>(imgOutput, img_out);
xf::cv::xfMat2Array<OUTPUT_PTR_WIDTH, OUT_TYPE, HEIGHT, WIDTH, NPC1, XF_CV_DEPTH_OUT_1>(imgOutput, img_out);

return;
} // End of kernel
8 changes: 4 additions & 4 deletions vision/L1/examples/addweighted/xf_add_weighted_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@

// Resolve optimization type:
#if GRAY
#if NO
#if SPC
#define NPC1 XF_NPPC1
#define INPUT_PTR_WIDTH 8
#define OUTPUT_PTR_WIDTH 8
#endif
#if RO
#if MPC
#define NPC1 XF_NPPC8
#define INPUT_PTR_WIDTH 64
#define OUTPUT_PTR_WIDTH 64
#endif
#else
#if NO
#if SPC
#define NPC1 XF_NPPC1
#define INPUT_PTR_WIDTH 32
#define OUTPUT_PTR_WIDTH 32
#endif
#if RO
#if MPC
#define NPC1 XF_NPPC8
#define INPUT_PTR_WIDTH 256
#define OUTPUT_PTR_WIDTH 256
Expand Down
5 changes: 3 additions & 2 deletions vision/L1/examples/addweighted/xf_add_weighted_tb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ int main(int argc, char** argv) {

if (err_per > 0.0f) {
fprintf(stderr, "ERROR: Test Failed.\n ");
return EXIT_FAILURE;
}
return 1;
} else
std::cout << "Test Passed " << std::endl;

return 0;
}
Loading

0 comments on commit 2bc5ee7

Please sign in to comment.