platform/core/api/camera.git
4 months agoFree idle event in idle callback only. 57/311357/2 accepted/tizen/unified/20240701.191826 accepted/tizen/unified/dev/20240702.054017 accepted/tizen/unified/x/20240702.031211
Jeongmo Yang [Tue, 14 May 2024 00:18:41 +0000 (09:18 +0900)]
Free idle event in idle callback only.

- It seems that idle callback can be remained although g_idle_remove_by_data() returns TRUE.
  It will cause the crash when idle callback is called after camera handle is destroyed.

[Version] 1.1.1
[Issue Type] Improvement

Change-Id: I3d0c51ffbd928e95cf72603b4a52497ed327791f
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoAdd new internal APIs for media packet internal callback 35/313535/1
Jeongmo Yang [Thu, 25 Jan 2024 04:58:43 +0000 (13:58 +0900)]
Add new internal APIs for media packet internal callback

- Added internal APIs
 : bool camera_is_supported_media_packet_preview_internal_cb(camera_h camera);
 : int camera_set_media_packet_preview_internal_cb(camera_h camera, camera_media_packet_preview_cb callback, void *user_data);
 : int camera_unset_media_packet_preview_internal_cb(camera_h camera);

[Version] 1.1.0
[Issue Type] New feature

Change-Id: I232c8a30f5638a59cf88c974acf3b812a414200e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agocamera_test: Add new setting menu for encoded preview 34/313534/1
Jeongmo Yang [Tue, 16 Jan 2024 01:44:34 +0000 (10:44 +0900)]
camera_test: Add new setting menu for encoded preview

- Added menu
 : 'M'. Encoded preview bitrate
 : 'N'. Encoded preview GOP interval

[Version] 1.0.3
[Issue Type] test

Change-Id: I0998cb2bbf5029aaf077c67ba1f2420d5643075c
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 months agoAdd defensive code for clearing locked mutex 33/313533/1
Jeongmo Yang [Wed, 19 Jun 2024 05:02:00 +0000 (14:02 +0900)]
Add defensive code for clearing locked mutex

- The mutex can be cleared although it's locked while calling client user callback.
- Add defensive code to avoid clearing locked mutex.

[Version] 1.0.2
[Issue Type] Improvement

Change-Id: Ib6abaeba5a05c5cdb7f5667c4719c6a2e89bdfe2
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 months agoRemove some condition to send PREVIEW_CB_RETURN message in preview_cb() 92/310592/1 accepted/tizen/unified/20240503.115745 accepted/tizen/unified/dev/20240620.003651 accepted/tizen/unified/toolchain/20240508.012323 accepted/tizen/unified/x/20240507.050946 accepted/tizen/unified/x/asan/20240625.092039
Jeongmo Yang [Thu, 2 May 2024 09:26:12 +0000 (18:26 +0900)]
Remove some condition to send PREVIEW_CB_RETURN message in preview_cb()

- No need to check preview type.

[Version] 1.0.1
[Issue Type] Update

Change-Id: Id7e148f73ba13a28963f2e9922e3bb651c37d4f7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 months agoChange version of so files for compatibility 63/310363/1 accepted/tizen/unified/20240430.020628 accepted/tizen/unified/toolchain/20240507.011755 accepted/tizen/unified/x/20240430.094758
Jeongmo Yang [Fri, 26 Apr 2024 03:41:47 +0000 (12:41 +0900)]
Change version of so files for compatibility

- The prebuilt binary which has dependency of this package will be failed
  while loading this shared library by different so name if version of so file is 1.0.0.
  (new:libcapi-media-camera.so.1 vs old:libcapi-media-camera.so.0)

[Version] 1.0.0-1
[Issue Type] Update

Change-Id: Ia08fa020a7a6d09a9ea63e999b526e87c6e0e1a7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
6 months agoRelease version 1.0.0 98/309798/1
Jeongmo Yang [Wed, 17 Apr 2024 02:48:00 +0000 (11:48 +0900)]
Release version 1.0.0

[Version] 1.0.0
[Issue Type] Version up

Change-Id: Iadadba06844435dcec458b981c90cc0b2974afe8
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
9 months agocamera_internal: Fix invalid type for timestamp 95/304495/1 accepted/tizen/unified/20240123.165901 accepted/tizen/unified/toolchain/20240311.065101 accepted/tizen/unified/x/20240205.063807
Jeongmo Yang [Thu, 18 Jan 2024 05:13:02 +0000 (14:13 +0900)]
camera_internal: Fix invalid type for timestamp

