platform/core/multimedia/mmsvc-camera.git
2 years agoMerge branch 'tizen' into tizen_6.5 83/266983/1 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211125.060545 submit/tizen_6.5/20211124.061420
Jeongmo Yang [Tue, 23 Nov 2021 10:52:07 +0000 (19:52 +0900)]
Merge branch 'tizen' into tizen_6.5

Change-Id: I10c8f10db07e8d5000edb8a413285c68032cce49
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoDo not keep the non-zero-copy buffer 75/266575/2 accepted/tizen/unified/20211125.003814 submit/tizen/20211123.105159
Jeongmo Yang [Mon, 15 Nov 2021 10:34:59 +0000 (19:34 +0900)]
Do not keep the non-zero-copy buffer

- The zero-copy buffer should not be released until it's returned from user,
  because if it's released, it could be updated while it's being used.
  On the other hand, the non-zero-copy buffer is copied,
  so we don't need to keep it not to be released.

[Version] 0.3.50
[Issue Type] Improvement

Change-Id: I27461808f5c1e9ab4b0a1f692ca715d3e273de41
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoUpdate comment 57/266557/2
Jeongmo Yang [Mon, 15 Nov 2021 09:23:26 +0000 (18:23 +0900)]
Update comment

[Version] 0.3.49
[Issue Type] Comment

Change-Id: I0b7afa1e08b9f7fc1e024f2760050dec27a6cbc5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoSupport new internal APIs for extra preview GOP interval 12/263712/2 accepted/tizen/6.5/unified/20211028.122725 accepted/tizen/unified/20210916.014239 submit/tizen/20210915.115302 submit/tizen_6.5/20211028.162401 tizen_6.5.m2_release
Jeongmo Yang [Wed, 8 Sep 2021 12:59:38 +0000 (21:59 +0900)]
Support new internal APIs for extra preview GOP interval

[Version] 0.3.48
[Issue Type] New feature

Change-Id: Idda95dc4b53550af82f89a7fa9c0aed26556f86f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoSupport new internal APIs for extra preview bitrate 09/263309/3 accepted/tizen/unified/20210906.123735 submit/tizen/20210903.031152
Jeongmo Yang [Tue, 31 Aug 2021 08:37:05 +0000 (17:37 +0900)]
Support new internal APIs for extra preview bitrate

[Version] 0.3.47
[Issue Type] New feature

Change-Id: I9d13e090f8720d9459fdf0ec43b0c3a423713aa5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoRelease exported fd after stop preview 86/262886/1 accepted/tizen/unified/20210901.103712 submit/tizen/20210831.023825 submit/tizen/20210901.010210
Jeongmo Yang [Mon, 23 Aug 2021 06:19:43 +0000 (15:19 +0900)]
Release exported fd after stop preview

[Version] 0.3.46
[Issue Type] Update

Change-Id: I366c0833043b4d547987e0b209705d4941518a17
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoSupport new internal APIs for extra preview stream format 23/259923/1 accepted/tizen/unified/20210621.123130 submit/tizen/20210618.081505
Jeongmo Yang [Wed, 16 Jun 2021 12:53:51 +0000 (21:53 +0900)]
Support new internal APIs for extra preview stream format

[Version] 0.3.45
[Issue Type] New feature

Change-Id: I6bc37b2a07ad8c3a7dbe08f390da6a85a563ff70
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoSupport new pixel format - VP8, VP9 77/259277/1 accepted/tizen/unified/20210615.120236 submit/tizen/20210615.011749
Jeongmo Yang [Thu, 3 Jun 2021 11:35:44 +0000 (20:35 +0900)]
Support new pixel format - VP8, VP9

[Version] 0.3.44
[Issue Type] New feature

Change-Id: Ie4549c51088d6a4644fa519a3650df65785430a6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoSupport manual focus APIs 85/258185/5 accepted/tizen/unified/20210602.122548 submit/tizen/20210531.033817
Jeongmo Yang [Wed, 12 May 2021 04:15:31 +0000 (13:15 +0900)]
Support manual focus APIs

[Version] 0.3.43
[Issue Type] New feature

Change-Id: I33b39e7f1a5c47eeb699bfdd0e5687d94a5e5748
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2 years agoSupport extra preview related APIs 53/257553/7
Jeongmo Yang [Tue, 27 Apr 2021 12:52:25 +0000 (21:52 +0900)]
Support extra preview related APIs

[Version] 0.3.42
[Issue Type] New feature

Change-Id: I67915f64c47457a868c2cf21a4be2757f349245f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoSupport new APIs for media bridge 86/256086/6 accepted/tizen/unified/20210412.012057 submit/tizen/20210408.091908
Jeongmo Yang [Mon, 29 Mar 2021 07:31:10 +0000 (16:31 +0900)]
Support new APIs for media bridge

- MUSE_CAMERA_API_SET_MEDIA_BRIDGE, MUSE_CAMERA_API_UNSET_MEDIA_BRIDGE
- Minor change
 : Correct the condition to wait for preview callback return signal.
 : Revise preview callback related code.

[Version] 0.3.41
[Issue Type] New feature

Change-Id: Iefcd19f04fed02271f00d0c9653615f9d881295d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoRemove global extern variable - mmcam_log_level 70/255370/1 accepted/tizen/unified/20210319.141004 submit/tizen/20210318.073807
Jeongmo Yang [Wed, 17 Mar 2021 11:11:13 +0000 (20:11 +0900)]
Remove global extern variable - mmcam_log_level

[Version] 0.3.40
[Issue Type] SAM Improvement

Change-Id: I0d48bb23158135586960a90fd19808b8cf37b393
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoAdd new APIs for flash brightness 14/252914/1 accepted/tizen/unified/20210208.061718 submit/tizen/20210204.050939
Jeongmo Yang [Wed, 3 Feb 2021 05:57:06 +0000 (14:57 +0900)]
Add new APIs for flash brightness

[Version] 0.3.39
[Issue Type] New feature

Change-Id: Ibe4342b440d0bdb6cfcc779699f8f60262e79ad4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoSupport network camera 53/246753/2 accepted/tizen/unified/20201109.123506 submit/tizen/20201106.064606
Jeongmo Yang [Wed, 4 Nov 2020 01:58:26 +0000 (10:58 +0900)]
Support network camera

[Version] 0.3.38
[Issue Type] Update

Change-Id: I0efbf3e7d7664524b4db15ec9f42ce65094e7069
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoRevise log related code 21/244621/8 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114605 accepted/tizen/6.0/unified/hotfix/20201103.003027 accepted/tizen/unified/20201005.005829 submit/tizen/20200928.104152 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 tizen_6.0.m2_release
Jeongmo Yang [Tue, 22 Sep 2020 10:51:53 +0000 (19:51 +0900)]
Revise log related code

