Jeongmo Yang [Wed, 6 Dec 2023 05:32:49 +0000 (14:32 +0900)]
camera.h: Remove profile check for supported platform version
[Version] 0.4.116
[Issue Type] Doxygen
Change-Id: Id401799d79ca3e9a6e32560ce7523f5329871e79
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 10 Nov 2023 01:36:56 +0000 (10:36 +0900)]
camera_test: Add preview callback setting before start preview
In case of encoded format, it can not be decoded without first buffer.
To get first buffer, the preview callback setting is added before start preview.
[Version] 0.4.115
[Issue Type] test
Change-Id: I569a283374944eb565373df7c23538e546ccf20b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 31 Aug 2023 02:06:16 +0000 (11:06 +0900)]
Clean up dependency
- Remove dependency(libtbm, mm-common, mm-camcorder) from pkgconfig file.
- Remove headers from external packages in camera_internal.h file.
- The direct dependencies with libtbm, mm-common and mm-camcorder will be removed
from the pakcage using capi-media-camera.
[Version] 0.4.114
[Issue Type] Clean up
Change-Id: Ie6190f1fc436d9fdda8845c795727c6ca9d3cf8f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 8 Aug 2023 10:07:41 +0000 (19:07 +0900)]
Add new internal APIs for camera status of AE and AWB
- enum
: camera_status_auto_exposure_e
CAMERA_STATUS_AUTO_EXPOSURE_NONE
CAMERA_STATUS_AUTO_EXPOSURE_UNSTABLE
CAMERA_STATUS_AUTO_EXPOSURE_STABLE
: camera_status_auto_white_balance_e
CAMERA_STATUS_AUTO_WHITE_BALANCE_NONE
CAMERA_STATUS_AUTO_WHITE_BALANCE_UNSTABLE
CAMERA_STATUS_AUTO_WHITE_BALANCE_STABLE
- function
: int camera_attr_get_preview_frame_status_auto_exposure(camera_h camera, camera_status_auto_exposure_e *status);
: int camera_attr_get_preview_frame_status_auto_white_balance(camera_h camera, camera_status_auto_white_balance_e *status);
[Version] 0.4.113
[Issue Type] New feature
Change-Id: Ic65317db473b3b32e0ea72a63746756bf748824b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 16 Jun 2023 04:47:25 +0000 (13:47 +0900)]
Fix "invalid signal received" error
- If the same API is called in several threads simultaneously,
"api_activating[api]" value is reset when first response is come.
As a result, second response will get "invalid signal received" error.
- This patch changes type of "api_activating" member variable from "gboolean" to "gint",
and use it like reference count.
[Version] 0.4.112
[Issue Type] Bug fix
Change-Id: Ib98a2148e74e21e0b2d4d896b3b0f1baa4d0813b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Thu, 8 Jun 2023 02:33:46 +0000 (11:33 +0900)]
[ACR-1768] Add new APIs for focus level
[Version] 0.4.111
[Issue Type] New feature
Change-Id: I09fd6119f081389d0706782c97e63d1d94b0f777
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 7 Jun 2023 02:19:20 +0000 (11:19 +0900)]
Add sub functions to remove duplicated code
[Version] 0.4.110
[Issue Type] Clean up
Change-Id: I84d46f36f4fea051be9295ec3d12839a5158b9a1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 2 Jun 2023 00:29:45 +0000 (09:29 +0900)]
Fix typo
Change-Id: I8e1e8f17491b81461c3f0896ecd23199177db617
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 14 Apr 2023 11:28:00 +0000 (20:28 +0900)]
[ACR-1764] Add new APIs for device manager
- int camera_device_manager_get_product_id(camera_device_manager_h manager, camera_device_e device, unsigned short *product_id);
- int camera_device_manager_get_vendor_id(camera_device_manager_h manager, camera_device_e device, unsigned short *vendor_id);
[Version] 0.4.109
[Issue Type] New feature
Change-Id: Ifb08bd81d5838317ae1409f32f57cf104ae4564f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Wed, 10 May 2023 05:23:59 +0000 (14:23 +0900)]
camera_test: Add new menu for capture format
- Minor change
: Rename menu from "Picture format" to "Preview format".
: Do not show menu when quit testsuite.
: Clean up log.
[Version] 0.4.108
[Issue Type] Test
Change-Id: I207e6efcf47ff638a21151454516d4a29f3a3f63
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Fri, 28 Apr 2023 02:39:03 +0000 (11:39 +0900)]
Remove unused internal API
- int camera_attr_get_preview_frame_meta_timestamp(camera_h camera, camera_meta_timestamp_s *meta_timestamp);
[Version] 0.4.107
[Issue Type] Clean up
Change-Id: If9cdb5bebe82d734f093f59a301bb61e978252f5
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Mon, 24 Apr 2023 06:23:25 +0000 (15:23 +0900)]
Add new internal API to get meta
[Version] 0.4.106
[Issue Type] New feature
Change-Id: Iccadb9d2496f3307a2bc8029a4311ad0e7179606
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Jeongmo Yang [Tue, 16 May 2023 07:23:20 +0000 (16:23 +0900)]
fixup! [ACR-1754] Add new APIs for camera settings
- Change Tizen version from 7.5 to 8.0.
Change-Id: I98d601adabf3615d1b9bb3242470f8195a701308
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
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>