From 081773336aa8c355247a78faf9b971f71e79acf0 Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Tue, 16 May 2023 16:23:20 +0900 Subject: [PATCH] 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 --- include/camera.h | 32 ++++++++++++++++---------------- packaging/capi-media-camera.spec | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/include/camera.h b/include/camera.h index aff7405..2a8baf5 100644 --- a/include/camera.h +++ b/include/camera.h @@ -489,8 +489,8 @@ typedef enum { CAMERA_ATTR_EXPOSURE_MODE_CENTER, /**< Center mode */ CAMERA_ATTR_EXPOSURE_MODE_SPOT, /**< Spot mode */ CAMERA_ATTR_EXPOSURE_MODE_CUSTOM, /**< Custom mode */ - CAMERA_ATTR_EXPOSURE_MODE_SHUTTER_PRIORITY, /**< Shutter priority mode (Since 7.5) */ - CAMERA_ATTR_EXPOSURE_MODE_APERTURE_PRIORITY /**< Aperture priority mode (Since 7.5) */ + CAMERA_ATTR_EXPOSURE_MODE_SHUTTER_PRIORITY, /**< Shutter priority mode (Since 8.0) */ + CAMERA_ATTR_EXPOSURE_MODE_APERTURE_PRIORITY /**< Aperture priority mode (Since 8.0) */ } camera_attr_exposure_mode_e; /** @@ -3078,7 +3078,7 @@ int camera_attr_get_iso(camera_h camera, camera_attr_iso_e *iso); /** * @brief Sets the gain level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[in] level The gain level * @return @c 0 on success, otherwise a negative error value @@ -3096,7 +3096,7 @@ int camera_attr_set_gain(camera_h camera, int level); /** * @brief Gets the gain level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[out] level The gain level * @return @c 0 on success, otherwise a negative error value @@ -3112,7 +3112,7 @@ int camera_attr_get_gain(camera_h camera, int *level); /** * @brief Gets the available gain level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks If the min value is greater than the max value, it means that this feature is not supported. * @param[in] camera The handle to the camera * @param[out] min The minimum gain level @@ -3130,7 +3130,7 @@ int camera_attr_get_gain_range(camera_h camera, int *min, int *max); /** * @brief Gets the gain level step. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[out] step The gain level step * @return @c 0 on success, otherwise a negative error value @@ -3437,7 +3437,7 @@ int camera_attr_get_whitebalance(camera_h camera, camera_attr_whitebalance_e *wh /** * @brief Sets the white balance temperature. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[in] temperature The white balance temperature * @return @c 0 on success, otherwise a negative error value @@ -3453,7 +3453,7 @@ int camera_attr_set_whitebalance_temperature(camera_h camera, int temperature); /** * @brief Gets the white balance temperature. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[out] temperature The white balance temperature * @return @c 0 on success, otherwise a negative error value @@ -3469,7 +3469,7 @@ int camera_attr_get_whitebalance_temperature(camera_h camera, int *temperature); /** * @brief Gets the available white balance temperature. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks If the min value is greater than the max value, it means that this feature is not supported. * @param[in] camera The handle to the camera * @param[out] min The minimum white balance temperature @@ -3487,7 +3487,7 @@ int camera_attr_get_whitebalance_temperature_range(camera_h camera, int *min, in /** * @brief Gets the step of white balance temperature. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[out] step The step of white balance temperature * @return @c 0 on success, otherwise a negative error value @@ -3503,7 +3503,7 @@ int camera_attr_get_whitebalance_temperature_step(camera_h camera, int *step); /** * @brief Sets the saturation level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[in] level The saturation level * @return @c 0 on success, otherwise a negative error value @@ -3518,7 +3518,7 @@ int camera_attr_set_saturation(camera_h camera, int level); /** * @brief Gets the saturation level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[out] level The saturation level * @return @c 0 on success, otherwise a negative error value @@ -3533,7 +3533,7 @@ int camera_attr_get_saturation(camera_h camera, int *level); /** * @brief Gets the available saturation level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks If the min value is greater than the max value, it means that this feature is not supported. * @param[in] camera The handle to the camera * @param[out] min The minimum saturation level @@ -3550,7 +3550,7 @@ int camera_attr_get_saturation_range(camera_h camera, int *min, int *max); /** * @brief Sets the sharpness level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[in] level The sharpness level * @return @c 0 on success, otherwise a negative error value @@ -3565,7 +3565,7 @@ int camera_attr_set_sharpness(camera_h camera, int level); /** * @brief Gets the sharpness level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] camera The handle to the camera * @param[out] level The sharpness level * @return @c 0 on success, otherwise a negative error value @@ -3580,7 +3580,7 @@ int camera_attr_get_sharpness(camera_h camera, int *level); /** * @brief Gets the available sharpness level. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks If the min value is greater than the max value, it means that this feature is not supported. * @param[in] camera The handle to the camera * @param[out] min The minimum sharpness level diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec index 990a825..620e736 100644 --- a/packaging/capi-media-camera.spec +++ b/packaging/capi-media-camera.spec @@ -1,6 +1,6 @@ Name: capi-media-camera Summary: A Camera API -Version: 0.4.104 +Version: 0.4.105 Release: 0 Group: Multimedia/API License: Apache-2.0 -- 2.7.4