- Use mmcam_log_level as extern variable which is declared and set in libmm-camcorder.
- Add new macro for new log level.

[Version] 0.3.37
[Issue Type] Log

Change-Id: I3151bc8559b21832e5b9fc82978c9f6b59e8e694
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoSupport platform privilege for camera device 80/243380/1 accepted/tizen/unified/20200909.155604 submit/tizen/20200908.053247
Jeongmo Yang [Mon, 7 Sep 2020 07:09:28 +0000 (16:09 +0900)]
Support platform privilege for camera device

[Version] 0.3.36
[Issue Type] New feature

Change-Id: Id6535ffb0b9197550468941576f43104140dfd6c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoFix crash when create bo for normal buffer 12/241912/1 accepted/tizen/unified/20200825.033206 submit/tizen/20200821.025149
Jeongmo Yang [Fri, 21 Aug 2020 00:29:45 +0000 (09:29 +0900)]
Fix crash when create bo for normal buffer

- Invalid pointer is used to copy.

[Version] 0.3.35
[Issue Type] Bug fix

Change-Id: I36c3a99ea855b0f76c01e3a21b29c621733c52ca
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoInitialize fd to -1 for muse_camera_export_data 62/241262/2 accepted/tizen/unified/20200820.034821 submit/tizen/20200819.022508 submit/tizen/20200819.121427
Jeongmo Yang [Wed, 19 Aug 2020 00:43:38 +0000 (09:43 +0900)]
Initialize fd to -1 for muse_camera_export_data

- fd 0 which is not imported could be closed when free export data,
  then, it will cause invalid fd operation.

[Version] 0.3.34
[Issue Type] Bug fix

Change-Id: Idad72d74abd4c66daa960c34b9804b9c5271e262
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoExport functions for camera frame handling 30/239830/8 submit/tizen/20200818.102105
Jeongmo Yang [Thu, 30 Jul 2020 05:34:57 +0000 (14:34 +0900)]
Export functions for camera frame handling

- camera_export_data_new()
- camera_export_data_free()
- camera_remove_export_data()

[Version] 0.3.33
[Issue Type] Update

Change-Id: I4024be557245e221399a32fe8365d8bc82162aa2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoAdd new display type for Ecore_Wl2_Window 89/236989/1 accepted/tizen/unified/20200625.110551 submit/tizen/20200624.034306
Jeongmo Yang [Wed, 24 Jun 2020 02:27:50 +0000 (11:27 +0900)]
Add new display type for Ecore_Wl2_Window

[Version] 0.3.32
[Profile] Common
[Issue Type] New feature

Change-Id: I84d21fada327af7851a9be911ff82853ad3611a2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoUpdate code for line coverage test 29/233629/3 accepted/tizen/unified/20200602.133304 submit/tizen/20200529.080030
Jeongmo Yang [Mon, 18 May 2020 02:36:37 +0000 (11:36 +0900)]
Update code for line coverage test

- Replace error return code by macro
- Remove unused code
- Exclude device related error code

[Version] 0.3.31
[Profile] Common
[Issue Type] Update

Change-Id: I3c62c168daf712ebde3bed00e252ecb059b9016c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
3 years agoSet vconf key to check state of camera 49/233249/1
Jeongmo Yang [Wed, 13 May 2020 07:53:31 +0000 (16:53 +0900)]
Set vconf key to check state of camera

- libfeedback uses vconf key to check camera state,
  but it was not set.

[Version] 0.3.30
[Profile] Common
[Issue Type] Update

Change-Id: I16983dcc5c34177978d103656364ce4560528736
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoAdd feature for line coverage measurement 93/231993/1
Jeongmo Yang [Mon, 27 Apr 2020 07:50:48 +0000 (16:50 +0900)]
Add feature for line coverage measurement

[Version] 0.3.29-1
[Profile] Common
[Issue Type] Line coverage

Change-Id: Idb468c54f44e204e770dfab1b146e0f6e6469e63
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoRemove dispatcher initialization command function 70/228170/1
Jeongmo Yang [Thu, 19 Mar 2020 09:24:34 +0000 (18:24 +0900)]
Remove dispatcher initialization command function

- The plugin preload function can be performed by muse-server itself with mused.conf file

[Version] 0.3.29
[Profile] Common
[Issue Type] Clean up

Change-Id: I99a0015bcabbbc8b5b18d176608d80941ba2accb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoSupport MJPEG format and update camera_preview_data_s 07/224207/1 accepted/tizen/unified/20200212.125807 submit/tizen/20200211.075339
Jeongmo Yang [Fri, 7 Feb 2020 05:21:50 +0000 (14:21 +0900)]
Support MJPEG format and update camera_preview_data_s

[Version] 0.3.28
[Profile] Common
[Issue Type] Update

Change-Id: Ia2da39ca9e5e775085067a195c374b5511b877ba
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoGet client pid from socket credential for security 50/219650/1 accepted/tizen/unified/20191213.042443 submit/tizen/20191212.093208
Jeongmo Yang [Mon, 9 Dec 2019 05:04:52 +0000 (14:04 +0900)]
Get client pid from socket credential for security

[Version] 0.3.27
[Profile] Common
[Issue Type] Security

Change-Id: I7da5cc08d3fb135759ffbc5f43270cf2918ab7c9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoModify condition to wait returned buffer in preview cb 03/219303/4
Jeongmo Yang [Wed, 4 Dec 2019 06:53:24 +0000 (15:53 +0900)]
Modify condition to wait returned buffer in preview cb

- No need to wait when non-zero copy buffer is used.
- Need to wait when user callback is set.

[Version] 0.3.26
[Profile] Common
[Issue Type] Update

Change-Id: If1b2c9aa5b903ddc31875bfb4cb9571fc1b70cf2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoChange dispatcher interface for display setting 18/217318/3 accepted/tizen/unified/20191112.125145 submit/tizen/20191112.051613
Jeongmo Yang [Fri, 8 Nov 2019 09:40:45 +0000 (18:40 +0900)]
Change dispatcher interface for display setting

[Version] 0.3.25
[Profile] Common
[Issue Type] Update

Change-Id: Id0110f89854c09ea03fb8916470abbbefa49d4d3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoFix bug - The minus value could not be sent for setting pan/tilt 03/207803/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.021939 accepted/tizen/5.5/unified/mobile/hotfix/20201027.085922 accepted/tizen/unified/20190614.051552 submit/tizen/20190613.080726 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
Jeongmo Yang [Thu, 13 Jun 2019 01:31:00 +0000 (10:31 +0900)]
Fix bug - The minus value could not be sent for setting pan/tilt

