Jeongmo Yang [Fri, 14 Apr 2023 10:20:50 +0000 (19:20 +0900)]
Separate device manager related code
[Version] 0.4.104
[Issue Type] Clean up
Change-Id: I19d3ac5818fadd6d405c08fdb60b9de498700791
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 12 Apr 2023 03:24:07 +0000 (12:24 +0900)]
Update header file to fix issues from header checker
- Reorder return values by priority
- Add remarks and comments
- Update description
[Version] 0.4.103
[Issue Type] Update
Change-Id: I96386e413f59d3c98e98c379a735a60da208e6a0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 7 Apr 2023 08:06:35 +0000 (17:06 +0900)]
Fix coverity issue
- UNUSED_VALUE
[Version] 0.4.102
[Issue Type] Coverity
Change-Id: I2db4212d148993310ea7e14a88c192cf29407d3e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 21 Mar 2023 06:52:22 +0000 (15:52 +0900)]
Add new internal API to get meta timestamp
[Version] 0.4.101
[Issue Type] New feature
Change-Id: Id54842c6fea4bc2fd02ce413c0df9114c0f1722e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 20 Mar 2023 07:23:40 +0000 (16:23 +0900)]
[ACR-1754] Add new APIs for camera settings
- New enums in camera_attr_exposure_mode_e
: CAMERA_ATTR_EXPOSURE_MODE_SHUTTER_PRIORITY
: CAMERA_ATTR_EXPOSURE_MODE_APERTURE_PRIORITY
- New functions
: int camera_attr_set_gain(camera_h camera, int level);
: int camera_attr_get_gain(camera_h camera, int *level);
: int camera_attr_get_gain_range(camera_h camera, int *min, int *max);
: int camera_attr_get_gain_step(camera_h camera, int *step);
: int camera_attr_set_whitebalance_temperature(camera_h camera, int temperature);
: int camera_attr_get_whitebalance_temperature(camera_h camera, int *temperature);
: int camera_attr_get_whitebalance_temperature_range(camera_h camera, int *min, int *max);
: int camera_attr_get_whitebalance_temperature_step(camera_h camera, int *step);
: int camera_attr_set_saturation(camera_h camera, int level);
: int camera_attr_get_saturation(camera_h camera, int *level);
: int camera_attr_get_saturation_range(camera_h camera, int *min, int *max);
: int camera_attr_set_sharpness(camera_h camera, int level);
: int camera_attr_get_sharpness(camera_h camera, int *level);
: int camera_attr_get_sharpness_range(camera_h camera, int *min, int *max);
[Version] 0.4.100
[Issue Type] New feature
Change-Id: Ib19b5a2ef7923d2b1529bf2a2cb51df1fa6c9eab
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 2 Feb 2023 08:12:07 +0000 (17:12 +0900)]
camera_test: Replace g_print() by dlog macro
- It's replaced in only preview callback related functions.
[Version] 0.4.99
[Issue Type] Log
Change-Id: Iee826252bee40967e4c7cd6ce2fabb29e36fff4a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 2 Feb 2023 05:39:14 +0000 (14:39 +0900)]
Fix crash when zero copy mode with I420 format
- The pointer "buffer_bo_handle[1].ptr" is invalid at that case.
[Version] 0.4.98
[Issue Type] Bug fix
Change-Id: Ic39f533eb226d31346c8abcd7798cddb692e9df5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 18 Nov 2022 05:37:26 +0000 (14:37 +0900)]
Add preview callback information for debug
- Print log including frame count and elapsed time.
- The "stream id" for normal preview callback is -1.
- The "stream id" for media packet preview callback is -2.
[Version] 0.4.97
[Issue Type] Debug
Change-Id: I9c60027274046eca5f36d0ee2c31db02e1eaee85
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 4 Nov 2022 05:10:01 +0000 (14:10 +0900)]
Remove condition of timeout for preview
[Version] 0.4.96
[Issue Type] Update
Change-Id: I2235021feee54d08c5b1f9988ea1088f337a44c7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 24 Oct 2022 10:26:33 +0000 (19:26 +0900)]
Remove unnecessary dependency - ecore
[Version] 0.4.95
[Issue Type] Clean up
Change-Id: I4dc6caab6d1acc222334cb7fbb6099e0ecf00c3e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Sun, 23 Oct 2022 08:42:59 +0000 (17:42 +0900)]
Add new internal API for timestamp in nsec
[Version] 0.4.94
[Issue Type] New feature
Change-Id: I9f154fe928a9c151cc36724f8109d0865fdcc1b5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 17 Oct 2022 10:20:20 +0000 (19:20 +0900)]
Add new internal API to request codec cofig
[Version] 0.4.93
[Issue Type] New feature
Change-Id: I9d925b90633ef05954b6bc2c524e75194bed0d2f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 30 Sep 2022 06:41:28 +0000 (15:41 +0900)]
Add flag to invoke preview callback
[Version] 0.4.92
[Issue Type] Improvement
Change-Id: I39cf395eabe10ee2181d29444a5e03b2aa56b458
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 30 Sep 2022 05:38:23 +0000 (14:38 +0900)]
Remove build warning - shadows a global declaration
[Version] 0.4.91
[Issue Type] Build
Change-Id: I0365ad8fbd90f534cefa220d9ca3b3d602df8e57
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 19 Sep 2022 10:50:13 +0000 (19:50 +0900)]
Add new internal API to set device for extra preview
[Version] 0.4.90
[Issue Type] New feature
Change-Id: Ie427b44d882062c933f017cfe38414c44cf25666
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 30 Aug 2022 12:38:59 +0000 (21:38 +0900)]
Fix crash caused by not-allocated memory access
- Minor change
: Change log level in __send_message_get_return().
[Version] 0.4.89
[Issue Type] Bug fix
Change-Id: I8cb636009ce6a7a526e9193ba7ca5f36d7bb6704
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 29 Aug 2022 08:33:39 +0000 (17:33 +0900)]
Replace tbm_bo_map/unmap() by tbm_bo_get_handle()
- The data pointer could be unavailable after tbm_bo_unmap().
[Version] 0.4.88
[Issue Type] Bug fix
Change-Id: I1118b46853c15b6b08b7f110213c10e9f0958194
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 25 Aug 2022 08:05:33 +0000 (17:05 +0900)]
camera_test: Add menu for extra preview test
[Version] 0.4.87
[Issue Type] Update
Change-Id: Id2db982f9a3eee42aa13c2c3e89af521cac3f36f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 23 Aug 2022 01:20:28 +0000 (10:20 +0900)]
Improve thread handling
[Version] 0.4.86
[Issue Type] Improvement
Change-Id: I65ff5ba811be594eb53ccfdccbfcd468fe444e99
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 12 Aug 2022 06:55:22 +0000 (15:55 +0900)]
[ACR-1715] Change parameter of some APIs
- Parameter changed APIs
: camera_device_connection_changed_cb()
: camera_supported_device_cb()
- Add new structure for camera device changed callback.
: camera_device_s
[Version] 0.4.85
[Issue Type] ACR
Change-Id: I0526a5052802a003fc845d823a8a0623ed5483c7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 3 Aug 2022 02:13:57 +0000 (11:13 +0900)]
Correct test binary name in manifest
[Version] 0.4.84-1
[Issue Type] Bug fix
Change-Id: Ifc9aa1888d6d031bd88dd5b98d91d60d6310141f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 14 Jul 2022 05:31:33 +0000 (14:31 +0900)]
Fix coverity issue - Resource Leak
[Version] 0.4.84
[Issue Type] Coverity
Change-Id: I9acd47d700065f466640f0e8c37a92215e3561e1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 11 Jul 2022 03:58:16 +0000 (12:58 +0900)]
Update error handling for some APIs
[Version] 0.4.83
[Issue Type] Error handling
Change-Id: I0ecc5e4c64cc8696591c98730f0f3f14abe87092
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 23 Jun 2022 02:46:34 +0000 (11:46 +0900)]
Remove duplicated code.(phase#2)
- Add macros to check handle.
- Add sub functions for duplicated code.
- Rename camera_test to camera_test_headed.
- Add common source file for camera_test_headed/headless.
[Version] 0.4.82
[Issue Type] SAM Improvement
Change-Id: I2901b473e968dcbd132bf0db6c2d9fbb74978800
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 22 Jun 2022 07:32:15 +0000 (16:32 +0900)]
Remove duplicated code.(phase#1)
[Version] 0.4.81
[Issue Type] SAM Improvement
Change-Id: I76b561f0bdb09c1db00f05556d79412c4a28f9e6
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 23 Mar 2022 04:12:54 +0000 (13:12 +0900)]
[ACR-1688] Add new APIs for network camera
- New API list
: camera_create_network()
: camera_device_manager_initialize()
: camera_device_manager_deinitialize()
: camera_device_manager_foreach_supported_device()
: camera_device_manager_add_device_connection_changed_cb()
: camera_device_manager_remove_device_connection_changed_cb()
: camera_is_supported_extra_preview()
: camera_set_extra_preview_cb()
: camera_unset_extra_preview_cb()
: camera_set_extra_preview_stream_format()
: camera_get_extra_preview_stream_format()
: camera_attr_set_extra_preview_bitrate()
: camera_attr_get_extra_preview_bitrate()
: camera_attr_set_extra_preview_gop_interval()
: camera_attr_get_extra_preview_gop_interval()
: camera_attr_get_preview_frame_rotation()
[Version] 0.4.80
[Issue Type] New feature
Change-Id: I7686cd0de15679e51efcd69c297ebac1239408e9
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 24 May 2022 07:34:43 +0000 (16:34 +0900)]
Update for line coverage measurement automation
[Version] 0.4.79-1
[Issue Type] Line coverage
Change-Id: I67f314edefdd4bf4d7f089f7c36025a46a6e1443
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 23 May 2022 06:48:24 +0000 (15:48 +0900)]
Add TIZEN_FEATURE_NO_TIMEOUT_FOR_PREVIEW
- In TV profile, set timeout for preview.
- Additional change
: Add error handling when service disconnected.
[Version] 0.4.79
[Issue Type] Improvement
Change-Id: I1579eb5ec4dc6b2d4c5fa932edfa15db734ebb27
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 19 May 2022 07:00:14 +0000 (16:00 +0900)]
Add comments for line coverage test
- Code which could not be tested by TCT
- Code for error handling
[Version] 0.4.78-2
[Issue Type] Line coverage
Change-Id: I292e0940240ea8af0bac1e346cdf93508a0560e0
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 19 May 2022 00:26:12 +0000 (09:26 +0900)]
Set smack label for executable in manifest
- Remove post command for smack label in spec file.
[Version] 0.4.78-1
[Issue Type] Smack label
Change-Id: I0b17d6e261b5de3de3f2773ec833b4668938fb7b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 13 May 2022 02:09:58 +0000 (11:09 +0900)]
Add missed tab
[Version] 0.4.78
[Issue Type] Coding rule
Change-Id: I11a19605f7c01de7a3c73f3b54b6bc688aca5eb7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 11 May 2022 05:47:32 +0000 (14:47 +0900)]
Create missed thread for preview callback
- The thread for preview callback is created in camera_start_preview(),
but, it could be skipped with recorder_prepare() when video recording.
[Version] 0.4.77
[Issue Type] Bug fix
Change-Id: I89aeaea03b392226a2c19c224445237599f6ce43
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 5 Apr 2022 12:10:42 +0000 (21:10 +0900)]
Support zero-copy with encoded format
[Version] 0.4.76
[Issue Type] New feature
Change-Id: Ibaee3a220365656f943907cc14d150e3e401ecd8
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 22 Mar 2022 02:16:30 +0000 (11:16 +0900)]
Code clean up for camera_test.c
Change-Id: I8f0680bcaad6d30af73d1871c2f682309ae51aad
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 17 Mar 2022 09:47:53 +0000 (18:47 +0900)]
Add new testsuite package for headless target
- Minor change
: Rename package for testsuite.(tool -> test)
: Remove build warning.
[Version] 0.4.75
[Issue Type] New feature
Change-Id: Idb84c05f2679529538de9d7508b921d7fa9283cd
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 27 Jan 2022 02:19:48 +0000 (11:19 +0900)]
Support encoded and RGB data in __camera_create_media_packet()
- Minor change
: Remove unnecessary word in some function name.
: Remove unnecessary comments.
: Remove duplicated code.
: Update _camera_media_packet_dispose().
[Version] 0.4.74
[Issue Type] Update
Change-Id: I6f19e783560d8beab324b3a32e9d8664be2ded08
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 24 Jan 2022 11:35:07 +0000 (20:35 +0900)]
Add sub function for media packet format
- Minor change
: Rename some static functions.
[Version] 0.4.73
[Issue Type] Update
Change-Id: Ic24589c732f717c154c6291f3500a9f6ba7b327f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 18 Jan 2022 12:23:42 +0000 (21:23 +0900)]
Add sub function to create tbm surface
- Minor change
: Remove duplicated structure and definition.
: Add missing dependency in pc file.
[Version] 0.4.72
[Issue Type] Update
Change-Id: I3196a2ae26fa2d874a7604f9ecde0a2f0eb4e840
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
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>