Add new interface for camera status and metadata 74/297074/1 accepted/tizen/8.0/unified/20231005.094406 accepted/tizen/unified/20230814.165025 tizen_8.0_m2_release
authorJeongmo Yang <jm80.yang@samsung.com>
Tue, 8 Aug 2023 10:00:38 +0000 (19:00 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 10 Aug 2023 03:03:27 +0000 (12:03 +0900)
- 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
- structure
 : camera_metadata_s
   camera_status_auto_exposure_e status_ae;
   camera_status_auto_white_balance_e status_awb;

[Version] 0.0.21
[Issue Type] New feature

Change-Id: I1a3100edc96abcb89d631c13c996317564a19171
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
include/hal-camera-interface.h
packaging/hal-api-camera.spec

index 48feece7677179cf2c3a26a82b06824fce43ef18..caa28a4c76161eaab2a4ad21146f1ea51d5ad502 100644 (file)
@@ -171,6 +171,26 @@ typedef enum camera_rotation {
        CAMERA_ROTATION_270
 } camera_rotation_e;
 
+/**
+ * @brief Enumeration for the auto exposure status.
+ * @since_tizen 7.0
+ */
+typedef enum camera_status_auto_exposure {
+       CAMERA_STATUS_AUTO_EXPOSURE_NONE,
+       CAMERA_STATUS_AUTO_EXPOSURE_UNSTABLE,
+       CAMERA_STATUS_AUTO_EXPOSURE_STABLE
+} camera_status_auto_exposure_e;
+
+/**
+ * @brief Enumeration for the auto white balance status.
+ * @since_tizen 7.0
+ */
+typedef enum camera_status_auto_white_balance {
+       CAMERA_STATUS_AUTO_WHITE_BALANCE_NONE,
+       CAMERA_STATUS_AUTO_WHITE_BALANCE_UNSTABLE,
+       CAMERA_STATUS_AUTO_WHITE_BALANCE_STABLE
+} camera_status_auto_white_balance_e;
+
 /**
  * @brief Enumeration for the camera flip.
  * @since_tizen 6.5
@@ -231,6 +251,8 @@ typedef struct camera_metadata {
        camera_facing_direction_e facing_direction;
        camera_flip_e flip;
        camera_rotation_e rotation;
+       camera_status_auto_exposure_e status_ae;
+       camera_status_auto_white_balance_e status_awb;
 } camera_metadata_s;
 
 /**
index 875698c990ccb0a8c1118907cb64abe60b7065ed..52d0ddb149794e1cee4e79e249dd6f0ff66344cb 100644 (file)
@@ -4,7 +4,7 @@
 ### main package #########
 Name:       %{name}
 Summary:    %{name} interface
-Version:    0.0.20
+Version:    0.0.21
 Release:    0
 Group:      Development/Libraries
 License:    Apache-2.0