[Version] 0.3.24
[Profile] Common
[Issue Type] Bug fix

Change-Id: Ib71a608cbf56c760618ed7eb24f44ada66dcdb7f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoSupport user buffer fd 23/200223/4 accepted/tizen/unified/20190415.132547 submit/tizen/20190412.070842
Jeongmo Yang [Wed, 20 Feb 2019 08:37:12 +0000 (17:37 +0900)]
Support user buffer fd

[Version] 0.3.23
[Profile] Common
[Issue Type] Update

Change-Id: I0ce2cd72dd353d99f5bfea682be592c967cddf63
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoReplace tbm_key by tbm_fd for buffer protection 25/199225/8 accepted/tizen/unified/20190221.084204 submit/tizen/20190219.074619 submit/tizen/20190220.092629
Jeongmo Yang [Thu, 7 Feb 2019 10:32:52 +0000 (19:32 +0900)]
Replace tbm_key by tbm_fd for buffer protection

- Any other process can access buffer if it knows its tbm_key,
  but, there is no way to access if it's replaced by tbm_fd.

[Version] 0.3.22
[Profile] Common
[Issue Type] Update
[Dependency module] mmsvc-recorder, capi-media-camera

Change-Id: I00cade818977f6a65836eb9a8b8c4064cfddc5c0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoAdd unit test 38/193838/6 accepted/tizen/unified/20181130.064927 submit/tizen/20181129.024814
Jeongmo Yang [Tue, 27 Nov 2018 03:30:14 +0000 (12:30 +0900)]
Add unit test

- Precondition to run gtests-*
 : The executable label should be changed to "User" after install
 : The user should be "owner"

[Version] 0.3.21
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

Change-Id: Iaca9b1511552406ccd4e3b1100ec9a400f88ebba
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoUpdate code for RGB data handling in preview callback 01/188801/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.015057 accepted/tizen/unified/20180914.073159 submit/tizen/20180913.075210 submit/tizen_5.0/20181101.000003
Jeongmo Yang [Mon, 10 Sep 2018 10:33:51 +0000 (19:33 +0900)]
Update code for RGB data handling in preview callback

[Version] 0.3.19
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180910.1]

Change-Id: I298c2c20ffa6e7c8224012f4adc03f978bbc5439
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoSupport new format - INVZ for depth data 27/184227/8 accepted/tizen/unified/20180802.134826 submit/tizen/20180727.033411
Jeongmo Yang [Mon, 16 Jul 2018 11:11:22 +0000 (20:11 +0900)]
Support new format - INVZ for depth data

[Version] 0.3.18
[Profile] Common
[Issue Type] Update
[Dependency module] libmm-common, libmm-camcorder

Change-Id: I80ba0ed7c363f7b16629ecb40b0e4db98f302089
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
5 years agoRemove unused code related with sound policy 16/180716/1 accepted/tizen/unified/20180611.015401 submit/tizen/20180607.021137
Jeongmo Yang [Fri, 1 Jun 2018 09:27:18 +0000 (18:27 +0900)]
Remove unused code related with sound policy

[Version] 0.3.17
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

Change-Id: I98339ab732d3aeb5bfea8b27078fc47bdf99dc34
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoFix coverity issue - Improper use of negative value 06/174506/1 accepted/tizen/unified/20180405.064335 submit/tizen/20180404.024456
Jeongmo Yang [Mon, 2 Apr 2018 11:08:26 +0000 (20:08 +0900)]
Fix coverity issue - Improper use of negative value

[Version] 0.3.16
[Profile] Common
[Issue Type] Coverity
[Dependency module] N/A

Change-Id: I74fd52d369c73d1020c1496b96aec60d7d627dc6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoBug fix for invalid camera device check 70/172970/1 accepted/tizen/unified/20180320.065821 submit/tizen/20180320.010111
Jeongmo Yang [Mon, 19 Mar 2018 06:32:05 +0000 (15:32 +0900)]
Bug fix for invalid camera device check

[Version] 0.3.15
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I8d1c62a983a47643edd9c2282678a791fbc80b50
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoRemove codes for sesison backward compatibility 45/171745/1 submit/tizen/20180309.032153 submit/tizen/20180312.060825
Sangchul Lee [Wed, 7 Mar 2018 04:45:42 +0000 (13:45 +0900)]
Remove codes for sesison backward compatibility

use MMCAM_CLIENT_PID attribute instead of MMCAM_PID_FOR_SOUND_FOCUS.

[Version] 0.3.14
[Profile] Common
[Issue Type] Clean-up
[Dependency module] N/A

Change-Id: I4655fc2d3ca92e1bbef249cd5184cdc9a7b259ef
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoRemove unnecessary package dependency and "#include" 48/166148/4 accepted/tizen/unified/20180109.172828 submit/tizen/20180109.043419
Jeongmo Yang [Mon, 8 Jan 2018 07:49:27 +0000 (16:49 +0900)]
Remove unnecessary package dependency and "#include"

- package list : Evas, Ecore, Elementary, Ecore-wayland, vconf

[Version] 0.3.13
[Profile] Common
[Issue Type] Optimization
[Dependency module] N/A

Change-Id: Ic4326e053dab0ea93e8d5be2cfdde5c10cf339a5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoBug fix - pointer should be used for get attribute function 56/165256/1 accepted/tizen/unified/20171228.065008 submit/tizen/20171227.095031
Jeongmo Yang [Wed, 27 Dec 2017 09:24:41 +0000 (18:24 +0900)]
Bug fix - pointer should be used for get attribute function

[Version] 0.3.12
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20171227.2]

Change-Id: Ia0e9b2408ff450cc653c6bbaab3fc10e230f2a83
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoFix crash in case of calling some functions which has a bool type parameter 48/165248/3
Jeongmo Yang [Wed, 27 Dec 2017 08:30:48 +0000 (17:30 +0900)]
Fix crash in case of calling some functions which has a bool type parameter

[Version] 0.3.11
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I18b68484febe6573bd3b6a583f1a0ebd00b32c11
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoSupport new APIs for ACR-1130 57/164857/1
Jeongmo Yang [Thu, 21 Dec 2017 08:22:27 +0000 (17:22 +0900)]
Support new APIs for ACR-1130

[Version] 0.3.10
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20171219.4]

Change-Id: I1725869ddc87cf36222fc8de91e7bd97cc6d32a2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoCheck camera support feature in camera_get_device_state function 35/162235/2 accepted/tizen/unified/20171211.061300 submit/tizen/20171208.071653
Jeongmo Yang [Thu, 30 Nov 2017 00:46:16 +0000 (09:46 +0900)]
Check camera support feature in camera_get_device_state function