[Version] 0.4.120
[Issue Type] Bug fix

Change-Id: I36f61cbf9fc3898291c27fef0c8db79add9c630a
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
9 months ago[ACR-1813] Add new return value for preview callback APIs 62/303762/5
Jeongmo Yang [Thu, 4 Jan 2024 10:36:45 +0000 (19:36 +0900)]
[ACR-1813] Add new return value for preview callback APIs

- It could be deadlock or delay of preview frames
  if preview callback APIs are called in preview callback thread.
- This patch adds new return value for error for that case
  and prevents the such problems.

[Version] 0.4.119
[Issue Type] New feature

Change-Id: I5048a2323719d5b2f17db4e3e18409610b181f42
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
10 months agoFix coverity issue - Data race condition 13/303613/1 accepted/tizen_unified_riscv accepted/tizen/unified/20240105.165037 accepted/tizen/unified/riscv/20240108.035925
Jeongmo Yang [Tue, 2 Jan 2024 11:31:27 +0000 (20:31 +0900)]
Fix coverity issue - Data race condition

[Version] 0.4.118
[Issue Type] Coverity

Change-Id: I78d51b1e3b467c3e52799d36568a511a29960564
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
10 months agoCode clean up for mutex 27/302527/2 accepted/tizen/unified/20231219.041300 accepted/tizen/unified/riscv/20231226.211022
Jeongmo Yang [Fri, 8 Dec 2023 05:05:32 +0000 (14:05 +0900)]
Code clean up for mutex

- Rename from "*_mutex" to "*_lock" for GMutex.
- Use "g_autoptr" to make code simple for some locks.

[Version] 0.4.117
[Issue Type] Clean up

