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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
YoungHun Kim [Mon, 7 Aug 2017 08:31:13 +0000 (17:31 +0900)]
Update muse-camera by the splited muse library
Change-Id: Ic84f5055a7284a1d3f11b47192986a6711cf7245
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
haesu.gwon [Tue, 29 Mar 2016 04:23:24 +0000 (13:23 +0900)]
[Release version 0.2.33] Change display routine for evas type
Change-Id: I6d0e819fa6c402f41ee394dd6f40d340ca77bb87
Signed-off-by: haesu.gwon <haesu.gwon@samsung.com>
YoungHun Kim [Tue, 12 Apr 2016 04:32:26 +0000 (13:32 +0900)]
Add initialize event because of mmsvc-core patch
Change-Id: I047201b1806b61b90eb46b72c1f4f4c5b6e64c2c
Jeongmo Yang [Wed, 23 Mar 2016 08:46:12 +0000 (17:46 +0900)]
[Release version 0.2.32] Set NONE display type if display type is not OVERLAY
Change-Id: I2563787874e5597d038e0d6c77517c71091f87f5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 17 Mar 2016 08:36:22 +0000 (17:36 +0900)]
[Release version 0.2.31] Fix ITC issue - camera_get_flash_state
Change-Id: Ia89e0d977fe9fe38c09c53c56b44e665fcc4105c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 4 Feb 2016 06:54:26 +0000 (15:54 +0900)]
[Release version 0.2.30] Apply changed structure for waylandinfo
Change-Id: I08e8b799da05751a8f8249777d03503760f49415
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 1 Feb 2016 09:36:11 +0000 (18:36 +0900)]
[Release version 0.2.29] Update to remove unnecessary dependency
Change-Id: I354ec2ba230eaf835c9c67b022a8a9200df7efbf
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 29 Jan 2016 06:48:26 +0000 (15:48 +0900)]
[Release version 0.2.28] Change display routine for Overlay type
Change-Id: Ie8884388b8a9ea1f0fb3e47004bc2be2ef6bd42a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Haesu Gwon [Wed, 6 Jan 2016 03:16:00 +0000 (12:16 +0900)]
[Release version 0.2.27] Add New APIs for encoded preview and get flash state
Change-Id: I2f2df3fd986f859f8973984b3b0e3e8b3345eb7d
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
Jeongmo Yang [Tue, 26 Jan 2016 05:25:56 +0000 (14:25 +0900)]
[Release version 0.2.26] Replace display enum
Change-Id: I646ac90771b0789dac344ddc4f00928cbe970c20
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 13 Jan 2016 08:29:05 +0000 (17:29 +0900)]
[Release version 0.2.25] Support shutdown command
Change-Id: Id814fee24dbffebfd24f96356f7c18db7f22aafd
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>