[Version] 0.3.9
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20171128.5]

Change-Id: I6ef5e8c47095c446904cb0e21a2b8fb7786877b0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoReplace wl_info by parent_id 74/160874/2 accepted/tizen/unified/20171130.063502 submit/tizen/20171129.023032 submit/tizen/20171130.010258
Jeongmo Yang [Mon, 20 Nov 2017 09:42:12 +0000 (18:42 +0900)]
Replace wl_info by parent_id

[Version] 0.3.8
[Profile] Common
[Issue Type] Update
[Dependency module] capi-media-camera, libmm-camcorder
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20171122.1]

Change-Id: I1183ccd4e1f9f9dcd548f31fde715acc218e0c00
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoFix deadlock in camera_dispatcher_unset_preview_cb 39/159139/1 accepted/tizen/unified/20171108.161107 submit/tizen/20171108.005543
Jeongmo Yang [Tue, 7 Nov 2017 06:45:21 +0000 (15:45 +0900)]
Fix deadlock in camera_dispatcher_unset_preview_cb

The mutex lock is used in camera_dispatcher_unset_preview_cb
and same one is used in preview_callback function.
When preview buffer is come, preview callback function locks mutex
and wait for returned buffer.
But at that time, deadlock could be occurred if camera_dispatcher_unset_preview_cb is also called.
Because muse camera's socket handing thread is only one
and camera_dispatcher_unset_preview_cb tries to lock mutex while preempting handling thread,
so return buffer message could not be handled.

This patch makes return buffer message could be handled while some APIs are calling.

[Version] 0.3.7
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-4.0-unified_20171106.1]

Change-Id: Iacb6c5125db0267795dd30c74555f69cc6ac3c89
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoFix KONA issue - Invalid log parameter 38/155138/3 accepted/tizen/unified/20171013.192844 submit/tizen/20171012.091106
Haesu Gwon [Thu, 12 Oct 2017 06:48:18 +0000 (15:48 +0900)]
Fix KONA issue - Invalid log parameter

[Version] 0.3.6
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

Change-Id: Icc029f50e129629b814b794a7798f5d32edc6a5b
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
6 years agoFix coverity issue 21/152821/1 accepted/tizen/unified/20171010.063619 submit/tizen/20170928.044334
Jeongmo Yang [Wed, 27 Sep 2017 07:18:40 +0000 (16:18 +0900)]
Fix coverity issue

- Improper use of negative value

[Version] 0.3.5
[Profile] Common
[Issue Type]
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170926.2]

Change-Id: I23ec3d9ee2c4fe7e2112a626b5b2fa7b6b450525
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoUpdate muse-camera by the splited muse library 92/142792/4 accepted/tizen/4.0/unified/20170829.015932 accepted/tizen/unified/20170822.112937 submit/tizen/20170821.070131 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
YoungHun Kim [Mon, 7 Aug 2017 08:31:13 +0000 (17:31 +0900)]
Update muse-camera by the splited muse library

Change-Id: Ic84f5055a7284a1d3f11b47192986a6711cf7245

6 years agoFix Svace issues - INVARIANT_RESULT.OP_ZERO, SIZEOF_POINTER_TYPE 74/141574/1 accepted/tizen/unified/20170810.171613 submit/tizen/20170809.053234
Jeongmo Yang [Tue, 1 Aug 2017 05:05:35 +0000 (14:05 +0900)]
Fix Svace issues - INVARIANT_RESULT.OP_ZERO, SIZEOF_POINTER_TYPE

[Version] 0.3.3
[Profile] Common
[Issue Type] Svace
[Dependency module] N/A

Change-Id: I85365deeb093db0e562d7af983bd21e684c0e386
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoAdd new legacy APIs and dispatcher functions for new APIs 36/133236/1 accepted/tizen/4.0/unified/20170816.013228 accepted/tizen/4.0/unified/20170816.015757 accepted/tizen/unified/20170630.083112 submit/tizen/20170614.052326 submit/tizen/20170619.053621 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Jeongmo Yang [Fri, 9 Jun 2017 09:30:25 +0000 (18:30 +0900)]
Add new legacy APIs and dispatcher functions for new APIs

The user has no way to know when the interrupt is started.
This commit provides the interface for it.

[Version] 0.3.2
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170608.1]

Change-Id: I2158934cee9781cbb6ffc4b592fb7341ce1508a2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoFix stack-buffer-overflow error 07/131607/2 accepted/tizen/unified/20170612.073912 submit/tizen/20170612.030116
Jeongmo Yang [Tue, 30 May 2017 07:11:06 +0000 (16:11 +0900)]
Fix stack-buffer-overflow error

[Version] 0.3.1
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170524.4]

Change-Id: I25fa5d47e519dfbf4983852630ee1356971d7f95
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoRemove so versioning and symlink files 87/131587/2
Jeongmo Yang [Tue, 30 May 2017 06:12:56 +0000 (15:12 +0900)]
Remove so versioning and symlink files

libmuse-camera.so is used by muse server with dlopen in target,
so it should be placed on target.
Because of it, we removed so versioning and symlink files.

[Version] 0.3.0-2
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170524.4]

Change-Id: Ied194accdcbcbc14725847186c3dec96f124aa73
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoExclude *.so files from binary package 44/131144/1
Jeongmo Yang [Thu, 25 May 2017 12:42:05 +0000 (21:42 +0900)]
Exclude *.so files from binary package

[Version] 0.3.0-1
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

Change-Id: Ie8d03343077dcb2dd03dbcf6275f003ea6b57004
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 years agoMove privilege check code from camera_create to camera_start_preview 48/128548/1 accepted/tizen/unified/20170515.074601 submit/tizen/20170515.041223 tizen_4.0.m1_release
Jeongmo Yang [Wed, 10 May 2017 10:00:43 +0000 (19:00 +0900)]
Move privilege check code from camera_create to camera_start_preview

[Version] 0.3.0
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170502.4]

Change-Id: I29fe63336af66d198319758ae803b0f144375cf3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoBug fix for foreach supported callback 24/125824/1 accepted/tizen/unified/20170419.165021 submit/tizen/20170419.094330
Jeongmo Yang [Wed, 19 Apr 2017 04:58:21 +0000 (13:58 +0900)]
Bug fix for foreach supported callback

The foreach supported callback stopped because of void return.
So, add proper return value for them to call remained callback.

[Version] 0.2.77
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=20170412_223034]

