Jeongmo Yang [Wed, 26 Jan 2022 04:06:43 +0000 (13:06 +0900)]
Change installation path for gcov
[Version] 0.4.71-1
[Issue Type] Update
Change-Id: I1f4bb6778aad842686e7d495ce08bdb50574fa01
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 10 Jan 2022 02:40:15 +0000 (11:40 +0900)]
fix up! Remove thread for preview callback when stop preview
- The thread leak is occurred with below sequence and it causes deadlock after some time.
1. Process A calls camera_start_preview(). -> create thread for preview callback
2. Process B calls camera_start_preview().
3. Process A gets interrupted callback and the state of camera handle is changed to CAMERA_STATE_CREATED.
Then, process A's preview callback thread is remained, because it is released in camera_stop_preview(),
but, it's skipped by interrupt.
[Version] 0.4.71
[Issue Type] Bug fix
Change-Id: Ifaafb52ed3e549d3a6203754ec6fa90079893cb5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 5 Jan 2022 10:51:36 +0000 (19:51 +0900)]
Reduce length of thread name
- According to glib manual, some systems restrict the length of thread name to 16 bytes.
Previously, the thread name for camera API was not shown properly(checked by "ps -eTl"),
and it has been fixed by reducing length of thread name.
[Version] 0.4.70
[Issue Type] Update
Change-Id: Ic79ff1719afe1a145db793463139e240b2bf397c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 5 Jan 2022 06:44:42 +0000 (15:44 +0900)]
camera_test: Add missed image format
[Version] 0.4.69
[Issue Type] Test
Change-Id: I2cecfb3ebad289835db711a2ff3462e8e6f30d6a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 6 Dec 2021 12:41:15 +0000 (21:41 +0900)]
fix up! Remove thread for preview callback when stop preview
- The deadlock is occurred with below sequence.
1. camera_start_preview() -> create thread for preview callback
2. camera_start_capture()
3. got capture_completed_cb()
4. camera_start_preview() -> create new thread for preview callback and the old one is remained.
5. camera_stop_preview() -> send signal to remove thread for preview callback, but 1 thread is remained.
[Version] 0.4.68
[Issue Type] Bug fix
Change-Id: Id137ef203b1e0c85f597c05ae818ecb2a1b6c679
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 1 Dec 2021 10:21:10 +0000 (19:21 +0900)]
Remove thread for preview callback when stop preview
- Minor change
: Add sub function to release fds from server.
: Create thread for preview callback when start preview.
: Close fds when release remained messages.
[Version] 0.4.67
[Issue Type] Improvement
Change-Id: Ic52013a49839e05adaf91bc5132b9964e4d86cbd
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 30 Nov 2021 12:40:47 +0000 (21:40 +0900)]
Add remarks for camera_device_manager_initialize/deinitialize()
[Version] 0.4.66
[Issue Type] Doxygen
Change-Id: I881909ec6d37a6ddb5684b9ed62a0d610aa6f275
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 9 Nov 2021 10:53:44 +0000 (19:53 +0900)]
Provide the rotation of each preview frame
- A new internal API is added.
: camera_attr_get_preview_frame_rotation()
: It should be called in camera_preview_cb(),
otherwise, it will return CAMERA_ERROR_INVALID_OPERATION.
- A rotation method is set in media packet for preview frame.
It could be get with media_packet_get_rotate_method().
[Version] 0.4.65
[Issue Type] New feature
Change-Id: Ic728c4a9a6d285f6fb5ca570ee85bc4e53cfd859
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 8 Nov 2021 06:50:24 +0000 (15:50 +0900)]
Replace g_cond_signal() by g_cond_broadcast()
- It seems that signal could be missed with multi-thread API calls.
[Version] 0.4.64
[Issue Type] Enhancement
Change-Id: I319c12ab2b1451568aeb86e05642fc69b7952672
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 8 Sep 2021 12:56:13 +0000 (21:56 +0900)]
Add new internal APIs for extra preview GOP interval
[Version] 0.4.63
[Issue Type] New feature
Change-Id: I89999a855ae63f405fb5a6bd12b36b96b1c798a8
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 2 Sep 2021 06:23:00 +0000 (15:23 +0900)]
Add new internal APIs for extra preview bitrate
[Version] 0.4.62
[Issue Type] New feature
Change-Id: I1f7490b88b6d432c28b004bc452ead1489a545d2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 1 Jul 2021 02:42:52 +0000 (11:42 +0900)]
Add missed frame information for VP8 and VP9 formats
[Version] 0.4.61
[Issue Type] Bug fix
Change-Id: I87b1c5e3cc26b9bcdbf1035918b0a4d5544c41bc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 24 Jun 2021 05:33:55 +0000 (14:33 +0900)]
Remove internal APIs for device list changed callback
[Version] 0.4.60
[Issue Type] Remove
Change-Id: I4ddfda2d5ae3085df0f0b970b278859c4db6dcc7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 17 Jun 2021 11:16:20 +0000 (20:16 +0900)]
Add new internal APIs for device manager
- camera_device_manager_add_device_connection_changed_cb()
- camera_device_manager_remove_device_connection_changed_cb()
[Version] 0.4.59
[Issue Type] New feature
Change-Id: I54c99c25843c5a565521e033947b4d3ee4ffd3af
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 16 Jun 2021 12:54:28 +0000 (21:54 +0900)]
Add new internal APIs for extra preview stream format
[Version] 0.4.58
[Issue Type] New feature
Change-Id: I9c5297d86aa230500ab8a445e09f88c821a3bfa2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 7 Jun 2021 07:40:49 +0000 (16:40 +0900)]
[ACR-1634] Add new pixel format - VP8, VP9
[Version] 0.4.57
[Issue Type] New feature
Change-Id: I9b1ad416b37f0b4e8aa5f67db531d6cf4e051ac9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 13 May 2021 12:23:19 +0000 (21:23 +0900)]
New internal APIs for focus level
[Version] 0.4.56
[Issue Type] New feature
Change-Id: I3021b27507a8ecc515d124c8bc6f9ce1c0aaeab4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 19 Apr 2021 08:16:44 +0000 (17:16 +0900)]
Add new internal APIs for extra preview
[Version] 0.4.55
[Issue Type] New feature
Change-Id: I2c48a36eb958642b99bcb7ec18ce900399868c76
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 7 Apr 2021 12:05:40 +0000 (21:05 +0900)]
Support media bridge as source module
[Version] 0.4.54
[Issue Type] New feature
Change-Id: Ibdc78bc0812feb78dd74d4e55e2d3bb91d9a8d06
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 14 Apr 2021 04:05:06 +0000 (13:05 +0900)]
Fix invalid return value
- camera_unset_media_packet_preview_cb() returns CAMERA_ERROR_NONE
even though it's not supported in some targets.
[Version] 0.4.53
[Issue Type] Bug fix
Change-Id: Iea9a51010ba3152797a2e48bca412cf55f8ab4e1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 9 Apr 2021 08:24:52 +0000 (17:24 +0900)]
camera_test: Update preview callback function
[Version] 0.4.52
[Issue Type] Test
Change-Id: If9eaa6f22294e5382f565bd6a47cc22c460dd7a6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 6 Apr 2021 02:52:27 +0000 (11:52 +0900)]
Revise code for fd and tbm bo management
- Additional minor change
: Correct the condition to send message for preview callback return.
: Add log to trace fd and buffer.
: Add menu for writing preview data in preview callback in camera_test.
[Version] 0.4.51
[Issue Type] Revise
Change-Id: Ic04c7d77743331a6eb7ce2114fc436f15bfbc64b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 5 Apr 2021 06:57:40 +0000 (15:57 +0900)]
camera_test: Add menu for media packet preview callback
[Version] 0.4.50
[Issue Type] Test
Change-Id: Ie54f3a0a3c409de4bf4d764ae00e8508289e0010
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 1 Apr 2021 11:35:43 +0000 (20:35 +0900)]
Refactoring code related with media packet
- Replace deprecated APIs by new added APIs
- Remove duplicated and unncessary code
[Version] 0.4.49
[Issue Type] Refactoring
Change-Id: I4a229fe93803c52a11baeb44028f8a11562c54e7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 18 Mar 2021 05:06:15 +0000 (14:06 +0900)]
Fix SAM defect - GlobalVariable
- Remove global extern variable
- Use static for global varable
[Version] 0.4.48
[Issue Type] SAM Improvement
Change-Id: Id986a3c86f2d5a73ba888cb67396246168df3433
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 18 Mar 2021 02:06:07 +0000 (11:06 +0900)]
Apply Tizen coding rule for static function
[Version] 0.4.47
[Issue Type] Coding rule
Change-Id: I5465d47d231e5835fb36f2336d8c7732a27173df
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 5 Mar 2021 06:16:33 +0000 (15:16 +0900)]
Add missing dependency for pc file
[Version] 0.4.46-1
[Issue Type] Bug fix
Change-Id: If1220e7859b75b5326b1f99ef763f41bf538e25b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 3 Mar 2021 02:02:46 +0000 (11:02 +0900)]
Add comments for line coverage test
[Version] 0.4.46
[Issue Type] Line coverage
Change-Id: Ie56b0e564c7a7c7c053f3f2ade9c3a01d7646c6e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 3 Feb 2021 05:58:37 +0000 (14:58 +0900)]
Add new internal APIs for flash brightness
[Version] 0.4.45
[Issue Type] New feature
Change-Id: Ib0f5a19dfb8349caab7011c0732cf761ef1a17aa
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 22 Dec 2020 12:01:38 +0000 (21:01 +0900)]
Update camera test
- Add menu for device state and list
[Version] 0.4.44
[Issue Type] Test
Change-Id: I8f619f8001ac9dfacb63eb32816320b7324607aa
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 15 Dec 2020 07:48:07 +0000 (16:48 +0900)]
Add new internal APIs for device manager
[Version] 0.4.43
[Issue Type] New feature
Change-Id: I54e1429496fa325c5fde2315e848f30e267ebb38
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 16 Dec 2020 06:59:51 +0000 (15:59 +0900)]
Remove unnecessary HTML link for feature
Change-Id: I09a8a2cd294bdeab7015c22e69893c0265c22b99
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 4 Nov 2020 03:18:17 +0000 (12:18 +0900)]
Add new internal APIs
- int camera_create_network(camera_device_e device, camera_h *camera);
: API to create network camera handle
- int camera_get_device_list(camera_device_list_s *list);
: API to get device list
[Version] 0.4.42
[Issue Type] New feature
Change-Id: I4a9413a75100421b82b71a4e2fd4dfffea33beab
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 15 Oct 2020 10:55:53 +0000 (19:55 +0900)]
Set default log level
- Additional change
: Set log level from message
: Move camera_create_preview_frame() to camera_internal.c
[Version] 0.4.41
[Issue Type] Log feature
Change-Id: I3da863ab61ae3cf66ced7450e8c58eaeb0201c10
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 28 Sep 2020 11:19:24 +0000 (20:19 +0900)]
Revise log related code
[Version] 0.4.40
[Issue Type] Log
Change-Id: I70c336478b8ed9e72750a5b18c1047185f17ea01
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 2 Sep 2020 03:07:46 +0000 (12:07 +0900)]
Do not call unnecessary function
- Skip camera_attr_get_display_roi_area() if display mode is not CAMERA_DISPLAY_MODE_CUSTOM_ROI in _camera_set_display().
[Version] 0.4.39
[Issue Type] Optimization
Change-Id: I97ad53a69a54ea14ce286df4d99e785d56055661
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 14 Aug 2020 10:14:14 +0000 (19:14 +0900)]
Update header file for documentation
[Version] 0.4.38
[Issue Type] Update
Change-Id: Ifb3bf10adf9d4bdbf18721dccc9b09147d854cc2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 6 Aug 2020 07:56:12 +0000 (16:56 +0900)]
Add new internal APIs for camera frame
- In fact, they are exported for new recorder API.
[Version] 0.4.37
[Issue Type] New feature
Change-Id: Ia32edf33fd5cf95a3d011781609d6d4e000e3920
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 1 Jul 2020 02:06:50 +0000 (11:06 +0900)]
Get window geometry for OVERLAY_EXT type
- Previously, window geometry was not delivered to muse-server for OVERLAY_EXT type,
but, it's used in case of directvideosink, so it caused problem.
- This commit should be merge with below change.
https://review.tizen.org/gerrit/#/c/platform/core/multimedia/libmm-display/+/237486/
[Version] 0.4.36
[Profile] Common
[Issue Type] Update
Change-Id: Ic9a46c52f9d56118cd9ac5a0a674fcbaa664df45
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 23 Jun 2020 07:07:46 +0000 (16:07 +0900)]
Add new internal API for Ecore_Wl2_Window
- int camera_set_ecore_wl_display(camera_h camera, void *ecore_wl_window);
[Version] 0.4.35
[Profile] Common
[Issue Type] New feature
Change-Id: If3abec72b083952afb28d1fb2df09ac1509af1a6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 17 Jun 2020 05:40:52 +0000 (14:40 +0900)]
Fix build warnings
: -Wsign-compare
: -Wstringop-truncation
: -Wdeprecated-declarations
: -Wcast-function-type
[Version] 0.4.34
[Profile] Common
Change-Id: Ia0a211d69aef052b55208ba3f6fff05d5f0142ba
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 16 Jun 2020 09:58:37 +0000 (18:58 +0900)]
Code clean up
- Replace tab by space in description
[Version] 0.4.33
[Profile] Common
[Issue Type] Clean up
Change-Id: I2eb429f142c8f614713e96197e00f0c742264de4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Fri, 5 Jun 2020 01:39:12 +0000 (10:39 +0900)]
svace issue about uselessassignmentptrarg
Change-Id: Ib2900fa73f9322752d36f6fd50f446596f3447c5
Hyuntae Kim [Mon, 1 Jun 2020 06:10:14 +0000 (15:10 +0900)]
add MJPEG preview cb data type
Change-Id: Ie1a22a8cc22235eed14b3969e9fb4c52b1b5c43c
Jeongmo Yang [Mon, 16 Mar 2020 08:58:02 +0000 (17:58 +0900)]
Add defensive code for spurious wakeup
[Version] 0.4.30
[Profile] Common
[Issue Type] Update
Change-Id: I82b52f1d3ea0ab4c9b0ab6f3cbfc1934b21bf3c2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 10 Jan 2020 08:47:06 +0000 (17:47 +0900)]
[ACR-1487] Add new preview format and update camera_preview_data_s
- new preview format : CAMERA_PIXEL_FORMAT_MJPEG for motion JPEG preview is added
- update camera_preview_data_s : is_delta_frame in camera_preview_data_s is added
[Version] 0.4.29
[Profile] Common
[Issue Type] ACR
Change-Id: If449b78fdaa5092565ab848677fd4d175760d602
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 16 Dec 2019 06:39:41 +0000 (15:39 +0900)]
Return NOT_SUPPORTED in camera_set_display()
- Previously, camera API returned INVALID_OPERATION error
although MM_ERROR_NOT_SUPPORT_API is returned from mm_display_interface_set_display().
[Version] 0.4.28
[Profile] Common
[Issue Type] Update
Change-Id: Ib5302f1bba74e04fc99af4b693be0e37d9b501f2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 9 Dec 2019 05:07:20 +0000 (14:07 +0900)]
Do not send pid through socket message for security
[Version] 0.4.27
[Profile] Common
[Issue Type] Security
Change-Id: Ie674d3497ea81c13ab282a6f069da458d33e0ed5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 29 Nov 2019 06:30:33 +0000 (15:30 +0900)]
Update feature element reference link
Change-Id: Ib2cb318b2814af5bdacdb908134bbd6bdc767379
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 8 Nov 2019 09:42:53 +0000 (18:42 +0900)]
Change dispatcher interface for display setting
[Version] 0.4.26
[Profile] Common
[Issue Type] Update
Change-Id: Ib6a00c584f5b4438b334ae85ba71b59dbfa164db
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 23 Oct 2019 08:42:31 +0000 (17:42 +0900)]
Update header description
Change-Id: I8febdb67417c261f538cf5a9911fbfe2e61bda80
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Tue, 6 Aug 2019 00:45:03 +0000 (09:45 +0900)]
Doxygen Comment update about HDR
Change-Id: I2f8b438557732701571b22c1b583ebcc5921cac1
Jeongmo Yang [Tue, 2 Jul 2019 05:42:52 +0000 (14:42 +0900)]
Merge branch 'tizen_line_coverage' into tizen
Change-Id: Ic4e6564eeb754233f7b2c56bd7e7aa534bebe975
Jeongmo Yang [Tue, 2 Jul 2019 05:29:24 +0000 (14:29 +0900)]
Make a gcov package for measuring coverage easier
[Version] 0.4.25-1
[Issue Type] Update
Change-Id: I71ad9cd77f1ce1622013591406e8983a04d33cd9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Hyuntae Kim [Wed, 19 Jun 2019 00:42:22 +0000 (09:42 +0900)]
Bug fix - camera testsuite flip and rotate tc fail
[Version] 0.4.25
[Profile] Common
[Issue Type] Bug fix
Change-Id: I044adf9fff7bd891c3e8419a49b32973557d87ab
Jeongmo Yang [Thu, 13 Jun 2019 01:25:08 +0000 (10:25 +0900)]
Fix bug - The minus value could not be sent for setting pan/tilt
[Version] 0.4.25
[Profile] Common
[Issue Type] Bug fix
Change-Id: I88b14492347254a481df830b921cb0a406dbfdcb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 27 May 2019 05:13:49 +0000 (14:13 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: I80b1c212d45c248fb886c12f8b2cd545d4f3671f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 14 May 2019 02:36:55 +0000 (11:36 +0900)]
Skip to send SERVER_DISCONNECTED error message if handle is not created.
- The error message could not be delivered to application,
and it will cause crash when it's called in idle state.
[Version] 0.4.24
[Profile] Common
[Issue Type] Bug fix
Change-Id: Ib4681ca43c895e74742a19a57866e2080058f0bc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 20 Feb 2019 08:37:44 +0000 (17:37 +0900)]
Support user buffer fd
[Version] 0.4.23
[Profile] Common
[Issue Type] Update
Change-Id: Ie5b6f7c0853534741b7649770cd6c1c6a01b0dec
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 8 Apr 2019 05:33:41 +0000 (14:33 +0900)]
Update header file
- Remove some error by check-header script.
[Version] 0.4.22
[Profile] Common
[Issue Type] Update
Change-Id: Ia42c6264179bc4017f08b02a07ae7075d17ad8cc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 21 Feb 2019 03:03:24 +0000 (12:03 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: I8d0a4209e959e400e1112a9bbb07dc1ae6b81564
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 8 Feb 2019 05:17:14 +0000 (14:17 +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.4.21
[Profile] Common
[Issue Type] Update
[Dependency module] mmsvc-camera
Change-Id: I18c4560901ec097374854c94c262f6bad7730742
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
YoungHun Kim [Tue, 22 Jan 2019 07:21:39 +0000 (16:21 +0900)]
Get the module index using muse configure
[Version] 0.4.20
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I609f9e8fe7b8d243202aa12705151b880ad5d318
Jeongmo Yang [Thu, 3 Jan 2019 04:26:15 +0000 (13:26 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: I39c7b508215402c0fefc88f76f549aead61b28d9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 14 Dec 2018 01:20:34 +0000 (10:20 +0900)]
Fix invalid format usage - Phase#2
[Version] 0.4.19
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: I8b22c2d36d27d57d405cd45b413132266fa06375
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 7 Dec 2018 06:48:33 +0000 (15:48 +0900)]
Fix invalid format usage
[Version] 0.4.18
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: Id5ce4ad440817cc312009af9be42cf201824f632
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 25 Oct 2018 08:03:58 +0000 (17:03 +0900)]
Correct return type for idle callback function
[Version] 0.4.17
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: Ic8913d587d142b3c3a6ff994f7788189a0c7e02c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 25 Oct 2018 01:52:34 +0000 (10:52 +0900)]
Update idle event handling to fix crash in idle event callback
- The idle event could be called after handle is destroyed.
- ASan issue : TDAF-748
[Version] 0.4.16
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: I70466177edc1451669ef664f880fbb3f9f786f02
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 4 Oct 2018 02:07:04 +0000 (11:07 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: Ie1bdf0321e32a6cef46280583eb85a60266e3397
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 10 Sep 2018 10:46:54 +0000 (19:46 +0900)]
[ACR-1299] Update preview data structure for RGB format
[Version] 0.4.15
[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: Ie5c61826c6c063da09fb16c2ffb63f95f00334da
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 30 Aug 2018 05:14:21 +0000 (14:14 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: I31b991e2a89522fb95354e50602117cc06e61666
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 21 Aug 2018 08:55:18 +0000 (17:55 +0900)]
Add remarks for recommended setting value for some APIs
[Version] 0.4.14
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: Ic0eb3ddabb39364c0ad879238aa6823ad9978c19
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 20 Aug 2018 10:18:46 +0000 (19:18 +0900)]
Add parameter to check buffer length
[Version] 0.4.13
[Profile] Common
[Issue Type] Update
[Dependency module] mused(mmsvc-core)
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180818.1]
Change-Id: I56466ec4e4bb06e31914d162f8a0ec7793cc8819
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 6 Aug 2018 05:01:02 +0000 (14:01 +0900)]
[ACR-1279] Add new preview format and update preview data structure
[Version] 0.4.12
[Profile] Common
[Issue Type] ACR
[Dependency module] N/A
Change-Id: I6cd9cf7c32a3027daf58b05893894d0ba4119c7c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 6 Aug 2018 03:06:29 +0000 (12:06 +0900)]
Remove unused code
[Version] 0.4.11
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: Iafefcce625d07de5dea16aebede4b4044830f63c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 17 Jul 2018 08:22:45 +0000 (17:22 +0900)]
Update code for display
- Add send message function for 2 parameters
- Initialize display interface handle when camera handle is created
[Version] 0.4.10
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I2c8bb4a396d9a0e465d7f15f0fdd1bd2d53d85bc
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 26 Jul 2018 02:11:19 +0000 (11:11 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: I073f09876144c1404ce1e8f5906a9b1bc0bdf81e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 11 Jun 2018 07:28:14 +0000 (16:28 +0900)]
[ACR-1242] Remove deprecated enums related with sound policy
[Version] 0.4.9
[Profile] Common
[Issue Type] ACR
[Dependency module] N/A
Change-Id: I5945d61c15dcdd32418df6c8c806280e330a3f9a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 31 May 2018 06:53:32 +0000 (15:53 +0900)]
[ACR-1231] New restriction is added to camera_set_display
[Version] 0.4.8
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: Id511ffc082be9db2a525a0584c8c2abbaa18871b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 15 May 2018 06:14:59 +0000 (15:14 +0900)]
Move initialization of display handle
- from camera_create to camera_set_display for headless device
[Version] 0.4.7
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180514.1]
Change-Id: Ica1306707194dcc0edfcf294810361f8b12cd7e5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 8 May 2018 04:58:50 +0000 (13:58 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: Id86f07bcc3e319e4af95eb889a5695ffd8dfe2fe
Jeongmo Yang [Mon, 26 Mar 2018 09:38:54 +0000 (18:38 +0900)]
Modify the precondition about roi mode setting
[Version] 0.4.6
[Profile] Common
[Issue Type] ACR
[Dependency module] N/A
Change-Id: If512483aabecbaa56aa3f093f9a6630dc7ed45bb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 19 Mar 2018 06:53:25 +0000 (15:53 +0900)]
Remove unused code.
[Version] 0.4.5
[Profile] Common
[Issue Type] Optimization
[Dependency module] N/A
Change-Id: I2760e4e81c13dc18374805aedb9bc6b7fefc4710
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 7 Feb 2018 11:55:45 +0000 (20:55 +0900)]
Fix lock up issue when no response from muse-server
- "camera_create" is not returned if no msg is received from muse-server after requested,
so, we should close fd to receive msg from muse-server, then we can return error properly.
[Version] 0.4.4
[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_20180207.1]
Change-Id: Ifc73dfc61bf1ff66db8f41a36340042c55156557
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 5 Jan 2018 05:53:59 +0000 (14:53 +0900)]
Update camera_test
- Change command layout
- Remove duplicated menu print
- Fix command input bug
[Version] 0.4.3
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20180104.2]
Change-Id: Id88d4c4604bbeb574592a90ee67521285d3e96e5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 20 Dec 2017 08:26:27 +0000 (17:26 +0900)]
[ACR-1130] Add new enum and APIs
This commit can support maximum 10 cameras in a target,
and new attribute setting(hue level).
[Version] 0.4.2
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I675adab79b60d13a402ccceeea34c5df14b707ee
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 30 Nov 2017 06:27:35 +0000 (15:27 +0900)]
Add new package(capi-media-camera-tool) for camera_test
- Remove UI/APP framework dependencies from capi-media-camera package
[Version] 0.4.1
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I07aedd6ddb74d60c8c5579c00dc3b17228643c6b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 15 Nov 2017 08:43:07 +0000 (17:43 +0900)]
Remove dependency of display related packages.(evas, wayland)
[Version] 0.4.0
[Profile] Common
[Issue Type] Update
[Dependency module] mmsvc-camera, libmm-camcorder
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20171122.1]
Change-Id: Ie59b04c3625ca5aaa0152beed60e656578534aa1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 20 Nov 2017 05:26:19 +0000 (14:26 +0900)]
Fix Svace issue - TAINTED_INT.LOOP.MIGHT
[Version] 0.3.12
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
Change-Id: Iaaf3b01106b26674fb2d2ca69cbbfec331ff5b54
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 14 Nov 2017 04:43:06 +0000 (13:43 +0900)]
Remove remained idle callback when destroy handle
The crash could be occurred if idle callback is called after so is unloaded.
To avoid it, remove not-called idle event when destroy handle.
[Version] 0.3.11
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20171107.4]
Change-Id: Icecce81cc7e8217beffd112733bc68e6170f0240
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 8 Nov 2017 07:28:19 +0000 (16:28 +0900)]
Remove unused variable
[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_20171107.4]
Change-Id: I3e36ab748cee70482b12aee3563b77bfa38f8aa9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 1 Nov 2017 06:11:02 +0000 (15:11 +0900)]
Seperate user callback function for some events which has a large logic
[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_20171028.1]
Change-Id: I7b43a71ffbeddfc1192f857306caeecd6f7a819e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 17 Oct 2017 06:44:49 +0000 (15:44 +0900)]
Add mutex lock for event callback
In some case, event callback could be called after unset by timing.
So, this patch is added to prevent the case.
[Version] 0.3.8
[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_20171013.1]
Change-Id: I997badab7ff8947cc49c7976cd8b5ff3b9009425
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Haesu Gwon [Thu, 12 Oct 2017 06:45:24 +0000 (15:45 +0900)]
Fix KONA issue - Invalid log parameter
[Version] 0.3.7
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I3589488e10d576a8fb3524f67b300acb73d923ab
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>
Jeongmo Yang [Wed, 27 Sep 2017 05:20:20 +0000 (14:20 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: I86f3050a497bff08b3ec6998401877b2a7703484
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 4 Sep 2017 02:28:43 +0000 (11:28 +0900)]
Set video_has flag for display window
[Version] 0.3.6
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
Change-Id: I6c54297da6136c215cf4840e55872044020e0581
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 25 Aug 2017 10:05:32 +0000 (19:05 +0900)]
Replace server connection close API
In signal handler, fds will be closed in fd-id table,
but, closed fd by muse_core_connection_close is not removed from table.
It can cause unexpected behavior in signal handler,
so new API is added and it removes closed fd in fd-id table.
[Version] 0.3.5
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170825.1]
Change-Id: Ie3ad3203f6b5f5d6d01789f0c46be07ce8a9f220
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 17 Aug 2017 07:07:58 +0000 (16:07 +0900)]
Merge branch 'tizen' into tizen_line_coverage
Change-Id: I879e8ad7021fe3942aaa2e02d320d8e3880fe4d7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
YoungHun Kim [Mon, 7 Aug 2017 08:32:37 +0000 (17:32 +0900)]
Update camera by the splited muse library
Change-Id: I0e8f287af92be7d268ceccfa66b888cda90edd47
Haesu Gwon [Tue, 4 Jul 2017 10:52:23 +0000 (19:52 +0900)]
[ACR-1013] Change API description to support set/unset preview callback in preview state.
+ Update comments to describe state restriction improvement more clearly.
[Version] 0.3.3
[Profile] Common
[Issue Type] Update
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170630.1]
Change-Id: I9468bc1242bd5ccb4708a830b41f151cf725e33a
Signed-off-by: Haesu Gwon <haesu.gwon@samsung.com>