Change-Id: I040b2876e27b7fef57c1b7da62b4a6785af5f08d
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
10 months agocamera.h: Remove profile check for supported platform version 82/302382/1 accepted/tizen/unified/20231211.095344
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>
11 months agocamera_test: Add preview callback setting before start preview 74/301274/1 accepted/tizen/unified/20231115.024844
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>
14 months agoClean up dependency 65/298065/1 accepted/tizen/8.0/unified/20231005.092631 accepted/tizen/unified/20230831.164933 tizen_8.0_m2_release
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>
14 months agoAdd new internal APIs for camera status of AE and AWB 78/297078/1 accepted/tizen/unified/20230814.165032
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>
15 months agoFix "invalid signal received" error 19/294319/5 accepted/tizen/unified/20230720.164627
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>
15 months ago[ACR-1768] Add new APIs for focus level 54/293954/4 accepted/tizen/unified/20230718.162218
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>
16 months agoAdd sub functions to remove duplicated code 42/293842/3 accepted/tizen/unified/20230612.072224
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>
17 months agoFix typo 59/293659/1
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>
17 months ago[ACR-1764] Add new APIs for device manager 22/291422/7 accepted/tizen/unified/20230605.170347
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>
17 months agocamera_test: Add new menu for capture format 14/293014/1
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>
17 months agoRemove unused internal API 13/293013/1
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>
17 months agoAdd new internal API to get meta 12/293012/1
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>
17 months agofixup! [ACR-1754] Add new APIs for camera settings 75/292875/1
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>
18 months agoSeparate device manager related code 15/291415/4
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>
18 months agoUpdate header file to fix issues from header checker 17/291217/2
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>
18 months agoFix coverity issue 63/291063/2 accepted/tizen/unified/20230412.152346
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>
19 months agoAdd new internal API to get meta timestamp 30/290530/1
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>
19 months ago[ACR-1754] Add new APIs for camera settings 76/290376/5 accepted/tizen/unified/20230330.025557
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>
20 months agocamera_test: Replace g_print() by dlog macro 90/287690/2 accepted/tizen/unified/20230207.165815
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>
20 months agoFix crash when zero copy mode with I420 format 68/287668/1
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>
23 months agoAdd preview callback information for debug 93/284493/4 accepted/tizen/unified/20221128.014943
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>
23 months agoRemove condition of timeout for preview 46/283846/2 accepted/tizen/unified/20221109.171113
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>
2 years agoRemove unnecessary dependency - ecore 90/283690/1 accepted/tizen/unified/20221103.165733
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>
2 years agoAdd new internal API for timestamp in nsec 20/283420/3 accepted/tizen/unified/20221102.020612
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>
2 years agoAdd new internal API to request codec cofig 57/283057/1
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>
2 years agoAdd flag to invoke preview callback 56/282356/2
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>
2 years agoRemove build warning - shadows a global declaration 53/282353/1
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>
2 years agoAdd new internal API to set device for extra preview 80/281480/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.104617 accepted/tizen/unified/20220920.110654 tizen_7.0_m2_release
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>
2 years agoFix crash caused by not-allocated memory access 70/280470/1 accepted/tizen/unified/20220901.125823 submit/tizen/20220831.033302
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>
2 years agoReplace tbm_bo_map/unmap() by tbm_bo_get_handle() 82/280382/2 accepted/tizen/unified/20220831.133851 submit/tizen/20220830.012836
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>
2 years agocamera_test: Add menu for extra preview test 06/280206/3 accepted/tizen/unified/20220829.215641 submit/tizen/20220829.030011
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>
2 years agoImprove thread handling 46/280046/5
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>
2 years ago[ACR-1715] Change parameter of some APIs 03/279603/5 submit/tizen/20220825.025917
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>
2 years agoCorrect test binary name in manifest 57/279157/1 accepted/tizen/unified/20220805.131907 submit/tizen/20220803.072259
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>
2 years agoFix coverity issue - Resource Leak 45/277845/1 accepted/tizen/unified/20220715.141308 submit/tizen/20220714.062206
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>
2 years agoUpdate error handling for some APIs 99/277599/2
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>
2 years agoRemove duplicated code.(phase#2) 93/276693/8 accepted/tizen/unified/20220704.213051 submit/tizen/20220701.103121
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>
2 years agoRemove duplicated code.(phase#1) 30/276630/3
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>
2 years ago[ACR-1688] Add new APIs for network camera 09/272709/16
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>
2 years agoUpdate for line coverage measurement automation 97/275397/1 accepted/tizen/unified/20220525.134548 submit/tizen/20220524.122628
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>
2 years agoAdd TIZEN_FEATURE_NO_TIMEOUT_FOR_PREVIEW 55/275355/2
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>
2 years agoAdd comments for line coverage test 63/275263/1
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>
2 years agoSet smack label for executable in manifest 34/275234/1
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>
2 years agoAdd missed tab 71/274971/1
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>
2 years agoCreate missed thread for preview callback 69/274869/2 accepted/tizen/unified/20220511.210840 submit/tizen/20220511.062357
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>
2 years agoSupport zero-copy with encoded format 23/273423/5 accepted/tizen/unified/20220428.162729 submit/tizen/20220427.095935
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>
2 years agoCode clean up for camera_test.c 22/272622/1
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>
2 years agoAdd new testsuite package for headless target 83/272483/4
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>
2 years agoSupport encoded and RGB data in __camera_create_media_packet() 88/270288/5 accepted/tizen/unified/20220224.125816 submit/tizen/20220223.001807
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>
2 years agoAdd sub function for media packet format 32/270032/4
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>
2 years agoAdd sub function to create tbm surface 78/269578/5
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>
2 years agoChange installation path for gcov 20/270120/2 accepted/tizen/unified/20220128.144405 submit/tizen/20220126.073702
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>
2 years agofix up! Remove thread for preview callback when stop preview 09/269109/2 accepted/tizen/unified/20220111.123039 submit/tizen/20220110.092727
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>
2 years agoReduce length of thread name 69/268969/2 accepted/tizen/unified/20220107.120842 submit/tizen/20220106.070305
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>
2 years agocamera_test: Add missed image format 49/268949/1
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>
2 years agofix up! Remove thread for preview callback when stop preview 19/267519/1 accepted/tizen/unified/20211214.124906 submit/tizen/20211207.021806 submit/tizen/20211213.031250
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>
2 years agoRemove thread for preview callback when stop preview 20/267320/5 submit/tizen/20211203.034808
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>
2 years agoAdd remarks for camera_device_manager_initialize/deinitialize() 61/267261/3
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>
2 years agoProvide the rotation of each preview frame 37/266237/5 accepted/tizen/unified/20211112.135809 submit/tizen/20211110.120232
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>
2 years agoReplace g_cond_signal() by g_cond_broadcast() 31/266131/2 accepted/tizen/unified/20211109.042919 submit/tizen/20211108.090241
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>
3 years agoAdd new internal APIs for extra preview GOP interval 11/263711/3 accepted/tizen/6.5/unified/20211028.094459 accepted/tizen/unified/20210916.014246 submit/tizen/20210915.115302 submit/tizen_6.5/20211028.161701 tizen_6.5.m2_release
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>
3 years agoAdd new internal APIs for extra preview bitrate 25/263425/1 accepted/tizen/unified/20210906.123742 submit/tizen/20210903.031152
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>
3 years agoAdd missed frame information for VP8 and VP9 formats 76/260676/2 accepted/tizen/unified/20210702.133335 submit/tizen/20210702.012854
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>
3 years agoRemove internal APIs for device list changed callback 77/260377/1 accepted/tizen/unified/20210630.144040 submit/tizen/20210625.064135
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>
3 years agoAdd new internal APIs for device manager 29/260029/3 accepted/tizen/unified/20210621.123140 submit/tizen/20210618.081505
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>
3 years agoAdd new internal APIs for extra preview stream format 24/259924/6
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>
3 years ago[ACR-1634] Add new pixel format - VP8, VP9 96/259396/2 accepted/tizen/unified/20210615.120241 submit/tizen/20210615.011749
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>
3 years agoNew internal APIs for focus level 33/258333/2 accepted/tizen/unified/20210602.122556 submit/tizen/20210531.033817
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>
3 years agoAdd new internal APIs for extra preview 54/257554/2
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>
3 years agoSupport media bridge as source module 95/251695/12
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>
3 years agoFix invalid return value 62/256862/1 accepted/tizen/unified/20210416.011740 submit/tizen/20210415.030456
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>
3 years agocamera_test: Update preview callback function 95/256695/2
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>
3 years agoRevise code for fd and tbm bo management 05/256505/5 accepted/tizen/unified/20210412.012103 submit/tizen/20210408.091908
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>
3 years agocamera_test: Add menu for media packet preview callback 76/256476/4 accepted/tizen/unified/20210406.083555 submit/tizen/20210405.122916
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>
3 years agoRefactoring code related with media packet 74/256374/2
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>
3 years agoFix SAM defect - GlobalVariable 16/255416/2 accepted/tizen/unified/20210319.141018 submit/tizen/20210318.073807
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>
3 years agoApply Tizen coding rule for static function 85/255385/1
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>
3 years agoAdd missing dependency for pc file 04/254604/1 accepted/tizen/unified/20210308.070949 submit/tizen/20210305.070633
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>
3 years agoAdd comments for line coverage test 28/254428/1 accepted/tizen/unified/20210304.131107 submit/tizen/20210303.101433
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>
3 years agoAdd new internal APIs for flash brightness 19/252919/2 accepted/tizen/unified/20210208.061727 submit/tizen/20210204.050939
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>
3 years agoUpdate camera test 63/250263/4 accepted/tizen/unified/20201224.151523 submit/tizen/20201223.095921
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>
3 years agoAdd new internal APIs for device manager 93/249593/11
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>
3 years agoRemove unnecessary HTML link for feature 83/249683/1
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>
3 years agoAdd new internal APIs 60/246760/5 accepted/tizen/unified/20201109.123508 submit/tizen/20201106.064606
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>
4 years agoSet default log level 65/245765/3 accepted/tizen/unified/20201029.125020 submit/tizen/20201026.104417
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>
4 years agoRevise log related code 67/244967/3 submit/tizen/20201012.060154
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>
4 years agoDo not call unnecessary function 21/242921/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.122219 accepted/tizen/6.0/unified/hotfix/20201103.004541 accepted/tizen/6.0/unified/hotfix/20201103.051709 accepted/tizen/unified/20200903.151803 submit/tizen/20200902.092653 submit/tizen_6.0/20201029.205102 submit/tizen_6.0_hotfix/20201102.192502 submit/tizen_6.0_hotfix/20201103.114802 tizen_6.0.m2_release
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>
4 years agoUpdate header file for documentation 83/241083/1 accepted/tizen/unified/20200820.034824 submit/tizen/20200819.121427
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>
4 years agoAdd new internal APIs for camera frame 30/240430/1 submit/tizen/20200818.102105 submit/tizen/20200819.022508
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>