Change-Id: I8750c247744e886160d2290e59187df4249683bb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoCheck camera feature with system info 12/123012/1 accepted/tizen/unified/20170410.160216 submit/tizen/20170410.072959
Jeongmo Yang [Tue, 4 Apr 2017 07:12:40 +0000 (16:12 +0900)]
Check camera feature with system info

[Version] 0.2.76
[Profile] Common
[Issue Type] Update
[Dependency module] mmsvc-core

Change-Id: I23fd5180d0fd4c86c638b61ae2e3434734a53d1d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoUpdate spec file for license macro 05/120305/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.171835 accepted/tizen/ivi/20170329.221925 accepted/tizen/mobile/20170329.221758 accepted/tizen/tv/20170329.221853 accepted/tizen/unified/20170329.221942 accepted/tizen/wearable/20170329.221909 submit/tizen/20170328.103759
Jeongmo Yang [Wed, 22 Mar 2017 07:22:49 +0000 (16:22 +0900)]
Update spec file for license macro

[Version] 0.2.75-1
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

Change-Id: Ia287bdfc9c6a3ff8e4ebee1c0cef42e5f885f189
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd new command dispatcher(current NULL) and modify return value for dispatcher 08/119308/1
Jeongmo Yang [Thu, 16 Mar 2017 07:55:25 +0000 (16:55 +0900)]
Add new command dispatcher(current NULL) and modify return value for dispatcher

[Version] 0.2.75
[Profile] Common
[Issue Type] Update

Change-Id: I7b89f36829dec90b4a5bb3ea995996e55022495d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoReturn CAMERA_STATE_PREVIEW for camera_get_state while stopping preview 25/119225/1
Jeongmo Yang [Wed, 15 Mar 2017 23:28:10 +0000 (08:28 +0900)]
Return CAMERA_STATE_PREVIEW for camera_get_state while stopping preview

[Version] 0.2.74
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170315.2]

Change-Id: I8af74825136bd89faf03290650e996eff34e2cba
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoUpdate shutdown cmd for remained buffer release 14/117614/3 accepted/tizen/common/20170309.174911 accepted/tizen/ivi/20170308.120224 accepted/tizen/mobile/20170308.120144 accepted/tizen/tv/20170308.120202 accepted/tizen/unified/20170310.080652 accepted/tizen/wearable/20170308.120214 submit/tizen/20170307.122057 submit/tizen_unified/20170310.011402
Jeongmo Yang [Mon, 27 Feb 2017 06:00:16 +0000 (15:00 +0900)]
Update shutdown cmd for remained buffer release

[Version] 0.2.73
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A

Change-Id: I86c6bcac5c26e43818fc4f544129cc196aa69204
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd thread exit code for shutdown case. 13/117613/2
Haesu Gwon [Fri, 24 Feb 2017 05:57:41 +0000 (14:57 +0900)]
Add thread exit code for shutdown case.

In shutdown case, camera_task_thread is not destroyed properly.
So signal missing can be caused by this unhandled thread.

Change-Id: Ia45d7b0f5626851a61bd8ed9022b5f43c1bb2eb4
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
7 years agoIgnore MM_ERROR_OUT_OF_STORAGE, MM_ERROR_FILE_WRITE 12/117612/2
Jeongmo Yang [Thu, 16 Feb 2017 02:01:35 +0000 (11:01 +0900)]
Ignore MM_ERROR_OUT_OF_STORAGE, MM_ERROR_FILE_WRITE

MM_ERROR_OUT_OF_STORAGE and MM_ERROR_FILE_WRITE are only occurred while recording,
but they're passed as a CAMERA_ERROR_INVALID_OPERATION in camera API.
It's just invalid operation, so updated to ignore them.

[Version] 0.2.71
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20170215.1]

Change-Id: I72eaaf443c46e696cd266b9fce83494a4d809cab
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd defensive code for signal missing when destroy handle 90/113390/1
Jeongmo Yang [Tue, 7 Feb 2017 06:45:22 +0000 (15:45 +0900)]
Add defensive code for signal missing when destroy handle

It seems that signal to quit task thread is missed when destroy handle,
so, call g_cond_wait_until instead of g_cond_wait after stop preview is called,
then, task thread can be quit although it does not receive signal.

[Version] 0.2.70
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170206.3]

Change-Id: I9338a6bd779d9f19eae027f5a75f72f3b1498cba
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoUpdate code for count 0 of face detection 47/112847/1
Jeongmo Yang [Thu, 2 Feb 2017 06:33:41 +0000 (15:33 +0900)]
Update code for count 0 of face detection

[Version] 0.2.69
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170131.2]

Change-Id: I6adb7b8f8a7dd7f19f4830d786ad803dfd76b99e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAvoid duplicated call of legacy_camera_create/destroy 45/112845/2
Jeongmo Yang [Wed, 1 Feb 2017 09:43:32 +0000 (18:43 +0900)]
Avoid duplicated call of legacy_camera_create/destroy

When user calls camera_get_device_state or camera_get_flash_state,
legacy_camera_create and legacy_camera_destroy are always called internally.
But, it's enough to call only once after muse-server starts, so update the code to avoid unnecessary call.

[Version] 0.2.68
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170131.2]

Change-Id: I93685e0bef44b792c5c899cd0d0009012e7290cd
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoWait for recorder handle release when shutdown 14/109514/1
Jeongmo Yang [Tue, 10 Jan 2017 08:39:48 +0000 (17:39 +0900)]
Wait for recorder handle release when shutdown

[Version] 0.2.67
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170104.1]

Change-Id: Ic36239c60fd1c84c1c2cd785d3d4c82f9020c119
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd resource conflict error in error convert function 21/108921/1
Jeongmo Yang [Fri, 6 Jan 2017 07:51:21 +0000 (16:51 +0900)]
Add resource conflict error in error convert function

[Version] 0.2.66
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20170104.1]

Change-Id: Ibdb05531e23848339de000466323b1b132d0a967
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd tbm_bo_unmap for face detected data 21/108521/1
Jeongmo Yang [Thu, 5 Jan 2017 02:23:14 +0000 (11:23 +0900)]
Add tbm_bo_unmap for face detected data

The client can not map the bo because it's not unmapped on server side

[Version] 0.2.65
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161230.2]

Change-Id: I41df72f849fe1dca8d6e8ba3175dc37e5dcf95dc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoRemove g_thread_unref after g_thread_join 49/108149/1
Jeongmo Yang [Tue, 3 Jan 2017 06:44:41 +0000 (15:44 +0900)]
Remove g_thread_unref after g_thread_join

g_thread_unref is also called in g_thread_join,
so g_thread_unref after g_thread_join is not needed
and it can cause memory corruption.

[Version] 0.2.64
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161230.2]

