Tae-Young Chung [Mon, 4 Nov 2019 07:15:53 +0000 (16:15 +0900)]
Fix API description issues
Change-Id: I5d45d5ff5fa3505f00e07080b033b99500842dba
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Wed, 23 Oct 2019 02:48:35 +0000 (11:48 +0900)]
Fix API description for doxygen.
Change-Id: Ia26568fd926d76867730842f19886c632f84665c
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Tae-Young Chung [Mon, 14 Oct 2019 01:44:17 +0000 (10:44 +0900)]
Add MV_ENGINE_CONFIG_ATTR_TYPE_ARRAY_STRING to mv_config_attribute_type_e
Change-Id: Iae611fdc07aa982be3c3b988c27c50db7240633e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Wed, 9 Oct 2019 23:40:18 +0000 (23:40 +0000)]
Merge "Change ini file location." into tizen
Tae-Young Chung [Mon, 7 Oct 2019 05:52:10 +0000 (14:52 +0900)]
Update mediavision_doc.h #2
Change-Id: I5f0af38c82ea8e38e10ceb684d8cf2cd5048d853
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Fri, 4 Oct 2019 08:26:55 +0000 (17:26 +0900)]
Change ini file location.
Change-Id: I15f29b8b971b1f604510c1dbb07a898fb83bf926
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
Tae-Young Chung [Wed, 2 Oct 2019 07:52:46 +0000 (16:52 +0900)]
Fix NO_CATCH.LIBRARY issue by security check
Change-Id: I260628690969a6e75b1515d38df1c66807204ce3
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 2 Oct 2019 07:24:48 +0000 (16:24 +0900)]
Update mediavision_doc.h
Change-Id: Ib338a10af9b937f24086789e7d82f35603b0515f
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 2 Oct 2019 02:13:12 +0000 (11:13 +0900)]
Fix resource leak issues and svace issues
CID 1087571, 1087654, 1087562, 1087542, 1087540
Change-Id: Ia054980b6d7e76bef5895f48e1c89f6d3d1ef975
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 26 Jul 2019 05:16:22 +0000 (14:16 +0900)]
Add an inference module with new APIs
Representative apis are:
1. mv_inference_image_classify()
2. mv_inference_object_detect()
3. mv_inference_face_detect()
4. mv_inference_facial_landmark_detect()
These are high-lever APIs based on dnn based vision inference functions,
such as image classification, object detection, and face and its landmark detection.
Change-Id: I9afd4dd5a58613e272a844e6f329230bf265cde6
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Hyunsoo Park [Wed, 31 Jul 2019 06:41:37 +0000 (15:41 +0900)]
Move mutex unlock macro of '__globalGuard' to end of function.
It is safe to call AsyncTracker destroyer after all the work of pthread has been completed.
So i move to unlock macro to proper position.
Change-Id: I76aa7dcd6d7abe1de060e4bf252579cfe1e9be11
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
sangho park [Mon, 1 Jul 2019 10:47:59 +0000 (19:47 +0900)]
Make a gcov package for measuring coverage easier
Change-Id: I6f9935592dea0f480b8d3ecee974c051300d72f6
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Tae-Young Chung [Fri, 19 Apr 2019 05:42:15 +0000 (14:42 +0900)]
Fix build break with aarch64 and x86_64
Change-Id: I554d8eeb09f989c57bf8e9fc004bf0d9e1f28100
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 18 Apr 2019 08:29:41 +0000 (17:29 +0900)]
Fix mv_source_fill_by_packet() when multiple bos are given
To get pointer address of planes from media packet,
replace media_packet_get_buffer_data_ptr() with media_packet_get_video_plane_data_ptr().
Change-Id: I11e80220bc73d303dce71227d7e0947dc668c44a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 25 Jan 2019 07:20:54 +0000 (07:20 +0000)]
Revert "Fix typo"
This reverts commit
aaf491613f59fa3379075a7d882780e74cad346a.
Change-Id: Ic265af051ff2c7324d82445b9a4cff890945efb7
Tae-Young Chung [Thu, 24 Jan 2019 02:41:02 +0000 (11:41 +0900)]
Fix typo
Change-Id: I9d8d9b48fd91d018257976c0fcd073c49133bca3
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 26 Dec 2018 05:24:06 +0000 (14:24 +0900)]
Symbolic link capi-system-info explicitly to libmv_common.so
This patch makes mv_common to be clear symbolic link relation.
Change-Id: I25f507bbac81723b4d73d97729849a1f719e42a6
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Mon, 24 Dec 2018 07:59:53 +0000 (16:59 +0900)]
Fix failure to record video results in testsuites
Change avmux_avi to avimux in video_helper in testsuite.
Change-Id: I565c8f59f6bd1ac42eaa4fde57cf023faff25d37
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Tue, 27 Nov 2018 02:03:49 +0000 (11:03 +0900)]
add -lmv_common to pkg-config files
Change-Id: I05d575e0e38d10c2187730ab46723cd03f3aa6da
Signed-off-by: sangho park <sangho.g.park@samsung.com>
hj kim [Thu, 1 Nov 2018 01:18:16 +0000 (10:18 +0900)]
Remove dlog from pc_dependents
Change-Id: Iaa7417463be8a1a23c2d554aa82c556de4eb62d0
Tae-Young Chung [Tue, 2 Oct 2018 08:07:13 +0000 (17:07 +0900)]
Add null check after g_array_new() in image_test_suite.c
Change-Id: Idfc72e069489adfe0d625b518d7a00588ac48c1e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
SeokHoon Lee [Mon, 17 Sep 2018 07:03:18 +0000 (16:03 +0900)]
Add gcov environment
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: If373936e91d972b36763afbfb4d33a36427213b9
Tae-Young Chung [Wed, 12 Sep 2018 09:01:03 +0000 (18:01 +0900)]
Add codes handling exception thrown by OpenCV
In the worst case, the memory size over the limitation is required
and then OutOfMemory exception is thrown, resulting crash.
This patch handles the exception and prevents crash.
Change-Id: Ie9bb0346cf53bc59d8a9da7e4758c2011cda9f1e
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 17 Aug 2018 08:48:33 +0000 (17:48 +0900)]
Remove unnecessary log printing while face detection
While face detection, check engine_config and print logs even though engine_config is null.
This patch modify those parts.
Change-Id: I07b664268b64d68d2638f61cc9d74be33827b3c5
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Wed, 8 Aug 2018 02:29:26 +0000 (11:29 +0900)]
fix Coverity issue
[CID:860216] Arguments in wrong order
Change-Id: Ib1d18a6f2638c440692f985a2cb862896ebb0eb2
Signed-off-by: sangho park <sangho.g.park@samsung.com>
yhji [Tue, 24 Jul 2018 09:58:47 +0000 (18:58 +0900)]
Fix Wformat build error
Change-Id: I89c3483d0fac57ebc1d328a5752c776341939dcf
Signed-off-by: yhji <yhji.lee@samsung.com>
sangho park [Mon, 9 Jul 2018 04:14:19 +0000 (13:14 +0900)]
[UTC][capi-media-vision][NON-ACR][SVACE]
WGID-279240 : add try-catch to convertSourceMV2GrayCV() internal API.
WGID-347564, 347565, 347566 : add NULL checking.
Change-Id: I0bcc82e109243a8028c0fd9bd47c69126320c197
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Tae-Young Chung [Wed, 20 Jun 2018 08:15:33 +0000 (17:15 +0900)]
Fix build error within i586 and x86_64
Fix abs() to std::abs because call of overloaded 'abs(size)t)' is ambiguous
Change-Id: I125fd34e657d38c1eddfeb3eecf94c3506faa8af
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 19 Jun 2018 10:07:10 +0000 (19:07 +0900)]
Fix OpenCV version which is required at least
OpenCV should be equal to or greater than 3.4.1
Change-Id: I9e1e32ec6d627e522f59db96ecf39485f61e8c72
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 15 Mar 2018 08:06:13 +0000 (17:06 +0900)]
Fix ParseOpenCVLabels
Since OpenCV 3.4.x, FaceRecognizer Class doesn't provide getLabels().
Instead, each algorithm provides getLabels().
OpenCV should be equal to or greater than 3.4.1
Change-Id: Iec123273bb347713fa648a505ec78922b2008b9c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 8 Feb 2018 06:18:52 +0000 (15:18 +0900)]
Migration to OpenCV 3.4.0
Change-Id: I38918bc7555837f234ce0f4c52da4cbd5f2e9232
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Thu, 10 May 2018 02:18:59 +0000 (11:18 +0900)]
fix coverity
CID-110342 Resource leak
Change-Id: If8c0ea85c19f4bc251e798e6fb11eedb417144b7
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Mon, 19 Mar 2018 07:41:41 +0000 (16:41 +0900)]
fix coverity
CID-111024 Unchecked return value
CID-110444 Resource leak
CID-110342 Resource leak
CID-108973 Resource leak
CID-107052 Resource leak
Change-Id: I4dc600bd5e48cefefd02e43599f869ce2162835f
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Mon, 5 Mar 2018 06:36:43 +0000 (06:36 +0000)]
Merge "fix typo - defalut => default" into tizen
sangho park [Mon, 5 Mar 2018 06:28:49 +0000 (15:28 +0900)]
fix typo - triger => trigger
Change-Id: Ie4ce9bdb33049e0bbeb88a76dccb1beabf9f51de
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Mon, 5 Mar 2018 06:25:41 +0000 (15:25 +0900)]
fix typo - defalut => default
Change-Id: I5048d28765b0420ec8d60eddb6831a2cef2e832e
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Tae-Young Chung [Thu, 22 Feb 2018 05:47:08 +0000 (14:47 +0900)]
Fixed static analysis issues
Added try-catch to handle cv's throwing exception
Fixed fill_engine_cfg_person_recognized() to return true or false accoring to configuration result
Change-Id: I7ab7abfe9bbb4ba360e2f3b0afbcfb1b9cfe7d94
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
hj kim [Thu, 1 Feb 2018 07:40:00 +0000 (16:40 +0900)]
Add capi-media-tool in pc dependent
Change-Id: Id6d906209703f9e310d550b552f1e12bfff0f71a
Tae-Young Chung [Thu, 7 Dec 2017 08:47:45 +0000 (17:47 +0900)]
Fix coverity issues
- Print arg count mismatches
- Parse warning
Change-Id: Id00e1ccb6a43f9d67c03a4169de04cee645202a4
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
(cherry picked from commit
588fb9803daa538a4d1c911fcd5e94185c30eb4e)
Tae-Young Chung [Thu, 28 Sep 2017 05:09:05 +0000 (14:09 +0900)]
Fix coverity issues
- Unchecked return value
- Unused value
- Resource leak
- Division or modulo by float zero
- Print arg count mismatch
- Parse warning
Change-Id: I04ed74f3f1fcd97ed1173d2e80f3681d15f3b0d0
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 12 Sep 2017 05:17:28 +0000 (14:17 +0900)]
Fix violations of CPP coding rule
1. remove redundant blank line at the start or the end of a code block
Change-Id: Ibd5c6bfa0eec81aefae8dd0731f89db69bd6a5fb
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 12 Sep 2017 04:55:42 +0000 (13:55 +0900)]
Fix violations of C coding rule
1. code indent should be tabs, not space
2. unnecessary braces{} for single statement
Change-Id: I920172c7d6f9c975b4a89415463e21079426c873
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 8 Sep 2017 08:54:57 +0000 (17:54 +0900)]
Replace readdir() with readdir_r() and add cv::exception handling
1. Replace readdir() with readdir_r() because of unguaranteed thread safety of readdir()
2. Add try-catch when cvtcolor is called. If exception might be thrown, *_INVALID_OPERATION
would be returned. Then, testsuite can handle the error case.
Change-Id: Id6ef3455ff5e5e37be8e91cf1c7af817093e7d48
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 22 Aug 2017 01:18:54 +0000 (01:18 +0000)]
Merge "Update ffmpeg support for testsuite" into tizen
Tae-Young Chung [Tue, 18 Jul 2017 11:51:47 +0000 (20:51 +0900)]
Update ffmpeg support for testsuite
Change-Id: I7812ff09233bc0c1eba4c449bfd50aafc74f846f
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 16 Aug 2017 06:56:29 +0000 (15:56 +0900)]
Update testsuite to track face or image with image files
Change-Id: Iff210d088dbe299f10d32fb67011613c0427cd6c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
sangho park [Thu, 3 Aug 2017 05:16:13 +0000 (05:16 +0000)]
Merge "fix pvs warning (V762)" into tizen
sangho park [Thu, 3 Aug 2017 05:16:07 +0000 (05:16 +0000)]
Merge "fix pvs warning (V762)" into tizen
sangho park [Thu, 3 Aug 2017 05:16:01 +0000 (05:16 +0000)]
Merge "fix pvs warning (V762)" into tizen
sangho park [Thu, 3 Aug 2017 01:15:12 +0000 (01:15 +0000)]
Merge "fix pvs warning (V647)" into tizen
sangho park [Thu, 3 Aug 2017 01:15:04 +0000 (01:15 +0000)]
Merge "fix pvs warning (V595)" into tizen
sangho park [Thu, 3 Aug 2017 01:14:55 +0000 (01:14 +0000)]
Merge "fix pvs warning (V571)" into tizen
sangho park [Wed, 2 Aug 2017 04:20:33 +0000 (13:20 +0900)]
fix pvs warning (V647)
Change-Id: I4c2de5f26af1821ad2f491758c9cfaa9d479f2d3
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 04:10:22 +0000 (13:10 +0900)]
fix pvs warning (V595)
Change-Id: If5eab65eec0dd87c84883efb4c83633baee70783
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 04:08:24 +0000 (13:08 +0900)]
fix pvs warning (V571)
Change-Id: Ib95e8314792a337cfef9ac98c29b686a0216d8dd
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 04:05:57 +0000 (13:05 +0900)]
fix pvs warning (V762)
Change-Id: Ib7f156d0f4a27fc1c7fc331903d0993c518b9345
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 04:04:29 +0000 (13:04 +0900)]
fix pvs warning (V762)
Change-Id: I9413137ccbddd4eb2b7c1cab1e5cd039bf875c77
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 04:03:04 +0000 (13:03 +0900)]
fix pvs warning (V762)
Change-Id: I37ab079148111e40abcf649f042051a679af6738
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 04:00:33 +0000 (13:00 +0900)]
fix pvs warning (V576)
Change-Id: I0ad761fe5fb733adaffa972271eb014b71a57fcd
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 02:13:53 +0000 (02:13 +0000)]
Merge "fix pvs warning (V575)" into tizen
sangho park [Wed, 2 Aug 2017 02:12:24 +0000 (02:12 +0000)]
Merge "fix pvs warning (V522)" into tizen
sangho park [Wed, 2 Aug 2017 02:12:18 +0000 (02:12 +0000)]
Merge "fix pvs warning (V576)" into tizen
sangho park [Wed, 2 Aug 2017 02:12:09 +0000 (02:12 +0000)]
Merge "fix pvs warning (V576)" into tizen
sangho park [Wed, 2 Aug 2017 00:37:55 +0000 (09:37 +0900)]
fix pvs warning (V575)
Change-Id: I904b04853fdc1a3a3fb9c3745ba354479534042d
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 01:25:32 +0000 (10:25 +0900)]
fix pvs warning (V576)
Change-Id: Ib92b3ddf6f3e419b1a0fe871aaaa66ba41861c60
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 00:40:30 +0000 (09:40 +0900)]
fix pvs warning (V522)
Change-Id: Ic45ce6eb817a62fb4d8ce0eef1bf10b5bda453a1
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 2 Aug 2017 00:42:30 +0000 (09:42 +0900)]
fix pvs warning (V576)
Change-Id: I3c11bff0a8789e6f6e5177086ab022ec7afd912c
Signed-off-by: sangho park <sangho.g.park@samsung.com>
sangho park [Wed, 26 Jul 2017 03:13:57 +0000 (12:13 +0900)]
fix testsuite segfault
Change-Id: Ib0e792b9af176f3800cd488f03f11c29d00641a0
Signed-off-by: sangho park <sangho.g.park@samsung.com>
Tae-Young Chung [Sun, 23 Jul 2017 23:52:52 +0000 (08:52 +0900)]
Repackage capi-media-vision to each submodules
capi-media-vision is repackaged into
capi-media-vision-{common, barcode, face, image, surveillance}
For compatibility, keep capi-media-vision package.
Change-Id: I05c45c396e2ab99029546a715a61de74599e3657
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 14 Jun 2017 05:20:21 +0000 (14:20 +0900)]
Fixed GCC diagnostic error -Wformat
In printf(),
Percent character % should be %%,
long int type should be %ld,
size_t type should be %zu.
Change-Id: I0ac1ff152120f847abed89ce9953409cb6ec0c88
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 8 Jun 2017 08:56:21 +0000 (17:56 +0900)]
Fixed implicitly included header file
PVS-studio reported the issue which the implicitly included header file may
cause latent issue.
Change-Id: Ic1dbb3ac3e5694062503b5512877eb1e4c4f3196
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 20 Apr 2017 02:18:03 +0000 (11:18 +0900)]
Fixed memory leak in testsuite of surveillance module
Change-Id: I019e7d5e425aaa6e04c8585b9d2ba907fe4a53fb
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 14 Apr 2017 01:26:56 +0000 (10:26 +0900)]
Changed the name of license BSD-2.0 to BSD-3-Clause
Change-Id: I67e949e403ce411abd45fb710a5abf7e0c388cfb
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 6 Apr 2017 08:15:07 +0000 (17:15 +0900)]
Added error return code when input parameter number_of_points is 0
Change-Id: I5a23fdbc8f2643294d9675942813d2e5cbec8bb7
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Mon, 3 Apr 2017 07:44:47 +0000 (16:44 +0900)]
Fixed broken link of feature reference
Change-Id: I73f120fa4d5bf22d0fefb019c97dc681272f34a9
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 22 Mar 2017 08:49:08 +0000 (17:49 +0900)]
Update spec file for license macro
Change-Id: I3891be08d9fc4bc79dbd5d08db80ba5506506aef
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 10 Feb 2017 11:48:42 +0000 (20:48 +0900)]
Fixed memory leak of testsuites
Change-Id: Ic9f660c8acb5bbd622f34011982dc06ceba72448
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 7 Feb 2017 06:22:11 +0000 (15:22 +0900)]
Fixed memory leak and added null parameter handling
1. Fixed memory leak in mv_surveillance_set_event_trigger_roi() api
2. Fixed memory leak in mv_face_tracking_model_load() api
3. Fixed the issue of returning error when engine_cfg is null in mv_barcode_detect() api.
Change-Id: Id56f55b9421d64ff85bffff6f3502696be0315e1
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 2 Dec 2016 06:39:59 +0000 (15:39 +0900)]
Avoid throwing OpenCV's exception
Change-Id: I3b5acaa4c8559e30a9775e56e819a0e5da4c0ab9
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 29 Nov 2016 10:34:05 +0000 (19:34 +0900)]
Eliminated unreachable codes
Change-Id: Ib2d7cf5a226338c62996312e05569ec7ab71a989
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 22 Nov 2016 06:29:25 +0000 (15:29 +0900)]
Refactor codes and fixed minor changes
1. Applied coding convention to C++ files;identation, brace, etc
2. Fixed typo
3. Minor changes (Applied explicit casting using static_cast<>, refactoring in a surveillance moduel, etc)
Change-Id: Ieccc949d0b761ef5dbb72aea6512fee85d754894
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 18 Aug 2016 10:18:01 +0000 (19:18 +0900)]
Add check arm_neon support
Change-Id: I0a3b550bd3aaa0afef1c91230bb88b0116b1cb81
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 23 Jun 2016 04:55:31 +0000 (13:55 +0900)]
[coding convention] Fixed coding rule violation
1. remove redundant blank line and whitespace at the end of lines
2. fixed open brace place; put the open brace at the end of line
Change-Id: Ib2d554eb3ec15cc4579b4835eac2be10bff5484a
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 22 Jun 2016 07:45:02 +0000 (16:45 +0900)]
[Fixed bug] Fixed HEAP incompatible delete/free() usage
Change-Id: Ibb97fb9fc131f0dd84084aafbdb0d47032cfcc97
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 22 Jun 2016 01:35:50 +0000 (10:35 +0900)]
[coding convention] Fixed c++ coding rule violation related to brace
Change-Id: I9bc1623969b34fc390f2bde194cdbc1222f1649d
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 21 Jun 2016 00:10:54 +0000 (09:10 +0900)]
change the installation path of media-vision-config.json
[cause]
- In the path "/usr/share/config/" where capi-media-vision's json file is installed,
other modules may install their files and may try to change the smack label of whole path.
[solve]
- change the path to "/usr/share/capi-media-vision" of vision module's own
Change-Id: Iec767bd90226ec918e60f7518a11de6f815a85c5
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Thu, 16 Jun 2016 02:02:56 +0000 (11:02 +0900)]
[Fixed Bug] Fixed delete[] to free()
[cause]
In mv_engine_config_set_string_attribute(), new[] operator had been changed to malloc()
Thus, the parts calling mv_engine_config_get_string_attribute should have to use free()
instead of delete[] operator.
[solve]
The parts using mv_engine_config_get_string_attribute() is changed to deallocate memory by free()
Change-Id: I60ef4823e43229214c31d0706e53d3aa51c8d600
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 24 May 2016 05:16:35 +0000 (14:16 +0900)]
Fixed latent memory leak issue
Change-Id: Icb565007c63f9e2b9d8d2b5ce281a3476973ea43
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 7 Jun 2016 01:13:50 +0000 (10:13 +0900)]
[Fixed Bug] Fixed alloc-dealloc-mismatch (new vs. free)
[cause]
- allocate memory using operator new[]
- deallocate the memory using free()
- it may cause memory corruption or undefined behaviors
[solve]
- replace operator new[] with malloc()
Change-Id: Icc844a98fda28556b071e62ad2599bacba441974
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 1 Jun 2016 04:02:21 +0000 (13:02 +0900)]
[Fixed Bug] Fixed NULL pointer access
[cause]
- Access null pointer of fgcolour and bgcolour when engine_cfg is null
[solve]
- Access them when engine_cfg is available
Change-Id: Ieb58f331b2e7bba1d8281d2baa63cbf60959b9d9
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 3 May 2016 00:43:27 +0000 (09:43 +0900)]
Fixed SVACE issues
Change-Id: I6dbe1ea95897c513d301c0117aa15888d033f976
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Tue, 26 Apr 2016 08:44:16 +0000 (17:44 +0900)]
Change directory path
1. Replace the hard-coded path with tizen-platform-config
2. Change testsuite directory
Change-Id: I9ece671963f31b4037fc90f843cc955fc2e90324
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Wed, 20 Apr 2016 01:18:42 +0000 (10:18 +0900)]
Update package version to 0.3.14
Change-Id: I16fd755d296677ee86f29d4eabca163ecf2a2053
Tae-Young Chung [Wed, 20 Apr 2016 01:16:19 +0000 (18:16 -0700)]
Merge "Add new definitions for coloring barcodes" into tizen
Tae-Young Chung [Wed, 6 Apr 2016 08:33:08 +0000 (17:33 +0900)]
Add new definitions for coloring barcodes
Change-Id: Ie25ef74b097c5cdcf291f28de9e92321ffc6a808
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
SeokHoon Lee [Tue, 12 Apr 2016 08:40:15 +0000 (17:40 +0900)]
check coding rule
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ib87112bce437a1cbc8821b39144b7ed2687073f3
Tae-Young Chung [Tue, 5 Apr 2016 01:07:38 +0000 (18:07 -0700)]
Merge "Improve recognition performance for EigenFaces and FisherFaces models" into tizen
Tae-Young Chung [Mon, 4 Apr 2016 03:05:30 +0000 (20:05 -0700)]
Merge "Applied C/C++ coding rules" into tizen
Tae-Young Chung [Mon, 4 Apr 2016 03:02:11 +0000 (12:02 +0900)]
Improve recognition performance for EigenFaces and FisherFaces models
1. Change confidence calculation
2. Add error check routine for FisherFaces model when the number of face classes is less than 2
Change-Id: If848ecd48a2b53eb8c0a4b02ac060755c3b30e20
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
Tae-Young Chung [Fri, 1 Apr 2016 06:55:15 +0000 (15:55 +0900)]
Applied C/C++ coding rules
Change-Id: I7b2335e83af1c49134bcc2554e93fe49eeb6e46c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>