[camera] Add new camera command 17/207717/4 accepted/tizen/unified/20190614.051604 submit/tizen/20190613.080726
authorJeongmo Yang <jm80.yang@samsung.com>
Tue, 11 Jun 2019 09:29:17 +0000 (18:29 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 13 Jun 2019 06:21:03 +0000 (15:21 +0900)
- Bitrate, PTZ(Pan Tilt Zoom) type, Pan, Tilt, Brightness

[Version] 0.0.23
[Profile] Common
[Issue Type] Update

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

index 2d8eeaa134b64604144a25d7da27fc8eb15cd825..d7081f6766d2b392b4d6748436377b4c6b69cf07 100644 (file)
@@ -369,6 +369,15 @@ typedef enum camera_face_detection {
        CAMERA_FACE_DETECTION_ON            /**< Face detection on */
 } camera_face_detection_t;
 
+/**
+ * @brief Enumeration for the PTZ(Pan Tilt Zoom) type.
+ * @since_tizen 5.5
+ */
+typedef enum camera_ptz_type {
+       CAMERA_PTZ_TYPE_MECHANICAL = 0,     /**< Move the camera device physically */
+       CAMERA_PTZ_TYPE_ELECTRONIC          /**< Zoom digitally and move into portion of the image */
+} camera_ptz_type_t;
+
 /**
  * @brief Definitions for the camera command.
  * @since_tizen 3.0
@@ -398,6 +407,11 @@ typedef enum camera_face_detection {
 #define CAMERA_COMMAND_SHUTTER_SPEED            ((int64_t)(CAMERA_COMMAND_BASE << 22))
 #define CAMERA_COMMAND_FLASH_MODE               ((int64_t)(CAMERA_COMMAND_BASE << 23))
 #define CAMERA_COMMAND_FACE_DETECTION           ((int64_t)(CAMERA_COMMAND_BASE << 24))
+#define CAMERA_COMMAND_BITRATE                  ((int64_t)(CAMERA_COMMAND_BASE << 25))
+#define CAMERA_COMMAND_PTZ_TYPE                 ((int64_t)(CAMERA_COMMAND_BASE << 26))
+#define CAMERA_COMMAND_PAN                      ((int64_t)(CAMERA_COMMAND_BASE << 27))
+#define CAMERA_COMMAND_TILT                     ((int64_t)(CAMERA_COMMAND_BASE << 28))
+#define CAMERA_COMMAND_BRIGHTNESS               ((int64_t)(CAMERA_COMMAND_BASE << 29))
 
 
 typedef struct camera_batch_command_control {
@@ -428,6 +442,10 @@ typedef struct camera_batch_command_control {
        int wdr;
        camera_flash_mode_t flash_mode;
        camera_face_detection_t face_detection;
+       int bitrate;
+       int ptz_type;
+       int pan;
+       int tilt;
 } camera_batch_command_control_t;
 
 /**
index e76d28fa61caa3f9ccc96e21894700ce4190cf41..d120652190aead47b7454ef4195ab5e12be56f9d 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       mm-hal-interface
 Summary:    Multimedia HAL Interface
-Version:    0.0.22
+Version:    0.0.23
 Release:    0
 Group:      Multimedia/Development
 License:    Apache-2.0