Change-Id: I8b1737934171f7bbdfc4735b71b06eef23fcf474
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoBug fix - invalid previous state on interrupted callback 92/105992/1 accepted/tizen/common/20161220.191009 accepted/tizen/ivi/20161220.223817 accepted/tizen/mobile/20161220.223647 accepted/tizen/tv/20161220.223721 accepted/tizen/unified/20170309.033112 accepted/tizen/wearable/20161220.223750 submit/tizen/20161220.104958 submit/tizen_unified/20170308.100408
Jeongmo Yang [Tue, 20 Dec 2016 01:58:51 +0000 (10:58 +0900)]
Bug fix - invalid previous state on interrupted callback

[Version] 0.2.63
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161215.3]

Change-Id: I4193a7e52c3f0f2b1b4e58610dd5e3990f9d340a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoBug fix - After change device, preview is not displayed in case of EVAS display type. 01/105101/6
Haesu Gwon [Thu, 15 Dec 2016 11:07:39 +0000 (20:07 +0900)]
Bug fix - After change device, preview is not displayed in case of EVAS display type.

[Version] 0.2.62
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=devel-dotnet_20161212.4]

Change-Id: I3c450b4d59e388cbfd9f615d0863768b216ac679
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
7 years agoBug fix - state changed callback is not called after camera_change_device API is... 40/103340/1 accepted/tizen/common/20161214.160559 accepted/tizen/ivi/20161214.015317 accepted/tizen/mobile/20161214.014910 accepted/tizen/tv/20161214.015113 accepted/tizen/wearable/20161214.015130 submit/tizen/20161213.083228
Jeongmo Yang [Thu, 8 Dec 2016 06:03:57 +0000 (15:03 +0900)]
Bug fix - state changed callback is not called after camera_change_device API is called

[Version] 0.2.61
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161206.3]

Change-Id: I328dce8ec701a6efb376139af4b0e1022460ae8e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoFix Svace issue - UNREACHABLE_CODE 10/100510/1 accepted/tizen/common/20161129.173639 accepted/tizen/ivi/20161130.015442 accepted/tizen/mobile/20161130.015222 accepted/tizen/tv/20161130.015308 accepted/tizen/wearable/20161130.015353 submit/tizen/20161129.052917
Jeongmo Yang [Mon, 28 Nov 2016 09:42:55 +0000 (18:42 +0900)]
Fix Svace issue - UNREACHABLE_CODE

[Version] 0.2.60
[Profile] Common
[Issue Type] Svace
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161122.5]

Change-Id: I2360535428e835226da7fa5a5520ef1c41163003
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoFix bug - 1. start preview failure, 2. destroy timeout 18/98318/1 accepted/tizen/common/20161117.085414 accepted/tizen/ivi/20161117.084527 accepted/tizen/mobile/20161117.084437 accepted/tizen/tv/20161117.084449 accepted/tizen/wearable/20161117.084508 submit/tizen/20161117.065259
Jeongmo Yang [Thu, 17 Nov 2016 05:08:45 +0000 (14:08 +0900)]
Fix bug - 1. start preview failure, 2. destroy timeout

1. After change device, gdbus_connection is not set to new handle, so realize is failed
2. task thread run flag is not used for "while" statement condition, so did not quit the thread

[Version] 0.2.59
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161115.1]

Change-Id: I0e7747fabbb4628c4d95d5b18c784bf9a1846311
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoFix Svace issue - DEREFERENCE_AFTER_NULL 29/97629/2 accepted/tizen/common/20161115.200559 accepted/tizen/ivi/20161115.234301 accepted/tizen/mobile/20161115.234001 accepted/tizen/tv/20161115.234155 accepted/tizen/wearable/20161115.234226 submit/tizen/20161115.062308
Jeongmo Yang [Tue, 15 Nov 2016 01:23:04 +0000 (10:23 +0900)]
Fix Svace issue - DEREFERENCE_AFTER_NULL

[Version] 0.2.58
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161114.3]

Change-Id: Ic6c7379b669197e099a921c9caa8121af70a7506
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoComment unnecessary log 05/97405/1
Jeongmo Yang [Mon, 14 Nov 2016 05:52:32 +0000 (14:52 +0900)]
Comment unnecessary log

[Version] 0.2.57
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161111.1]

Change-Id: I80cce8b0d846fbba8a2a201af99d6b1879ad69db
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd task thread for some APIs related preview restart internally 39/96839/3
Jeongmo Yang [Thu, 10 Nov 2016 10:32:07 +0000 (19:32 +0900)]
Add task thread for some APIs related preview restart internally

The timeout could be occurred in camerasrc if app sets preview callback and call some APIs related preview restart internally,
because, for restarting preview, all camera buffers should be returned to camerasrc,
but, return buffer event can not be processed while calling some APIs which restarts preview internally.(deadlock)
so, added task thread and the APIs are processed in the task thread to process return buffer event immediately.

[Version] 0.2.56
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161110.1]

Change-Id: I6a55b0aa5f71f6595b75bce823f71c35b1a61287
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd new enums for get APIs and code optimization 11/95411/1 accepted/tizen/common/20161109.140310 accepted/tizen/ivi/20161109.002848 accepted/tizen/mobile/20161109.002602 accepted/tizen/tv/20161109.002718 accepted/tizen/wearable/20161109.002803 submit/tizen/20161108.054351
Jeongmo Yang [Thu, 3 Nov 2016 06:50:50 +0000 (15:50 +0900)]
Add new enums for get APIs and code optimization

1. The previous mechanism for get APIs is extracting get value from received message.
But, received message could be overwritten by next message, so get API could lost the value from server.
To resolve it, this commit adds new enums and client can store the values to each independent space.
2. Replace some macros by function.

[Version] 0.2.55
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161101.3]

Change-Id: I687b53b8cba6bb759feea5191320911409a8496b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago1. Add new function to set gdbus connection, 2. Bug fix for EXIF info 35/93635/4 accepted/tizen/3.0/ivi/20161028.134035 accepted/tizen/3.0/mobile/20161028.133143 accepted/tizen/3.0/tv/20161028.133311 accepted/tizen/3.0/wearable/20161028.133752 accepted/tizen/common/20161025.155109 accepted/tizen/common/20161027.073656 accepted/tizen/ivi/20161027.055026 accepted/tizen/mobile/20161027.054927 accepted/tizen/tv/20161027.055000 accepted/tizen/wearable/20161027.055016 submit/tizen/20161025.104308 submit/tizen/20161027.030209 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082423 submit/tizen_3.0_common/20161104.104000
Jeongmo Yang [Tue, 25 Oct 2016 06:06:40 +0000 (15:06 +0900)]
1. Add new function to set gdbus connection, 2. Bug fix for EXIF info

1. Sometimes, got crashed when get gdbus connection,
so do not get gdbus connection in camera module and get from outside(muse server)
2. EXIF info is missed, fixed it.

[Version] 0.2.54
[Profile] Common
[Issue Type] Update and bug fix
[Dependency module] libmm-camcorder, mmsvc-core
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161024.2]

Change-Id: I628804ad3b6b612b61f1550dc1f103f52b20cdd5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoFix Svace issue - DEREF_AFTER_NULL 24/92424/1 accepted/tizen/common/20161017.170206 accepted/tizen/ivi/20161017.080209 accepted/tizen/mobile/20161017.080123 accepted/tizen/tv/20161017.080139 accepted/tizen/wearable/20161017.080154 submit/tizen/20161017.025605
Jeongmo Yang [Mon, 17 Oct 2016 02:49:27 +0000 (11:49 +0900)]
Fix Svace issue - DEREF_AFTER_NULL

[Version] 0.2.53
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Dependency commit] N/A

Change-Id: I7158e17487b41a29e8431610f4f477e27a6c4b79
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoChange event class from THREAD_MAIN to THREAD_SUB for capture callback 04/91804/1 accepted/tizen/common/20161012.154128 accepted/tizen/ivi/20161012.065352 accepted/tizen/mobile/20161012.065232 accepted/tizen/tv/20161012.065303 accepted/tizen/wearable/20161012.065325 submit/tizen/20161012.010406
Jeongmo Yang [Tue, 11 Oct 2016 11:19:19 +0000 (20:19 +0900)]
Change event class from THREAD_MAIN to THREAD_SUB for capture callback

THREAD_MAIN event class is workaround code for TBT test.
It's rollbacked because this commit will make capture callback as syncronously,
then TBT capture issue could not be occurred.
(capture completed callback can be called although capture callback is not returned.)

[Version] 0.2.52
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Dependency commit] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161007.1]

Change-Id: I6430ccca7c8acf7a2f9b7333f9dc440a8de844ea
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoUpdate code for device state APIs 85/91585/1
Jeongmo Yang [Mon, 10 Oct 2016 09:13:18 +0000 (18:13 +0900)]
Update code for device state APIs

1. Add code to emit signal for device state change
2. Remove unused code

[Version] 0.2.51
[Profile] Common
[Issue Type] Update
[Dependency module] libmm-camcorder
[Dependency commit] 6012f7ec5032f940e8446a7aec9a9ee001ba05c6
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20161007.1]

Change-Id: I5f6f22d99abe564df1354c34555152ec98559668
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoChange calling thread from sub to main for capture callback 68/88968/1 accepted/tizen/3.0/ivi/20161011.055413 accepted/tizen/3.0/mobile/20161015.033621 accepted/tizen/3.0/tv/20161016.005432 accepted/tizen/3.0/wearable/20161015.083520 accepted/tizen/common/20160921.162255 accepted/tizen/ivi/20160922.042642 accepted/tizen/mobile/20160922.042422 accepted/tizen/tv/20160922.042514 accepted/tizen/wearable/20160922.042557 submit/tizen/20160921.041639 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004
Jeongmo Yang [Wed, 21 Sep 2016 08:44:28 +0000 (17:44 +0900)]
Change calling thread from sub to main for capture callback

[Version] 0.2.50
[Profile] Common
[Issue Type] Update

Change-Id: I3d3b05e03edb061b97040bd89f343ed3a668c599
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoAdd new functions to support new Native APIs 50/87550/2
Jeongmo Yang [Thu, 8 Sep 2016 12:39:30 +0000 (21:39 +0900)]
Add new functions to support new Native APIs

Camera device state related APIs will be added.
This commit supports them and some unused code is removed.

[Version] 0.2.49
[Profile] Common
[Issue Type] New function
[Dependency module] N/A
[Dependency commit] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=]

Change-Id: I28f2054a2f6f93639440a433a080190a2957220f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years agoFix Svace issue - "new_handle" is compared to NULL after dereferenced 21/87221/1 accepted/tizen/common/20160907.154724 accepted/tizen/ivi/20160908.044225 accepted/tizen/mobile/20160908.043806 accepted/tizen/tv/20160908.044000 accepted/tizen/wearable/20160908.044113 submit/tizen/20160907.074000
Jeongmo Yang [Wed, 7 Sep 2016 05:44:59 +0000 (14:44 +0900)]
Fix Svace issue - "new_handle" is compared to NULL after dereferenced

[Version] 0.2.48
[Profile] Common
[Issue Type] Svace
[Dependency module] N/A
[Dependency commit] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-mobile_20160906.1]

Change-Id: I88afa599f817715067f15a609529f43fe6063644
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.47] Remove unused macro 43/86043/1 accepted/tizen/common/20160831.162050 accepted/tizen/ivi/20160901.065256 accepted/tizen/mobile/20160901.065034 accepted/tizen/tv/20160901.065133 accepted/tizen/wearable/20160901.065209 submit/tizen/20160831.052250
Jeongmo Yang [Tue, 30 Aug 2016 08:26:24 +0000 (17:26 +0900)]
[Release version 0.2.47] Remove unused macro

Change-Id: I4f455ca816a48539d04fd0903b5da7cf0dc0f084
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.45] 1. Remove unused macro, 2. Update code for 2 parameter APIs 34/85134/1 accepted/tizen/common/20160824.154742 accepted/tizen/ivi/20160825.050411 accepted/tizen/mobile/20160825.050226 accepted/tizen/tv/20160825.050323 accepted/tizen/wearable/20160825.050346 submit/tizen/20160824.052737
Jeongmo Yang [Wed, 24 Aug 2016 02:10:55 +0000 (11:10 +0900)]
[Release version 0.2.45] 1. Remove unused macro, 2. Update code for 2 parameter APIs

Change-Id: Ibce3b4549bdec9ac670b56431a8bd0877bb23cf6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.45] Add module initialize function 43/83143/1 accepted/tizen/common/20160811.145650 accepted/tizen/ivi/20160812.010632 accepted/tizen/mobile/20160812.010654 accepted/tizen/tv/20160812.010610 accepted/tizen/wearable/20160812.010554 submit/tizen/20160810.075454 submit/tizen/20160811.023523
Jeongmo Yang [Tue, 9 Aug 2016 09:08:39 +0000 (18:08 +0900)]
[Release version 0.2.45] Add module initialize function

Change-Id: Ibc3be453c0ac8272554dd1ed702b0cd6b38d77e1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.44] Remove build warning 98/81698/1 accepted/tizen/common/20160805.130232 accepted/tizen/ivi/20160808.081211 accepted/tizen/mobile/20160808.080846 accepted/tizen/tv/20160808.081019 accepted/tizen/wearable/20160808.081113 submit/tizen/20160805.054353
Jeongmo Yang [Thu, 28 Jul 2016 02:40:58 +0000 (11:40 +0900)]
[Release version 0.2.44] Remove build warning

Change-Id: Ia36b4569dbd694d192364e74905a7a4bc8fc38f4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.43] Add new dispatcher for camera_change_device API 89/80789/2
Jeongmo Yang [Wed, 20 Jul 2016 07:51:54 +0000 (16:51 +0900)]
[Release version 0.2.43] Add new dispatcher for camera_change_device API

Change-Id: I2a34a9ed2a36c626f5aef3f46aa82bc43513cfca
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.42] Fix Tizen coding rule violation 32/80032/2
Haesu Gwon [Thu, 14 Jul 2016 07:11:57 +0000 (16:11 +0900)]
[Release version 0.2.42] Fix Tizen coding rule violation

Change-Id: Idb391dd904dea4e90b5e1259f747a323af28d4d7
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
7 years ago[Release version 0.2.41] 95/78895/3
Jeongmo Yang [Thu, 7 Jul 2016 08:38:50 +0000 (17:38 +0900)]
[Release version 0.2.41]

1. Add new dispatchers for new APIs
2. Remove unnecessary feature
3. Update code for capture completed callback in case of interrupt

Change-Id: I96874365aaedc31cc59dda588e9366c70c6826ab
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.40] Fix bug - capture_cb could be called after capture_completed... 12/75912/1 accepted/tizen/common/20160627.191458 accepted/tizen/common/20160629.222216 accepted/tizen/ivi/20160629.015911 accepted/tizen/mobile/20160629.015829 accepted/tizen/tv/20160629.015928 accepted/tizen/wearable/20160629.015957 submit/tizen/20160623.063229 submit/tizen/20160627.065544
Jeongmo Yang [Wed, 22 Jun 2016 06:24:46 +0000 (15:24 +0900)]
[Release version 0.2.40] Fix bug - capture_cb could be called after capture_completed_cb is called, capture_completed_cb could be called twice

Change-Id: I63376071672d25a5856617de3d6b5f01142a390a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.39] Avoid FALL_THROUGH checker of Svace 87/72887/1 accepted/tizen/common/20160609.145219 accepted/tizen/ivi/20160609.091740 accepted/tizen/mobile/20160609.092000 accepted/tizen/tv/20160609.091614 accepted/tizen/wearable/20160609.091716 submit/tizen/20160609.040222
Jeongmo Yang [Fri, 3 Jun 2016 01:51:47 +0000 (10:51 +0900)]
[Release version 0.2.39] Avoid FALL_THROUGH checker of Svace

Change-Id: I1fb85ae9df696af63d39120978aaf2ed09541b9f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
7 years ago[Release version 0.2.38] Modify length calculation of array msg 95/72295/2 accepted/tizen/common/20160603.150911 accepted/tizen/ivi/20160606.121112 accepted/tizen/mobile/20160606.120735 accepted/tizen/tv/20160606.120920 accepted/tizen/wearable/20160606.121039 submit/tizen/20160603.021103 submit/tizen/20160603.061849
Haesu Gwon [Tue, 31 May 2016 09:58:05 +0000 (18:58 +0900)]
[Release version 0.2.38] Modify length calculation of array msg

Change-Id: I1013ed6ceb6f5d9cebb8d3253261f04d1e52f019
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
7 years ago1. Modify length calculation of array msg 2.Fix error check bug 25/71825/3 accepted/tizen/common/20160527.153736 accepted/tizen/ivi/20160528.111049 accepted/tizen/mobile/20160528.111024 accepted/tizen/tv/20160528.111046 accepted/tizen/wearable/20160528.111034 submit/tizen/20160527.085323
Haesu Gwon [Fri, 27 May 2016 08:15:41 +0000 (17:15 +0900)]
1. Modify length calculation of array msg  2.Fix error check bug

Change-Id: I2e36ca60ba1b9b6c2c9d9216d6a20baa3641864b
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
7 years ago[Release version 0.2.36] 1. Add CAMERA_DISPLAY_MODE_ORIGIN_OR_LETTER_BOX type, 2... 45/69045/1 accepted/tizen/common/20160513.123215 accepted/tizen/ivi/20160513.004143 accepted/tizen/mobile/20160513.004020 accepted/tizen/tv/20160513.004121 accepted/tizen/wearable/20160513.004048 submit/tizen/20160512.051443
Haesu Gwon [Wed, 11 May 2016 08:27:08 +0000 (17:27 +0900)]
[Release version 0.2.36] 1. Add CAMERA_DISPLAY_MODE_ORIGIN_OR_LETTER_BOX type, 2. Modify length calculation of array msg

Change-Id: Ib84ea481ee15f04742bec2bd16cff77b28568116
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
8 years ago[Release version 0.2.35] 1. Support non-zero copy format rendering with EVAS surface... 36/68336/2 accepted/tizen/common/20160505.140902 accepted/tizen/ivi/20160506.035825 accepted/tizen/mobile/20160506.035303 accepted/tizen/tv/20160506.035603 accepted/tizen/wearable/20160506.035712 submit/tizen/20160504.093918
Jeongmo Yang [Tue, 3 May 2016 11:59:43 +0000 (20:59 +0900)]
[Release version 0.2.35] 1. Support non-zero copy format rendering with EVAS surface, 2. Remove build warnings, 3. Fix API dispatcher bug

Change-Id: I5324f75a731f0448ccaedd9b3f06b7240f98b9ca
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
8 years ago[Release version 0.2.34] Add New APIs - Pan, Tilt, Display ROI Area 75/66375/5
Haesu Gwon [Mon, 18 Apr 2016 12:12:55 +0000 (21:12 +0900)]
[Release version 0.2.34] Add New APIs - Pan, Tilt, Display ROI Area

Change-Id: Ia6c87cad55c12fe9bd2118fd3c24710bff7260e4
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
8 years ago[Release version 0.2.34] Update code for exception handling 92/66992/1 accepted/tizen/common/20160428.144626 accepted/tizen/ivi/20160428.081818 accepted/tizen/mobile/20160428.081900 accepted/tizen/tv/20160428.081922 accepted/tizen/wearable/20160428.081849 submit/tizen/20160428.025307
Jeongmo Yang [Fri, 22 Apr 2016 10:31:19 +0000 (19:31 +0900)]
[Release version 0.2.34] Update code for exception handling

Change-Id: I52f83c81e1e1686eacfacb0844820dc86b544e6d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>