summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeongmo Yang <jm80.yang@samsung.com>2020-06-16 18:58:37 +0900
committerJeongmo Yang <jm80.yang@samsung.com>2020-06-17 12:56:50 +0900
commit6cc973d212f36da2e3414f7be31a7223f3f64f1c (patch)
treee78a7d9eb127197a5ac177f7ed7cc37fce9f575d
parent59a6fb82c0c8d1b1df1b46f40c195e09cd1455e9 (diff)
downloadcamera-6cc973d212f36da2e3414f7be31a7223f3f64f1c.tar.gz
camera-6cc973d212f36da2e3414f7be31a7223f3f64f1c.tar.bz2
camera-6cc973d212f36da2e3414f7be31a7223f3f64f1c.zip
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>
-rw-r--r--include/camera.h856
-rw-r--r--packaging/capi-media-camera.spec2
2 files changed, 429 insertions, 429 deletions
diff --git a/include/camera.h b/include/camera.h
index 63c1739..5c0ed22 100644
--- a/include/camera.h
+++ b/include/camera.h
@@ -129,9 +129,9 @@ typedef enum {
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum {
- CAMERA_DISPLAY_TYPE_OVERLAY = 0, /**< Overlay surface display */
- CAMERA_DISPLAY_TYPE_EVAS, /**< Evas object surface display */
- CAMERA_DISPLAY_TYPE_NONE /**< This disposes off buffers */
+ CAMERA_DISPLAY_TYPE_OVERLAY = 0, /**< Overlay surface display */
+ CAMERA_DISPLAY_TYPE_EVAS, /**< Evas object surface display */
+ CAMERA_DISPLAY_TYPE_NONE /**< This disposes off buffers */
} camera_display_type_e;
/**
@@ -149,10 +149,10 @@ typedef enum {
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum {
- CAMERA_ROTATION_NONE, /**< No rotation */
- CAMERA_ROTATION_90, /**< 90 degree rotation */
- CAMERA_ROTATION_180, /**< 180 degree rotation */
- CAMERA_ROTATION_270, /**< 270 degree rotation */
+ CAMERA_ROTATION_NONE, /**< No rotation */
+ CAMERA_ROTATION_90, /**< 90 degree rotation */
+ CAMERA_ROTATION_180, /**< 180 degree rotation */
+ CAMERA_ROTATION_270, /**< 270 degree rotation */
} camera_rotation_e;
@@ -161,10 +161,10 @@ typedef enum {
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef enum {
- CAMERA_FLIP_NONE, /**< No Flip */
- CAMERA_FLIP_HORIZONTAL, /**< Horizontal flip */
- CAMERA_FLIP_VERTICAL, /**< Vertical flip */
- CAMERA_FLIP_BOTH /**< Horizontal and vertical flip */
+ CAMERA_FLIP_NONE, /**< No Flip */
+ CAMERA_FLIP_HORIZONTAL, /**< Horizontal flip */
+ CAMERA_FLIP_VERTICAL, /**< Vertical flip */
+ CAMERA_FLIP_BOTH /**< Horizontal and vertical flip */
} camera_flip_e;
/**
@@ -201,13 +201,13 @@ typedef enum {
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef struct {
- unsigned char *data; /**< The image buffer */
- unsigned int size; /**< The size of the buffer */
- int width; /**< The width of the image */
- int height; /**< The height of the image */
- camera_pixel_format_e format; /**< The format of the image pixel */
- unsigned char *exif; /**< The exif raw data */
- unsigned int exif_size; /**< The size of the exif data */
+ unsigned char *data; /**< The image buffer */
+ unsigned int size; /**< The size of the buffer */
+ int width; /**< The width of the image */
+ int height; /**< The height of the image */
+ camera_pixel_format_e format; /**< The format of the image pixel */
+ unsigned char *exif; /**< The exif raw data */
+ unsigned int exif_size; /**< The size of the exif data */
} camera_image_data_s;
/**
@@ -215,12 +215,12 @@ typedef struct {
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*/
typedef struct {
- int id; /**< The ID of each face */
- int score; /**< The confidence level for the detection of the face */
- int x; /**< The x coordinates of the face */
- int y; /**< The y coordinates of the face */
- int width; /**< The width of the face */
- int height; /**< The height of the face */
+ int id; /**< The ID of each face */
+ int score; /**< The confidence level for the detection of the face */
+ int x; /**< The x coordinates of the face */
+ int y; /**< The y coordinates of the face */
+ int width; /**< The width of the face */
+ int height; /**< The height of the face */
} camera_detected_face_s;
/**
@@ -543,8 +543,8 @@ typedef enum {
/**
* @brief Called when the camera state is changed.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] previous The previous state of the camera
- * @param[in] current The current state of the camera
+ * @param[in] previous The previous state of the camera
+ * @param[in] current The current state of the camera
* @param[in] by_policy If @c true the state is changed by policy, otherwise @c false
* @param[in] user_data The user data passed from the callback registration function
* @pre camera_start_preview(), camera_start_capture() or camera_stop_preview()
@@ -556,10 +556,10 @@ typedef void (*camera_state_changed_cb)(camera_state_e previous, camera_state_e
/**
* @brief Called when the camera device state is changed.
* @since_tizen 3.0
- * @param[in] device The hardware camera type
- * @param[in] state The state of the camera device
+ * @param[in] device The hardware camera type
+ * @param[in] state The state of the camera device
* @param[in] user_data The user data passed from the callback registration function
- * @see camera_add_device_state_changed_cb()
+ * @see camera_add_device_state_changed_cb()
*/
typedef void (*camera_device_state_changed_cb)(camera_device_e device, camera_device_state_e state, void *user_data);
@@ -567,11 +567,11 @@ typedef void (*camera_device_state_changed_cb)(camera_device_e device, camera_de
* @brief Called when the camera is interrupted by policy.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks This callback is called after interrupt handling is completed.
- * @param[in] policy The policy that interrupted the camera
- * @param[in] previous The previous state of the camera
- * @param[in] current The current state of the camera
+ * @param[in] policy The policy that interrupted the camera
+ * @param[in] previous The previous state of the camera
+ * @param[in] current The current state of the camera
* @param[in] user_data The user data passed from the callback registration function
- * @see camera_set_interrupted_cb()
+ * @see camera_set_interrupted_cb()
*/
typedef void (*camera_interrupted_cb)(camera_policy_e policy, camera_state_e previous, camera_state_e current, void *user_data);
@@ -579,8 +579,8 @@ typedef void (*camera_interrupted_cb)(camera_policy_e policy, camera_state_e pre
* @brief Called when the camera interrupt is started by policy.
* @since_tizen 4.0
* @remarks This callback is called before interrupt handling is started.
- * @param[in] policy The policy that is interrupting the camera
- * @param[in] state The current state of the camera
+ * @param[in] policy The policy that is interrupting the camera
+ * @param[in] state The current state of the camera
* @param[in] user_data The user data passed from the callback registration function
* @see camera_set_interrupt_started_cb()
*/
@@ -595,12 +595,12 @@ typedef void (*camera_interrupt_started_cb)(camera_policy_e policy, camera_state
* #CAMERA_FOCUS_STATE_FOCUSED or #CAMERA_FOCUS_STATE_FAILED.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
*
- * @param[in] state The current state of the auto-focus
+ * @param[in] state The current state of the auto-focus
* @param[in] user_data The user data passed from the callback registration function
* @pre camera_start_focusing() will invoke this callback if you register it using camera_set_focus_changed_cb().
- * @see camera_set_focus_changed_cb()
- * @see camera_unset_focus_changed_cb()
- * @see camera_start_focusing()
+ * @see camera_set_focus_changed_cb()
+ * @see camera_unset_focus_changed_cb()
+ * @see camera_start_focusing()
* @see camera_cancel_focusing()
*/
typedef void (*camera_focus_changed_cb)(camera_focus_state_e state, void *user_data);
@@ -613,12 +613,12 @@ typedef void (*camera_focus_changed_cb)(camera_focus_state_e state, void *user_d
* If the camera is used as a recorder then this callback function won't be called.
* @remarks The @a frame should not be released and it's available until the callback returns.
*
- * @param[in] frame The reference pointer to preview stream data
+ * @param[in] frame The reference pointer to preview stream data
* @param[in] user_data The user data passed from the callback registration function
- * @pre camera_start_preview() will invoke this callback function if you register this callback using camera_set_preview_cb().
- * @see camera_start_preview()
- * @see camera_set_preview_cb()
- * @see camera_unset_preview_cb()
+ * @pre camera_start_preview() will invoke this callback function if you register this callback using camera_set_preview_cb().
+ * @see camera_start_preview()
+ * @see camera_set_preview_cb()
+ * @see camera_unset_preview_cb()
*/
typedef void (*camera_preview_cb)(camera_preview_data_s *frame, void *user_data);
@@ -630,12 +630,12 @@ typedef void (*camera_preview_cb)(camera_preview_data_s *frame, void *user_data)
* If the camera is used as a recorder then this callback function won't be called.\n
* and the packet should be released by media_packet_destroy() after use.
*
- * @param[in] pkt Reference pointer to media packet
+ * @param[in] pkt Reference pointer to media packet
* @param[in] user_data The user data passed from the callback registration function
- * @pre camera_start_preview() will invoke this callback function if you register this callback using camera_set_media_packet_preview_cb().
- * @see camera_start_preview()
- * @see camera_set_media_packet_preview_cb()
- * @see camera_unset_media_packet_preview_cb()
+ * @pre camera_start_preview() will invoke this callback function if you register this callback using camera_set_media_packet_preview_cb().
+ * @see camera_start_preview()
+ * @see camera_set_media_packet_preview_cb()
+ * @see camera_unset_media_packet_preview_cb()
*/
typedef void (*camera_media_packet_preview_cb)(media_packet_h pkt, void *user_data);
@@ -646,14 +646,14 @@ typedef void (*camera_media_packet_preview_cb)(media_packet_h pkt, void *user_da
* @remarks This function is issued in the context of internal framework so the UI update code should not be directly invoked.
* You must not call camera_start_preview() within this callback.
*
- * @param[in] image The image data of the captured picture
- * @param[in] postview The image data of the postview
+ * @param[in] image The image data of the captured picture
+ * @param[in] postview The image data of the postview
* @param[in] thumbnail The image data of the thumbnail (it should be @c NULL if the available thumbnail data does not exist)
* @param[in] user_data The user data passed from the callback registration function
- * @pre camera_start_capture() or camera_start_continuous_capture() will invoke this callback function if it is registered using camera_start_capture() or camera_start_continuous_capture().
- * @see camera_start_capture()
- * @see camera_start_continuous_capture()
- * @see camera_capture_completed_cb()
+ * @pre camera_start_capture() or camera_start_continuous_capture() will invoke this callback function if it is registered using camera_start_capture() or camera_start_continuous_capture().
+ * @see camera_start_capture()
+ * @see camera_start_continuous_capture()
+ * @see camera_capture_completed_cb()
*/
typedef void (*camera_capturing_cb)(camera_image_data_s *image, camera_image_data_s *postview, camera_image_data_s *thumbnail, void *user_data);
@@ -665,10 +665,10 @@ typedef void (*camera_capturing_cb)(camera_image_data_s *image, camera_image_dat
* If you want to show the user a preview after capturing is finished, \n
* an application can use camera_start_preview() after calling this callback.
* @param[in] user_data The user data passed from the callback registration function
- * @pre This callback function is invoked if it is registered using camera_start_capture() or camera_start_continuous_capture().
- * @see camera_start_capture()
- * @see camera_start_continuous_capture()
- * @see camera_capturing_cb()
+ * @pre This callback function is invoked if it is registered using camera_start_capture() or camera_start_continuous_capture().
+ * @see camera_start_capture()
+ * @see camera_start_continuous_capture()
+ * @see camera_capturing_cb()
*/
typedef void (*camera_capture_completed_cb)(void *user_data);
@@ -682,22 +682,22 @@ typedef void (*camera_capture_completed_cb)(void *user_data);
* #CAMERA_ERROR_DEVICE,\n
* #CAMERA_ERROR_INVALID_OPERATION,\n
* #CAMERA_ERROR_OUT_OF_MEMORY.
- * @param[in] error The error code
+ * @param[in] error The error code
* @param[in] current_state The current state of the camera
- * @param[in] user_data The user data passed from the callback registration function
- * @pre This callback function is invoked if it is registered using camera_set_error_cb().
- * @see camera_set_error_cb()
- * @see camera_unset_error_cb()
+ * @param[in] user_data The user data passed from the callback registration function
+ * @pre This callback function is invoked if it is registered using camera_set_error_cb().
+ * @see camera_set_error_cb()
+ * @see camera_unset_error_cb()
*/
typedef void (*camera_error_cb)(camera_error_e error, camera_state_e current_state, void *user_data);
/**
* @brief Called when a face is detected in the preview frame.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] faces The detected face array
- * @param[in] count The length of the array
+ * @param[in] faces The detected face array
+ * @param[in] count The length of the array
* @param[in] user_data The user data passed from the callback registration function
- * @see camera_start_face_detection()
+ * @see camera_start_face_detection()
*/
typedef void (*camera_face_detected_cb)(camera_detected_face_s *faces, int count, void *user_data);
@@ -713,46 +713,46 @@ typedef void (*camera_face_detected_cb)(camera_detected_face_s *faces, int count
/**
* @brief Called once for each supported preview resolution.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] width The preview image width
- * @param[in] height The preview image height
+ * @param[in] width The preview image width
+ * @param[in] height The preview image height
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_foreach_supported_preview_resolution() will invoke this callback.
- * @see camera_foreach_supported_preview_resolution()
+ * @pre camera_foreach_supported_preview_resolution() will invoke this callback.
+ * @see camera_foreach_supported_preview_resolution()
*/
typedef bool (*camera_supported_preview_resolution_cb)(int width, int height, void *user_data);
/**
* @brief Called once for each supported capture resolution.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] width The capture resolution width
- * @param[in] height The capture resolution height
+ * @param[in] width The capture resolution width
+ * @param[in] height The capture resolution height
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_foreach_supported_capture_resolution() will invoke this callback.
- * @see camera_foreach_supported_capture_resolution()
+ * @pre camera_foreach_supported_capture_resolution() will invoke this callback.
+ * @see camera_foreach_supported_capture_resolution()
*/
typedef bool (*camera_supported_capture_resolution_cb)(int width, int height, void *user_data);
/**
* @brief Called once for the pixel format of each supported capture format.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] format The supported pixel format
+ * @param[in] format The supported pixel format
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_foreach_supported_capture_format() will invoke this callback.
- * @see camera_foreach_supported_capture_format()
+ * @pre camera_foreach_supported_capture_format() will invoke this callback.
+ * @see camera_foreach_supported_capture_format()
*/
typedef bool (*camera_supported_capture_format_cb)(camera_pixel_format_e format, void *user_data);
/**
* @brief Called once for the pixel format of each supported preview format.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] format The supported preview data format
+ * @param[in] format The supported preview data format
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_foreach_supported_preview_format() will invoke this callback.
- * @see camera_foreach_supported_preview_format()
+ * @pre camera_foreach_supported_preview_format() will invoke this callback.
+ * @see camera_foreach_supported_preview_format()
*/
typedef bool (*camera_supported_preview_format_cb)(camera_pixel_format_e format, void *user_data);
@@ -775,7 +775,7 @@ typedef bool (*camera_supported_preview_format_cb)(camera_pixel_format_e format,
* A @a camera must be released using camera_destroy().
* @remarks The privilege %http://tizen.org/privilege/camera is not required since 4.0,\n
* but it is required in all earlier versions.
- * @param[in] device The hardware camera to access
+ * @param[in] device The hardware camera to access
* @param[out] camera A newly returned handle to the camera
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -856,7 +856,7 @@ int camera_destroy(camera_h camera);
* @post If it succeeds, the camera state will be #CAMERA_STATE_PREVIEW.\n
* camera_preview_cb() will be called when preview image data becomes available.
*
- * @see camera_stop_preview()
+ * @see camera_stop_preview()
* @see camera_set_display()
* @see camera_set_preview_cb()
* @see camera_set_media_packet_preview_cb()
@@ -888,9 +888,9 @@ int camera_start_preview(camera_h camera);
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @pre The camera state must be set to #CAMERA_STATE_PREVIEW.
* @post The camera state will be #CAMERA_STATE_CREATED.
- * @see camera_start_preview()
- * @see camera_unset_preview_cb()
- * @see camera_unset_media_packet_preview_cb()
+ * @see camera_start_preview()
+ * @see camera_unset_preview_cb()
+ * @see camera_unset_media_packet_preview_cb()
*/
int camera_stop_preview(camera_h camera);
@@ -905,10 +905,10 @@ int camera_stop_preview(camera_h camera);
* The captured image will be delivered through camera_capturing_cb().\n
* camera_capture_completed_cb() callback notifies about completion of camera_capturing_cb(). \n
* The camera's preview should be restarted by calling camera_start_preview().
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] capturing_cb The callback for capturing data
* @param[in] completed_cb The callback for notification of completion
- * @param[in] user_data The user data
+ * @param[in] user_data The user data
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -947,12 +947,12 @@ int camera_start_capture(camera_h camera, camera_capturing_cb capturing_cb, came
* Each Captured image will be delivered through camera_capturing_cb().\n
* The camera_capture_completed_cb() callback notifies about the completion of an entire capture.\n
* The camera's preview should be restarted by calling camera_start_preview().\n.
- * @param[in] camera The handle to the camera
- * @param[in] count The number of still images
- * @param[in] interval The interval of the capture (millisecond)
+ * @param[in] camera The handle to the camera
+ * @param[in] count The number of still images
+ * @param[in] interval The interval of the capture (millisecond)
* @param[in] capturing_cb The callback for capturing data
* @param[in] completed_cb The callback for notification of completion
- * @param[in] user_data The user data
+ * @param[in] user_data The user data
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -996,8 +996,8 @@ int camera_stop_continuous_capture(camera_h camera);
* @brief Gets the state of the camera.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] state The current state of the camera
+ * @param[in] camera The handle to the camera
+ * @param[out] state The current state of the camera
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1018,7 +1018,7 @@ int camera_get_state(camera_h camera, camera_state_e *state);
* @privlevel public
* @privilege %http://tizen.org/privilege/camera
* @remarks If continuous status is @c true, the camera continuously tries to focus.
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] continuous The status of continuous focusing
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1055,7 +1055,7 @@ int camera_start_focusing(camera_h camera, bool continuous);
* @pre The camera state must be set to #CAMERA_STATE_PREVIEW.
*
* @see camera_start_focusing()
- * @see camera_focus_changed_cb()
+ * @see camera_focus_changed_cb()
*/
int camera_cancel_focusing(camera_h camera);
@@ -1070,8 +1070,8 @@ int camera_cancel_focusing(camera_h camera);
* To avoid #CAMERA_ERROR_INVALID_OPERATION in sub thread, ecore_thread_main_loop_begin() and
* ecore_thread_main_loop_end() can be used, but deadlock can occur if the main thread is busy.
* So, it's not recommended to use them. (Since 5.0)
- * @param[in] camera The handle to the camera
- * @param[in] type The display type
+ * @param[in] camera The handle to the camera
+ * @param[in] type The display type
* @param[in] display The display handle from #GET_DISPLAY
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1096,7 +1096,7 @@ int camera_set_display(camera_h camera, camera_display_type_e type, camera_displ
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks This function should be called before previewing (camera_start_preview()).
* @param[in] camera The handle to the camera
- * @param[in] width The preview width
+ * @param[in] width The preview width
* @param[in] height The preview height
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1108,8 +1108,8 @@ int camera_set_display(camera_h camera, camera_display_type_e type, camera_displ
* @pre The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
*
* @see camera_start_preview()
- * @see camera_get_preview_resolution()
- * @see camera_foreach_supported_preview_resolution()
+ * @see camera_get_preview_resolution()
+ * @see camera_foreach_supported_preview_resolution()
*/
int camera_set_preview_resolution(camera_h camera, int width, int height);
@@ -1117,8 +1117,8 @@ int camera_set_preview_resolution(camera_h camera, int width, int height);
* @brief Gets the resolution of the preview.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] width The preview width
+ * @param[in] camera The handle to the camera
+ * @param[out] width The preview width
* @param[out] height The preview height
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1126,8 +1126,8 @@ int camera_set_preview_resolution(camera_h camera, int width, int height);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_set_preview_resolution()
- * @see camera_foreach_supported_preview_resolution()
+ * @see camera_set_preview_resolution()
+ * @see camera_foreach_supported_preview_resolution()
*/
int camera_get_preview_resolution(camera_h camera, int *width, int *height);
@@ -1136,8 +1136,8 @@ int camera_get_preview_resolution(camera_h camera, int *width, int *height);
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks Depending on the capture resolution aspect ratio and display resolution, the recommended preview resolution is determined.
- * @param[in] camera The handle to the camera
- * @param[out] width The preview width
+ * @param[in] camera The handle to the camera
+ * @param[out] width The preview width
* @param[out] height The preview height
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1145,8 +1145,8 @@ int camera_get_preview_resolution(camera_h camera, int *width, int *height);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_set_preview_resolution()
- * @see camera_foreach_supported_preview_resolution()
+ * @see camera_set_preview_resolution()
+ * @see camera_foreach_supported_preview_resolution()
*/
int camera_get_recommended_preview_resolution(camera_h camera, int *width, int *height);
@@ -1160,8 +1160,8 @@ int camera_get_recommended_preview_resolution(camera_h camera, int *width, int *
* Internally it starts continuous focus and focusing on the detected face.\n
* When face detection is running, the camera_start_focusing(), camera_cancel_focusing(), camera_attr_set_af_mode(), camera_attr_set_af_area(), camera_attr_set_exposure_mode(), and camera_attr_set_whitebalance() settings are ignored.\n
* If camera_stop_preview() is invoked, face detection is stopped and then preview is resumed using camera_start_preview(), this method should be called again to resume face detection.
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback to notify face detection
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback to notify face detection
* @param[in] user_data The user data to be passed to the callback function
*
* @return @c 0 on success, otherwise a negative error value
@@ -1228,9 +1228,9 @@ bool camera_is_supported_continuous_capture(camera_h camera);
* @brief Retrieves all supported camera preview resolutions by invoking the callback function once for each supported camera preview resolution.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be invoked
- * @param[in] user_data The user data to be passed to the callback function
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be invoked
+ * @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1239,9 +1239,9 @@ bool camera_is_supported_continuous_capture(camera_h camera);
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function invokes camera_supported_preview_resolution_cb() repeatedly to retrieve each supported preview resolution.
*
- * @see camera_set_preview_resolution()
- * @see camera_get_preview_resolution()
- * @see camera_supported_preview_resolution_cb()
+ * @see camera_set_preview_resolution()
+ * @see camera_get_preview_resolution()
+ * @see camera_supported_preview_resolution_cb()
*/
int camera_foreach_supported_preview_resolution(camera_h camera, camera_supported_preview_resolution_cb callback, void *user_data);
@@ -1260,7 +1260,7 @@ int camera_foreach_supported_preview_resolution(camera_h camera, camera_supporte
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks This function should be called before previewing (see camera_start_preview())
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] rotation The display rotation
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1271,7 +1271,7 @@ int camera_foreach_supported_preview_resolution(camera_h camera, camera_supporte
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @see camera_start_preview()
- * @see camera_get_display_rotation()
+ * @see camera_get_display_rotation()
*/
int camera_set_display_rotation(camera_h camera, camera_rotation_e rotation);
@@ -1280,7 +1280,7 @@ int camera_set_display_rotation(camera_h camera, camera_rotation_e rotation);
* @brief Gets the display rotation.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] rotation The display rotation
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1298,7 +1298,7 @@ int camera_get_display_rotation(camera_h camera, camera_rotation_e *rotation);
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] flip The display flip
+ * @param[in] flip The display flip
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1307,7 +1307,7 @@ int camera_get_display_rotation(camera_h camera, camera_rotation_e *rotation);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_get_display_flip()
+ * @see camera_get_display_flip()
*/
int camera_set_display_flip(camera_h camera, camera_flip_e flip);
@@ -1316,8 +1316,8 @@ int camera_set_display_flip(camera_h camera, camera_flip_e flip);
* @brief Gets the display flip.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] flip The display flip
+ * @param[in] camera The handle to the camera
+ * @param[out] flip The display flip
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1333,7 +1333,7 @@ int camera_get_display_flip(camera_h camera, camera_flip_e *flip);
* @brief Sets the visible property for display.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] visible The display visibility property
*
* @return @c 0 on success, otherwise a negative error value
@@ -1351,7 +1351,7 @@ int camera_set_display_visible(camera_h camera, bool visible);
* @brief Gets the visible property of display.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] visible @c true if camera display is visible, otherwise @c false
*
* @return @c 0 on success, otherwise a negative error value
@@ -1370,7 +1370,7 @@ int camera_is_display_visible(camera_h camera, bool *visible);
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] mode The display mode
+ * @param[in] mode The display mode
*
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1387,8 +1387,8 @@ int camera_set_display_mode(camera_h camera, camera_display_mode_e mode);
* @brief Gets the display mode.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] mode The display mode
+ * @param[in] camera The handle to the camera
+ * @param[out] mode The display mode
*
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1406,7 +1406,7 @@ int camera_get_display_mode(camera_h camera, camera_display_mode_e *mode);
* @since_tizen 3.0
* @remarks If the current display type is #CAMERA_DISPLAY_TYPE_NONE, this function will return #CAMERA_ERROR_INVALID_OPERATION.
* @param[in] camera The handle to the camera
- * @param[in] hint The hint for display reuse; true - reuse the display, false - do not reuse
+ * @param[in] hint The hint for display reuse; true - reuse the display, false - do not reuse
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1423,8 +1423,8 @@ int camera_set_display_reuse_hint(camera_h camera, bool hint);
* @brief Gets the hint for display reuse.
* @since_tizen 3.0
* @remarks If the current display type is #CAMERA_DISPLAY_TYPE_NONE, this function will return #CAMERA_ERROR_INVALID_OPERATION.
- * @param[in] camera The handle to the camera
- * @param[out] hint The hint for display reuse; true - reuse the display, false - do not reuse
+ * @param[in] camera The handle to the camera
+ * @param[out] hint The hint for display reuse; true - reuse the display, false - do not reuse
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1439,7 +1439,7 @@ int camera_get_display_reuse_hint(camera_h camera, bool *hint);
* @brief Sets the resolution of the captured image.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] width The capture width
+ * @param[in] width The capture width
* @param[in] height The capture height
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1450,16 +1450,16 @@ int camera_get_display_reuse_hint(camera_h camera, bool *hint);
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @pre The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
* @see camera_start_capture()
- * @see camera_get_capture_resolution()
- * @see camera_foreach_supported_capture_resolution()
+ * @see camera_get_capture_resolution()
+ * @see camera_foreach_supported_capture_resolution()
*/
int camera_set_capture_resolution(camera_h camera, int width, int height);
/**
* @brief Gets the resolution of the captured image.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] width The capture width
+ * @param[in] camera The handle to the camera
+ * @param[out] width The capture width
* @param[out] height The capture height
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1485,9 +1485,9 @@ int camera_get_capture_resolution(camera_h camera, int *width, int *height);
* @brief Retrieves all supported camera captured resolutions by invoking the callback function once for each supported camera capture resolution.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to register
- * @param[in] user_data The user data to be passed to the callback function
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to register
+ * @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1497,7 +1497,7 @@ int camera_get_capture_resolution(camera_h camera, int *width, int *height);
* @post This function invokes camera_supported_capture_resolution_cb() repeatedly to retrieve each supported capture resolution.
* @see camera_set_capture_resolution()
* @see camera_get_capture_resolution()
- * @see camera_supported_capture_resolution_cb()
+ * @see camera_supported_capture_resolution_cb()
*/
int camera_foreach_supported_capture_resolution(camera_h camera, camera_supported_capture_resolution_cb callback, void *user_data);
@@ -1515,7 +1515,7 @@ int camera_foreach_supported_capture_resolution(camera_h camera, camera_supporte
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks This function should be called before capturing (see camera_start_capture()).
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] format The format of the image to be captured
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1524,10 +1524,10 @@ int camera_foreach_supported_capture_resolution(camera_h camera, camera_supporte
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @pre The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
+ * @pre The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
* @see camera_start_capture()
- * @see camera_get_capture_format()
- * @see camera_foreach_supported_capture_format()
+ * @see camera_get_capture_format()
+ * @see camera_foreach_supported_capture_format()
*/
int camera_set_capture_format(camera_h camera, camera_pixel_format_e format);
@@ -1535,7 +1535,7 @@ int camera_set_capture_format(camera_h camera, camera_pixel_format_e format);
* @brief Gets the format of the image to be captured.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] format The format of the image to be captured
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1543,8 +1543,8 @@ int camera_set_capture_format(camera_h camera, camera_pixel_format_e format);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_set_capture_format()
- * @see camera_foreach_supported_capture_format()
+ * @see camera_set_capture_format()
+ * @see camera_foreach_supported_capture_format()
*/
int camera_get_capture_format(camera_h camera, camera_pixel_format_e *format);
@@ -1561,9 +1561,9 @@ int camera_get_capture_format(camera_h camera, camera_pixel_format_e *format);
* @brief Retrieves all supported camera capture formats by invoking the callback function once for each supported camera capture format.
*
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be invoked
- * @param[in] user_data The user data to be passed to the callback function
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be invoked
+ * @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1571,9 +1571,9 @@ int camera_get_capture_format(camera_h camera, camera_pixel_format_e *format);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function invokes camera_supported_capture_format_cb() repeatedly to retrieve each supported capture format.
- * @see camera_set_capture_format()
- * @see camera_get_capture_format()
- * @see camera_supported_capture_format_cb()
+ * @see camera_set_capture_format()
+ * @see camera_get_capture_format()
+ * @see camera_supported_capture_format_cb()
*/
int camera_foreach_supported_capture_format(camera_h camera, camera_supported_capture_format_cb callback, void *user_data);
@@ -1601,15 +1601,15 @@ int camera_foreach_supported_capture_format(camera_h camera, camera_supported_ca
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @pre The camera state must be set to #CAMERA_STATE_CREATED.
* @see camera_start_preview()
- * @see camera_get_preview_format()
- * @see camera_foreach_supported_preview_format()
+ * @see camera_get_preview_format()
+ * @see camera_foreach_supported_preview_format()
*/
int camera_set_preview_format(camera_h camera, camera_pixel_format_e format);
/**
* @brief Gets the format of the preview stream.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] format The preview data format
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1617,15 +1617,15 @@ int camera_set_preview_format(camera_h camera, camera_pixel_format_e format);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_set_preview_format()
- * @see camera_foreach_supported_preview_format()
+ * @see camera_set_preview_format()
+ * @see camera_foreach_supported_preview_format()
*/
int camera_get_preview_format(camera_h camera, camera_pixel_format_e *format);
/**
* @brief Gets the facing direction of camera module.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] facing_direction The facing direction of camera module
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1639,8 +1639,8 @@ int camera_get_facing_direction(camera_h camera, camera_facing_direction_e *faci
/**
* @brief Gets the camera's flash state.
* @since_tizen 3.0
- * @param[in] device The hardware camera to access
- * @param[out] state The current flash state
+ * @param[in] device The hardware camera to access
+ * @param[out] state The current flash state
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_OPERATION Internal error
@@ -1663,9 +1663,9 @@ int camera_get_flash_state(camera_device_e device, camera_flash_state_e *state);
/**
* @brief Retrieves all supported camera preview formats by invoking the callback function once for each supported camera preview format.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be invoked
- * @param[in] user_data The user data to be passed to the callback function
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be invoked
+ * @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1673,9 +1673,9 @@ int camera_get_flash_state(camera_device_e device, camera_flash_state_e *state);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function invokes camera_supported_preview_format_cb() repeatedly to retrieve each supported preview format.
- * @see camera_set_preview_format()
- * @see camera_get_preview_format()
- * @see camera_supported_preview_format_cb()
+ * @see camera_set_preview_format()
+ * @see camera_get_preview_format()
+ * @see camera_supported_preview_format_cb()
*/
int camera_foreach_supported_preview_format(camera_h camera, camera_supported_preview_format_cb callback, void *user_data);
@@ -1715,7 +1715,7 @@ bool camera_is_supported_zero_shutter_lag(camera_h camera);
* @brief Gets the camera device count.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks If the device supports primary and secondary camera, this returns @c 2. If @c 1 is returned, the device only supports primary camera.
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] device_count The device count
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1764,8 +1764,8 @@ bool camera_is_supported_media_packet_preview_cb(camera_h camera);
* it could not be displayed on the device in case of copied buffer.\n
* and if camera_is_supported_media_packet_preview_cb() returns false,\n
* it's copied buffer case.
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be registered
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be registered
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1773,11 +1773,11 @@ bool camera_is_supported_media_packet_preview_cb(camera_h camera);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @pre Before 4.0 : The camera state must be set to #CAMERA_STATE_CREATED.\n
- * Since 4.0 : The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
- * @see camera_start_preview()
- * @see camera_unset_preview_cb()
- * @see camera_preview_cb()
+ * @pre Before 4.0 : The camera state must be set to #CAMERA_STATE_CREATED.\n
+ * Since 4.0 : The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
+ * @see camera_start_preview()
+ * @see camera_unset_preview_cb()
+ * @see camera_preview_cb()
*/
int camera_set_preview_cb(camera_h camera, camera_preview_cb callback, void *user_data);
@@ -1805,8 +1805,8 @@ int camera_unset_preview_cb(camera_h camera);
* The callback function holds the same buffer that will be drawn on the display device.\n
* So if you change the media packet in a registered callback, it will be displayed on the device\n
* and the media packet is available until it's destroyed by media_packet_destroy().
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be registered
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be registered
* @param[in] user_data The user data to be passed to the callback function
* @return 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1814,10 +1814,10 @@ int camera_unset_preview_cb(camera_h camera);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @pre The camera's state should be #CAMERA_STATE_CREATED.
- * @see camera_start_preview()
- * @see camera_unset_media_packet_preview_cb()
- * @see camera_media_packet_preview_cb()
+ * @pre The camera's state should be #CAMERA_STATE_CREATED.
+ * @see camera_start_preview()
+ * @see camera_unset_media_packet_preview_cb()
+ * @see camera_media_packet_preview_cb()
*/
int camera_set_media_packet_preview_cb(camera_h camera, camera_media_packet_preview_cb callback, void *user_data);
@@ -1831,15 +1831,15 @@ int camera_set_media_packet_preview_cb(camera_h camera, camera_media_packet_prev
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_set_media_packet_preview_cb()
+ * @see camera_set_media_packet_preview_cb()
*/
int camera_unset_media_packet_preview_cb(camera_h camera);
/**
* @brief Registers a callback function to be called when the camera state changes.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to register
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to register
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1849,7 +1849,7 @@ int camera_unset_media_packet_preview_cb(camera_h camera);
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function will invoke camera_state_changed_cb() when the camera state changes.
* @see camera_unset_state_changed_cb()
- * @see camera_state_changed_cb()
+ * @see camera_state_changed_cb()
*/
int camera_set_state_changed_cb(camera_h camera, camera_state_changed_cb callback, void *user_data);
@@ -1870,8 +1870,8 @@ int camera_unset_state_changed_cb(camera_h camera);
/**
* @brief Registers a callback function to be called when the camera is interrupted by policy.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to register
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to register
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1880,7 +1880,7 @@ int camera_unset_state_changed_cb(camera_h camera);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @see camera_unset_interrupted_cb()
- * @see camera_interrupted_cb()
+ * @see camera_interrupted_cb()
*/
int camera_set_interrupted_cb(camera_h camera, camera_interrupted_cb callback, void *user_data);
@@ -1901,8 +1901,8 @@ int camera_unset_interrupted_cb(camera_h camera);
/**
* @brief Registers a callback function to be called when the camera interrupt is started by policy.
* @since_tizen 4.0
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to register
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to register
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1926,9 +1926,9 @@ int camera_unset_interrupt_started_cb(camera_h camera);
/**
* @brief Registers a callback function to be called when the auto-focus state changes.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to register
- * @param[in] user_data The user data to be passed to the callback function
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to register
+ * @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -1936,10 +1936,10 @@ int camera_unset_interrupt_started_cb(camera_h camera);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function will invoke camera_focus_changed_cb() when the auto-focus state changes.
- * @see camera_start_focusing()
- * @see camera_cancel_focusing()
- * @see camera_unset_focus_changed_cb()
- * @see camera_focus_changed_cb()
+ * @see camera_start_focusing()
+ * @see camera_cancel_focusing()
+ * @see camera_unset_focus_changed_cb()
+ * @see camera_focus_changed_cb()
*/
int camera_set_focus_changed_cb(camera_h camera, camera_focus_changed_cb callback, void *user_data);
@@ -1966,8 +1966,8 @@ int camera_unset_focus_changed_cb(camera_h camera);
* #CAMERA_ERROR_DEVICE,\n
* #CAMERA_ERROR_INVALID_OPERATION,\n
* #CAMERA_ERROR_OUT_OF_MEMORY.
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to register
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to register
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -1978,7 +1978,7 @@ int camera_unset_focus_changed_cb(camera_h camera);
* @post This function will invoke camera_error_cb() when an asynchronous operation error occurs.
* @see camera_unset_error_cb()
- * @see camera_error_cb()
+ * @see camera_error_cb()
*/
int camera_set_error_cb(camera_h camera, camera_error_cb callback, void *user_data);
@@ -1999,8 +1999,8 @@ int camera_unset_error_cb(camera_h camera);
/**
* @brief Gets the state of camera device.
* @since_tizen 3.0
- * @param[in] device The hardware camera type
- * @param[out] state The current state of the device
+ * @param[in] device The hardware camera type
+ * @param[out] state The current state of the device
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2012,9 +2012,9 @@ int camera_get_device_state(camera_device_e device, camera_device_state_e *state
/**
* @brief Registers a callback function to be called when the camera device state changes.
* @since_tizen 3.0
- * @param[in] callback The callback function to register
- * @param[in] user_data The user data to be passed to the callback function
- * @param[out] cb_id The id of registered callback
+ * @param[in] callback The callback function to register
+ * @param[in] user_data The user data to be passed to the callback function
+ * @param[out] cb_id The id of registered callback
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2052,135 +2052,135 @@ int camera_remove_device_state_changed_cb(int cb_id);
/**
* @brief Called to get each supported auto-focus mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] mode The supported auto-focus mode
+ * @param[in] mode The supported auto-focus mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_attr_foreach_supported_af_mode() will invoke this callback.
- * @see camera_attr_foreach_supported_af_mode()
+ * @pre camera_attr_foreach_supported_af_mode() will invoke this callback.
+ * @see camera_attr_foreach_supported_af_mode()
*/
typedef bool (*camera_attr_supported_af_mode_cb)(camera_attr_af_mode_e mode, void *user_data);
/**
* @brief Called to get each supported exposure mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] mode The supported exposure mode
+ * @param[in] mode The supported exposure mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_attr_foreach_supported_exposure_mode() will invoke this callback.
- * @see camera_attr_foreach_supported_exposure_mode()
- * @see #camera_attr_exposure_mode_e
+ * @pre camera_attr_foreach_supported_exposure_mode() will invoke this callback.
+ * @see camera_attr_foreach_supported_exposure_mode()
+ * @see #camera_attr_exposure_mode_e
*/
typedef bool (*camera_attr_supported_exposure_mode_cb)(camera_attr_exposure_mode_e mode, void *user_data);
/**
* @brief Called to get each supported ISO mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] iso The supported ISO mode
+ * @param[in] iso The supported ISO mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_attr_foreach_supported_iso() will invoke this callback.
- * @see camera_attr_foreach_supported_iso()
+ * @pre camera_attr_foreach_supported_iso() will invoke this callback.
+ * @see camera_attr_foreach_supported_iso()
*/
typedef bool (*camera_attr_supported_iso_cb)(camera_attr_iso_e iso, void *user_data);
/**
* @brief Called to get each supported white balance.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] wb The supported white balance mode
+ * @param[in] wb The supported white balance mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_attr_foreach_supported_whitebalance() will invoke this callback.
- * @see camera_attr_foreach_supported_whitebalance()
- * @see #camera_attr_whitebalance_e
+ * @pre camera_attr_foreach_supported_whitebalance() will invoke this callback.
+ * @see camera_attr_foreach_supported_whitebalance()
+ * @see #camera_attr_whitebalance_e
*/
typedef bool (*camera_attr_supported_whitebalance_cb)(camera_attr_whitebalance_e wb, void *user_data);
/**
* @brief Called to get each supported effect mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] effect The supported effect mode
+ * @param[in] effect The supported effect mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_attr_foreach_supported_effect() will invoke this callback.
- * @see camera_attr_foreach_supported_effect()
+ * @pre camera_attr_foreach_supported_effect() will invoke this callback.
+ * @see camera_attr_foreach_supported_effect()
*/
typedef bool (*camera_attr_supported_effect_cb)(camera_attr_effect_mode_e effect, void *user_data);
/**
* @brief Called to get each supported scene mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] mode The supported scene mode
+ * @param[in] mode The supported scene mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_attr_foreach_supported_scene_mode() will invoke this callback.
- * @see camera_attr_foreach_supported_scene_mode()
- * @see #camera_attr_scene_mode_e
+ * @pre camera_attr_foreach_supported_scene_mode() will invoke this callback.
+ * @see camera_attr_foreach_supported_scene_mode()
+ * @see #camera_attr_scene_mode_e
*/
typedef bool (*camera_attr_supported_scene_mode_cb)(camera_attr_scene_mode_e mode, void *user_data);
/**
* @brief Called to get each supported flash mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] mode The supported flash mode
+ * @param[in] mode The supported flash mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_attr_foreach_supported_flash_mode() will invoke this callback.
- * @see camera_attr_foreach_supported_flash_mode()
+ * @pre camera_attr_foreach_supported_flash_mode() will invoke this callback.
+ * @see camera_attr_foreach_supported_flash_mode()
*/
typedef bool (*camera_attr_supported_flash_mode_cb)(camera_attr_flash_mode_e mode, void *user_data);
/**
* @brief Called to get each supported FPS mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] fps The supported FPS mode
+ * @param[in] fps The supported FPS mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n otherwise @c false to break out of the loop
- * @pre camera_attr_foreach_supported_fps() will invoke this callback.
- * @see camera_attr_foreach_supported_fps()
+ * @pre camera_attr_foreach_supported_fps() will invoke this callback.
+ * @see camera_attr_foreach_supported_fps()
*/
typedef bool (*camera_attr_supported_fps_cb)(camera_attr_fps_e fps, void *user_data);
/**
* @brief Called to get each supported stream flip mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] flip The supported stream flip mode
+ * @param[in] flip The supported stream flip mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n @c false to break out of the loop
- * @pre camera_attr_foreach_supported_stream_flip() will invoke this callback.
- * @see camera_attr_foreach_supported_stream_flip()
+ * @pre camera_attr_foreach_supported_stream_flip() will invoke this callback.
+ * @see camera_attr_foreach_supported_stream_flip()
*/
typedef bool (*camera_attr_supported_stream_flip_cb)(camera_flip_e flip, void *user_data);
/**
* @brief Called to get each supported stream rotation mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] rotation The supported stream rotation mode
+ * @param[in] rotation The supported stream rotation mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n @c false to break out of the loop
- * @pre camera_attr_foreach_supported_stream_rotation() will invoke this callback.
- * @see camera_attr_foreach_supported_stream_rotation()
+ * @pre camera_attr_foreach_supported_stream_rotation() will invoke this callback.
+ * @see camera_attr_foreach_supported_stream_rotation()
*/
typedef bool (*camera_attr_supported_stream_rotation_cb)(camera_rotation_e rotation, void *user_data);
/**
* @brief Called to get each supported theater mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] mode The supported theater mode
+ * @param[in] mode The supported theater mode
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n @c false to break out of the loop
- * @pre camera_attr_foreach_supported_theater_mode() will invoke this callback.
- * @see camera_attr_foreach_supported_theater_mode()
+ * @pre camera_attr_foreach_supported_theater_mode() will invoke this callback.
+ * @see camera_attr_foreach_supported_theater_mode()
*/
typedef bool (*camera_attr_supported_theater_mode_cb)(camera_attr_theater_mode_e mode, void *user_data);
/**
* @brief Called to get each supported PTZ (Pan Tilt Zoom) type.
* @since_tizen 3.0
- * @param[in] type The supported ptz type
+ * @param[in] type The supported ptz type
* @param[in] user_data The user data passed from the foreach function
* @return @c true to continue with the next iteration of the loop, \n @c false to break out of the loop
- * @pre camera_attr_foreach_supported_ptz_mode() will invoke this callback.
- * @see camera_attr_foreach_supported_ptz_mode()
+ * @pre camera_attr_foreach_supported_ptz_mode() will invoke this callback.
+ * @see camera_attr_foreach_supported_ptz_mode()
*/
typedef bool (*camera_attr_supported_ptz_type_cb)(camera_attr_ptz_type_e type, void *user_data);
@@ -2199,7 +2199,7 @@ typedef bool (*camera_attr_supported_ptz_type_cb)(camera_attr_ptz_type_e type, v
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks This function should be called before previewing (see camera_start_preview()).
* @param[in] camera The handle to the camera
- * @param[in] fps The frame rate
+ * @param[in] fps The frame rate
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2209,24 +2209,24 @@ typedef bool (*camera_attr_supported_ptz_type_cb)(camera_attr_ptz_type_e type, v
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @pre The camera state must be set to #CAMERA_STATE_CREATED.
* @see camera_start_preview()
- * @see camera_attr_get_preview_fps()
- * @see camera_attr_foreach_supported_fps()
+ * @see camera_attr_get_preview_fps()
+ * @see camera_attr_foreach_supported_fps()
*/
int camera_attr_set_preview_fps(camera_h camera, camera_attr_fps_e fps);
/**
* @brief Gets the frames per second of a preview video stream.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] fps The frames per second of the preview video stream
+ * @param[in] camera The handle to the camera
+ * @param[out] fps The frames per second of the preview video stream
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_set_preview_fps()
- * @see camera_attr_foreach_supported_fps()
+ * @see camera_attr_set_preview_fps()
+ * @see camera_attr_foreach_supported_fps()
*/
int camera_attr_get_preview_fps(camera_h camera, camera_attr_fps_e *fps);
@@ -2242,8 +2242,8 @@ int camera_attr_get_preview_fps(camera_h camera, camera_attr_fps_e *fps);
/**
* @brief Retrieves all supported FPS modes by invoking the callback function once for each supported FPS mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2252,19 +2252,19 @@ int camera_attr_get_preview_fps(camera_h camera, camera_attr_fps_e *fps);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function invokes camera_attr_supported_fps_cb() repeatedly to get each supported FPS mode.
- * @see camera_attr_set_preview_fps()
- * @see camera_attr_get_preview_fps()
- * @see camera_attr_supported_fps_cb()
+ * @see camera_attr_set_preview_fps()
+ * @see camera_attr_get_preview_fps()
+ * @see camera_attr_supported_fps_cb()
*/
int camera_attr_foreach_supported_fps(camera_h camera, camera_attr_supported_fps_cb callback, void *user_data);
/**
* @brief Retrieves all supported FPS modes by invoking the callback function once for each supported FPS mode.
* @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif
- * @param[in] camera The handle to the camera
- * @param[in] width Required preview resolution's width
- * @param[in] height Required preview resolution's height
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] width Required preview resolution's width
+ * @param[in] height Required preview resolution's height
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2273,9 +2273,9 @@ int camera_attr_foreach_supported_fps(camera_h camera, camera_attr_supported_fps
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function invokes camera_attr_supported_fps_cb() repeatedly to get each supported FPS mode.
- * @see camera_attr_set_preview_fps()
- * @see camera_attr_get_preview_fps()
- * @see camera_attr_supported_fps_cb()
+ * @see camera_attr_set_preview_fps()
+ * @see camera_attr_get_preview_fps()
+ * @see camera_attr_supported_fps_cb()
*/
int camera_attr_foreach_supported_fps_by_resolution(camera_h camera, int width, int height, camera_attr_supported_fps_cb callback, void *user_data);
@@ -2292,7 +2292,7 @@ int camera_attr_foreach_supported_fps_by_resolution(camera_h camera, int width,
* @brief Sets quality of the image.
* @details The range for image quality is 1 to 100. If @a quality is out of range, #CAMERA_ERROR_INVALID_PARAMETER error occurred.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] quality The quality of image (1 ~ 100)
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2303,14 +2303,14 @@ int camera_attr_foreach_supported_fps_by_resolution(camera_h camera, int width,
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @pre The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
* @see camera_start_preview()
- * @see camera_attr_get_image_quality()
+ * @see camera_attr_get_image_quality()
*/
int camera_attr_set_image_quality(camera_h camera, int quality);
/**
* @brief Gets the quality of a still image, which is captured.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] quality The quality of the image(1 ~ 100)
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2325,7 +2325,7 @@ int camera_attr_get_image_quality(camera_h camera, int *quality);
/**
* @brief Gets the bit rate of encoded preview.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] bitrate The bit rate of encoded preview
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2342,7 +2342,7 @@ int camera_attr_get_encoded_preview_bitrate(camera_h camera, int *bitrate);
* @since_tizen 3.0
* @remarks The recommended range is from 1,000 (1 kbps) to 100,000,000 (100 Mbps). \n
* But, due to codec limitations, it may not apply.
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] bitrate The bit rate of encoded preview
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2357,8 +2357,8 @@ int camera_attr_set_encoded_preview_bitrate(camera_h camera, int bitrate);
/**
* @brief Gets the GOP (Group Of Pictures) interval of encoded preview.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
- * @param[out] interval the GOP interval of encoded preview (millisecond)
+ * @param[in] camera The handle to the camera
+ * @param[out] interval The GOP interval of encoded preview (millisecond)
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_OPERATION Internal error
@@ -2374,8 +2374,8 @@ int camera_attr_get_encoded_preview_gop_interval(camera_h camera, int *interval)
* @since_tizen 3.0
* @remarks The recommended range is from 1,000 (1 second) to 600,000 (10 minutes). \n
* But, due to codec limitations, it may not apply.
- * @param[in] camera The handle to the camera
- * @param[in] interval the GOP interval of encoded preview (millisecond)
+ * @param[in] camera The handle to the camera
+ * @param[in] interval The GOP interval of encoded preview (millisecond)
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_OPERATION Internal error
@@ -2391,7 +2391,7 @@ int camera_attr_set_encoded_preview_gop_interval(camera_h camera, int interval);
* @details The range for the zoom level is received from camera_attr_get_zoom_range(). If @a zoom is out of range, the #CAMERA_ERROR_INVALID_PARAMETER error occurs.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] zoom The zoom level
+ * @param[in] zoom The zoom level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2408,8 +2408,8 @@ int camera_attr_set_zoom(camera_h camera, int zoom);
/**
* @brief Gets the zoom level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] zoom The zoom level
+ * @param[in] camera The handle to the camera
+ * @param[out] zoom The zoom level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2425,9 +2425,9 @@ int camera_attr_get_zoom(camera_h camera, int *zoom);
* @brief Gets the available zoom level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @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 zoom level
- * @param[out] max The maximum zoom level
+ * @param[in] camera The handle to the camera
+ * @param[out] min The minimum zoom level
+ * @param[out] max The maximum zoom level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2444,7 +2444,7 @@ int camera_attr_get_zoom_range(camera_h camera, int *min, int *max);
* @brief Sets the auto focus mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] mode The auto focus mode
+ * @param[in] mode The auto focus mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2453,17 +2453,17 @@ int camera_attr_get_zoom_range(camera_h camera, int *min, int *max);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @pre The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
- * @see camera_attr_get_af_mode()
- * @see camera_attr_foreach_supported_af_mode()
- * @see #camera_attr_af_mode_e
+ * @see camera_attr_get_af_mode()
+ * @see camera_attr_foreach_supported_af_mode()
+ * @see #camera_attr_af_mode_e
*/
int camera_attr_set_af_mode(camera_h camera, camera_attr_af_mode_e mode);
/**
* @brief Gets the auto focus mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] mode The auto focus mode
+ * @param[in] camera The handle to the camera
+ * @param[out] mode The auto focus mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2472,7 +2472,7 @@ int camera_attr_set_af_mode(camera_h camera, camera_attr_af_mode_e mode);
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @see camera_attr_foreach_supported_af_mode()
* @see camera_attr_set_af_mode()
- * @see #camera_attr_af_mode_e
+ * @see #camera_attr_af_mode_e
*/
int camera_attr_get_af_mode(camera_h camera, camera_attr_af_mode_e *mode);
@@ -2482,8 +2482,8 @@ int camera_attr_get_af_mode(camera_h camera, camera_attr_af_mode_e *mode);
* @remarks This API is invalid in the #CAMERA_ATTR_AF_NONE mode.\n
* The coordinates are mapped to preview area.
* @param[in] camera The handle to the camera
- * @param[in] x The x coordinates of the focus area
- * @param[in] y The y coordinates of the focus area
+ * @param[in] x The x coordinates of the focus area
+ * @param[in] y The y coordinates of the focus area
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2527,8 +2527,8 @@ int camera_attr_clear_af_area(camera_h camera);
/**
* @brief Retrieves all supported auto focus modes by invoking the callback function once for each supported auto focus mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2539,7 +2539,7 @@ int camera_attr_clear_af_area(camera_h camera);
* @post This function invokes camera_attr_supported_af_mode_cb() to get all the supported auto focus modes.
* @see camera_attr_set_af_mode()
* @see camera_attr_get_af_mode()
- * @see camera_attr_supported_af_mode_cb()
+ * @see camera_attr_supported_af_mode_cb()
*/
int camera_attr_foreach_supported_af_mode(camera_h camera, camera_attr_supported_af_mode_cb callback, void *user_data);
@@ -2556,7 +2556,7 @@ int camera_attr_foreach_supported_af_mode(camera_h camera, camera_attr_supported
* @brief Sets the exposure mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] mode The exposure mode
+ * @param[in] mode The exposure mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2573,8 +2573,8 @@ int camera_attr_set_exposure_mode(camera_h camera, camera_attr_exposure_mode_e m
/**
* @brief Gets the exposure mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] mode The exposure mode
+ * @param[in] camera The handle to the camera
+ * @param[out] mode The exposure mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2598,8 +2598,8 @@ int camera_attr_get_exposure_mode(camera_h camera, camera_attr_exposure_mode_e *
/**
* @brief Retrieves all supported exposure modes by invoking the callback function once for each supported exposure mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be invoked
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be invoked
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2610,7 +2610,7 @@ int camera_attr_get_exposure_mode(camera_h camera, camera_attr_exposure_mode_e *
* @post This function invokes camera_attr_supported_exposure_mode_cb() to get all the supported exposure modes.
* @see camera_attr_set_exposure_mode()
* @see camera_attr_get_exposure_mode()
- * @see camera_attr_supported_exposure_mode_cb()
+ * @see camera_attr_supported_exposure_mode_cb()
*/
int camera_attr_foreach_supported_exposure_mode(camera_h camera, camera_attr_supported_exposure_mode_cb callback, void *user_data);
@@ -2627,29 +2627,29 @@ int camera_attr_foreach_supported_exposure_mode(camera_h camera, camera_attr_sup
* @brief Sets the exposure value.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] value The exposure value
+ * @param[in] value The exposure value
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_get_exposure()
+ * @see camera_attr_get_exposure()
*/
int camera_attr_set_exposure(camera_h camera, int value);
/**
* @brief Gets the exposure value.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] value The exposure value
+ * @param[in] camera The handle to the camera
+ * @param[out] value The exposure value
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_set_exposure()
+ * @see camera_attr_set_exposure()
*/
int camera_attr_get_exposure(camera_h camera, int *value);
@@ -2657,16 +2657,16 @@ int camera_attr_get_exposure(camera_h camera, int *value);
* @brief Gets the available exposure value.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @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 exposure value
- * @param[out] max The maximum exposure value
+ * @param[in] camera The handle to the camera
+ * @param[out] min The minimum exposure value
+ * @param[out] max The maximum exposure value
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_set_exposure()
+ * @see camera_attr_set_exposure()
*/
int camera_attr_get_exposure_range(camera_h camera, int *min, int *max);
@@ -2674,7 +2674,7 @@ int camera_attr_get_exposure_range(camera_h camera, int *min, int *max);
* @brief Sets the ISO level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] iso The ISO level
+ * @param[in] iso The ISO level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2683,7 +2683,7 @@ int camera_attr_get_exposure_range(camera_h camera, int *min, int *max);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @pre The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
- * @see camera_attr_get_iso()
+ * @see camera_attr_get_iso()
* @see camera_attr_foreach_supported_iso()
*/
int camera_attr_set_iso(camera_h camera, camera_attr_iso_e iso);
@@ -2691,15 +2691,15 @@ int camera_attr_set_iso(camera_h camera, camera_attr_iso_e iso);
/**
* @brief Gets the ISO level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] iso The ISO level
+ * @param[in] camera The handle to the camera
+ * @param[out] iso The ISO level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_set_iso()
+ * @see camera_attr_set_iso()
* @see camera_attr_foreach_supported_iso()
*/
int camera_attr_get_iso(camera_h camera, camera_attr_iso_e *iso);
@@ -2716,9 +2716,9 @@ int camera_attr_get_iso(camera_h camera, camera_attr_iso_e *iso);
/**
* @brief Retrieves all supported ISO levels by invoking the callback function once for each supported ISO level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be invoked
- * @param[in] user_data The user data to be passed to the callback function
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be invoked
+ * @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2726,9 +2726,9 @@ int camera_attr_get_iso(camera_h camera, camera_attr_iso_e *iso);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function invokes camera_attr_supported_iso_cb() to get all the supported ISO levels.
- * @see camera_attr_set_iso()
+ * @see camera_attr_set_iso()
* @see camera_attr_get_iso()
- * @see camera_attr_supported_iso_cb()
+ * @see camera_attr_supported_iso_cb()
*/
int camera_attr_foreach_supported_iso(camera_h camera, camera_attr_supported_iso_cb callback, void *user_data);
@@ -2746,30 +2746,30 @@ int camera_attr_foreach_supported_iso(camera_h camera, camera_attr_supported_iso
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks If you want to display the preview image on the external display with the full screen mode, use this function.
* @param[in] camera The handle to the camera
- * @param[in] mode The mode to change
+ * @param[in] mode The theater mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @pre This function is valid only when the external display is connected.
- * @see camera_attr_get_theater_mode()
+ * @pre This function is valid only when the external display is connected.
+ * @see camera_attr_get_theater_mode()
*/
int camera_attr_set_theater_mode(camera_h camera, camera_attr_theater_mode_e mode);
/**
* @brief Gets the theater mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] mode Current theater mode
+ * @param[in] camera The handle to the camera
+ * @param[out] mode The theater mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_get_theater_mode()
+ * @see camera_attr_get_theater_mode()
*/
int camera_attr_get_theater_mode(camera_h camera, camera_attr_theater_mode_e *mode);
@@ -2785,8 +2785,8 @@ int camera_attr_get_theater_mode(camera_h camera, camera_attr_theater_mode_e *mo
/**
* @brief Retrieves all supported theater modes by invoking callback function once for each supported theater modes.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be invoked
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be invoked
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2797,7 +2797,7 @@ int camera_attr_get_theater_mode(camera_h camera, camera_attr_theater_mode_e *mo
* @post This function invokes camera_attr_supported_theater_mode_cb() to get all supported theater modes.
* @see camera_attr_set_theater_mode()
* @see camera_attr_get_theater_mode()
- * @see camera_attr_supported_theater_mode_cb()
+ * @see camera_attr_supported_theater_mode_cb()
*/
int camera_attr_foreach_supported_theater_mode(camera_h camera, camera_attr_supported_theater_mode_cb callback, void *user_data);
@@ -2834,8 +2834,8 @@ int camera_attr_set_brightness(camera_h camera, int level);
/**
* @brief Gets the brightness level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] level The brightness level
+ * @param[in] camera The handle to the camera
+ * @param[out] level The brightness level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2851,9 +2851,9 @@ int camera_attr_get_brightness(camera_h camera, int *level);
* @brief Gets the available brightness level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @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 brightness level
- * @param[out] max The maximum brightness level
+ * @param[in] camera The handle to the camera
+ * @param[out] min The minimum brightness level
+ * @param[out] max The maximum brightness level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2869,7 +2869,7 @@ int camera_attr_get_brightness_range(camera_h camera, int *min, int *max);
* @brief Sets the contrast level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] level The contrast level
+ * @param[in] level The contrast level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2886,8 +2886,8 @@ int camera_attr_set_contrast(camera_h camera, int level);
/**
* @brief Gets the contrast level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] level The contrast level
+ * @param[in] camera The handle to the camera
+ * @param[out] level The contrast level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2903,9 +2903,9 @@ int camera_attr_get_contrast(camera_h camera, int *level);
* @brief Gets the available contrast level.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @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 contrast level
- * @param[out] max The maximum contrast level
+ * @param[in] camera The handle to the camera
+ * @param[out] min The minimum contrast level
+ * @param[out] max The maximum contrast level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2921,7 +2921,7 @@ int camera_attr_get_contrast_range(camera_h camera, int *min, int *max);
* @brief Sets the hue level.
* @since_tizen 5.0
* @param[in] camera The handle to the camera
- * @param[in] level The hue level
+ * @param[in] level The hue level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2934,8 +2934,8 @@ int camera_attr_set_hue(camera_h camera, int level);
/**
* @brief Gets the hue level.
* @since_tizen 5.0
- * @param[in] camera The handle to the camera
- * @param[out] level The hue level
+ * @param[in] camera The handle to the camera
+ * @param[out] level The hue level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2949,9 +2949,9 @@ int camera_attr_get_hue(camera_h camera, int *level);
* @brief Gets the available hue level.
* @since_tizen 5.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 hue level
- * @param[out] max The maximum hue level
+ * @param[in] camera The handle to the camera
+ * @param[out] min The minimum hue level
+ * @param[out] max The maximum hue level
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -2964,7 +2964,7 @@ int camera_attr_get_hue_range(camera_h camera, int *min, int *max);
/**
* @brief Sets the white balance mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] whitebalance The white balance mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -2982,7 +2982,7 @@ int camera_attr_set_whitebalance(camera_h camera, camera_attr_whitebalance_e whi
/**
* @brief Gets the white balance mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] whitebalance The white balance mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3007,8 +3007,8 @@ int camera_attr_get_whitebalance(camera_h camera, camera_attr_whitebalance_e *wh
/**
* @brief Retrieves all supported white balances by invoking the callback function once for each supported white balance.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to be invoked
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to be invoked
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3019,7 +3019,7 @@ int camera_attr_get_whitebalance(camera_h camera, camera_attr_whitebalance_e *wh
* @post This function invokes camera_attr_supported_whitebalance_cb() to get all the supported white balances.
* @see camera_attr_set_whitebalance()
* @see camera_attr_get_whitebalance()
- * @see camera_attr_supported_whitebalance_cb()
+ * @see camera_attr_supported_whitebalance_cb()
*/
int camera_attr_foreach_supported_whitebalance(camera_h camera, camera_attr_supported_whitebalance_cb callback, void *user_data);
@@ -3054,7 +3054,7 @@ int camera_attr_set_effect(camera_h camera, camera_attr_effect_mode_e effect);
/**
* @brief Gets the camera effect mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] effect The camera effect mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3079,8 +3079,8 @@ int camera_attr_get_effect(camera_h camera, camera_attr_effect_mode_e *effect);
/**
* @brief Retrieves all supported effect modes by invoking the callback function once for each supported effect mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3091,7 +3091,7 @@ int camera_attr_get_effect(camera_h camera, camera_attr_effect_mode_e *effect);
* @post This function invokes camera_attr_supported_effect_cb() to get all the supported effect modes.
* @see camera_attr_set_effect()
* @see camera_attr_get_effect()
- * @see camera_attr_supported_effect_cb()
+ * @see camera_attr_supported_effect_cb()
*/
int camera_attr_foreach_supported_effect(camera_h camera, camera_attr_supported_effect_cb callback, void *user_data);
@@ -3108,7 +3108,7 @@ int camera_attr_foreach_supported_effect(camera_h camera, camera_attr_supported_
* @brief Sets the scene mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] mode The scene mode
+ * @param[in] mode The scene mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3125,15 +3125,15 @@ int camera_attr_set_scene_mode(camera_h camera, camera_attr_scene_mode_e mode);
/**
* @brief Gets the scene mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] mode The scene mode
+ * @param[in] camera The handle to the camera
+ * @param[out] mode The scene mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_foreach_supported_scene_mode()
+ * @see camera_attr_foreach_supported_scene_mode()
* @see camera_attr_set_scene_mode()
*/
int camera_attr_get_scene_mode(camera_h camera, camera_attr_scene_mode_e *mode);
@@ -3150,8 +3150,8 @@ int camera_attr_get_scene_mode(camera_h camera, camera_attr_scene_mode_e *mode);
/**
* @brief Retrieves all supported scene modes by invoking the callback function once for each supported scene mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3160,7 +3160,7 @@ int camera_attr_get_scene_mode(camera_h camera, camera_attr_scene_mode_e *mode);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function invokes camera_attr_supported_scene_mode_cb() to get all the supported scene modes.
- * @see camera_attr_set_scene_mode()
+ * @see camera_attr_set_scene_mode()
* @see camera_attr_get_scene_mode()
* @see camera_attr_supported_scene_mode_cb()
*/
@@ -3193,7 +3193,7 @@ int camera_attr_enable_tag(camera_h camera, bool enable);
/**
* @brief Gets the value that indicates whether writing EXIF(Exchangeable image file format) tags in a JPEG file is enabled.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] enabled If @c true camera information is enabled, otherwise @c false
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3208,7 +3208,7 @@ int camera_attr_is_enabled_tag(camera_h camera, bool *enabled);
/**
* @brief Sets the camera image description in the EXIF(Exchangeable image file format) tag.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] description The string with description
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3224,7 +3224,7 @@ int camera_attr_set_tag_image_description(camera_h camera, const char *descripti
* @brief Gets the camera image description in EXIF(Exchangeable image file format) tag.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks You must release @a description using free().
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] description A pointer to a string
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3239,7 +3239,7 @@ int camera_attr_get_tag_image_description(camera_h camera, char **description);
/**
* @brief Sets the camera orientation in the EXIF(Exchangeable image file format) tag.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] orientation The camera orientation
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3247,14 +3247,14 @@ int camera_attr_get_tag_image_description(camera_h camera, char **description);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_get_tag_orientation()
+ * @see camera_attr_get_tag_orientation()
*/
int camera_attr_set_tag_orientation(camera_h camera, camera_attr_tag_orientation_e orientation);
/**
* @brief Gets the camera orientation in the EXIF(Exchangeable image file format) tag.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] orientation The camera orientation
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3262,14 +3262,14 @@ int camera_attr_set_tag_orientation(camera_h camera, camera_attr_tag_orientation
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @see camera_attr_set_tag_orientation()
+ * @see camera_attr_set_tag_orientation()
*/
int camera_attr_get_tag_orientation(camera_h camera, camera_attr_tag_orientation_e *orientation);
/**
* @brief Sets the software information in the EXIF(Exchangeable image file format) tag.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] software The software information tag
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3285,7 +3285,7 @@ int camera_attr_set_tag_software(camera_h camera, const char *software);
* @brief Gets the software information in the EXIF(Exchangeable image file format) tag.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks You must release @a software using free().
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] software A pointer to a string
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3300,10 +3300,10 @@ int camera_attr_get_tag_software(camera_h camera, char **software);
/**
* @brief Sets the geotag(GPS data) in the EXIF(Exchangeable image file format) tag.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] latitude The latitude data
+ * @param[in] camera The handle to the camera
+ * @param[in] latitude The latitude data
* @param[in] longitude The longitude data
- * @param[in] altitude The altitude data
+ * @param[in] altitude The altitude data
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3320,10 +3320,10 @@ int camera_attr_set_geotag(camera_h camera, double latitude, double longitude, d
/**
* @brief Gets the geotag(GPS data) in the EXIF(Exchangeable image file format) tag.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] latitude The latitude data
+ * @param[in] camera The handle to the camera
+ * @param[out] latitude The latitude data
* @param[out] longitude The longitude data
- * @param[out] altitude The altitude data
+ * @param[out] altitude The altitude data
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3358,7 +3358,7 @@ int camera_attr_remove_geotag(camera_h camera);
* @remarks Since @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif, while setting the flash mode, if the flash was preempted by other APIs,\n
* then this function returns #CAMERA_ERROR_DEVICE_BUSY error.
* @param[in] camera The handle to the camera
- * @param[in] mode The flash mode
+ * @param[in] mode The flash mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3368,7 +3368,7 @@ int camera_attr_remove_geotag(camera_h camera);
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @retval #CAMERA_ERROR_DEVICE_BUSY The flash was preempted by other API
* @pre The camera state must be set to #CAMERA_STATE_CREATED or #CAMERA_STATE_PREVIEW.
- * @see camera_attr_foreach_supported_flash_mode()
+ * @see camera_attr_foreach_supported_flash_mode()
* @see camera_attr_get_flash_mode()
*/
int camera_attr_set_flash_mode(camera_h camera, camera_attr_flash_mode_e mode);
@@ -3376,8 +3376,8 @@ int camera_attr_set_flash_mode(camera_h camera, camera_attr_flash_mode_e mode);
/**
* @brief Gets the camera's flash mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] mode The flash mode
+ * @param[in] camera The handle to the camera
+ * @param[out] mode The flash mode
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3401,8 +3401,8 @@ int camera_attr_get_flash_mode(camera_h camera, camera_attr_flash_mode_e *mode);
/**
* @brief Retrieves all supported flash modes by invoking the callback function once for each supported flash mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data passed to the callback registration function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3411,9 +3411,9 @@ int camera_attr_get_flash_mode(camera_h camera, camera_attr_flash_mode_e *mode);
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
* @post This function invokes camera_attr_supported_flash_mode_cb() to get all supported flash modes.
- * @see camera_attr_set_flash_mode()
+ * @see camera_attr_set_flash_mode()
* @see camera_attr_get_flash_mode()
- * @see camera_attr_supported_flash_mode_cb()
+ * @see camera_attr_supported_flash_mode_cb()
*/
int camera_attr_foreach_supported_flash_mode(camera_h camera, camera_attr_supported_flash_mode_cb callback, void *user_data);
@@ -3429,8 +3429,8 @@ int camera_attr_foreach_supported_flash_mode(camera_h camera, camera_attr_suppor
/**
* @brief Gets the camera len's orientation angle.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] angle The orientation angle
+ * @param[in] camera The handle to the camera
+ * @param[out] angle The orientation angle
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3444,7 +3444,7 @@ int camera_attr_get_lens_orientation(camera_h camera, int *angle);
/**
* @brief Sets the stream rotation.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] rotation The stream rotation
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3452,7 +3452,7 @@ int camera_attr_get_lens_orientation(camera_h camera, int *angle);
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @pre The camera state must be set to #CAMERA_STATE_CREATED.
+ * @pre The camera state must be set to #CAMERA_STATE_CREATED.
* @see camera_attr_get_stream_rotation()
*/
int camera_attr_set_stream_rotation(camera_h camera, camera_rotation_e rotation);
@@ -3460,15 +3460,15 @@ int camera_attr_set_stream_rotation(camera_h camera, camera_rotation_e rotation)
/**
* @brief Gets the stream rotation.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] rotation The stream rotation
+ * @param[in] camera The handle to the camera
+ * @param[out] rotation The stream rotation
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @pre The camera state must be set to #CAMERA_STATE_CREATED.
+ * @pre The camera state must be set to #CAMERA_STATE_CREATED.
* @see camera_attr_set_stream_rotation()
*/
int camera_attr_get_stream_rotation(camera_h camera, camera_rotation_e *rotation);
@@ -3485,8 +3485,8 @@ int camera_attr_get_stream_rotation(camera_h camera, camera_rotation_e *rotation
/**
* @brief Retrieves all supported stream rotation modes by invoking callback function once for each supported stream rotation mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3514,7 +3514,7 @@ int camera_attr_foreach_supported_stream_rotation(camera_h camera, camera_attr_s
* @brief Sets the stream flip.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @param[in] camera The handle to the camera
- * @param[in] flip The stream flip
+ * @param[in] flip The stream flip
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3522,7 +3522,7 @@ int camera_attr_foreach_supported_stream_rotation(camera_h camera, camera_attr_s
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @pre The camera state must be set to #CAMERA_STATE_CREATED.
+ * @pre The camera state must be set to #CAMERA_STATE_CREATED.
* @see camera_attr_set_stream_rotation()
*/
int camera_attr_set_stream_flip(camera_h camera, camera_flip_e flip);
@@ -3530,15 +3530,15 @@ int camera_attr_set_stream_flip(camera_h camera, camera_flip_e flip);
/**
* @brief Gets the stream flip.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] flip The stream flip
+ * @param[in] camera The handle to the camera
+ * @param[out] flip The stream flip
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
* @retval #CAMERA_ERROR_PERMISSION_DENIED The access to the resources can not be granted
* @retval #CAMERA_ERROR_NOT_SUPPORTED The feature is not supported
* @retval #CAMERA_ERROR_SERVICE_DISCONNECTED The socket to multimedia server is disconnected
- * @pre The camera state must be set to #CAMERA_STATE_CREATED.
+ * @pre The camera state must be set to #CAMERA_STATE_CREATED.
* @see camera_attr_set_stream_rotation()
*/
int camera_attr_get_stream_flip(camera_h camera, camera_flip_e *flip);
@@ -3555,8 +3555,8 @@ int camera_attr_get_stream_flip(camera_h camera, camera_flip_e *flip);
/**
* @brief Retrieves all supported stream flip modes by invoking callback function once for each supported stream flip mode.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3583,7 +3583,7 @@ int camera_attr_foreach_supported_stream_flip(camera_h camera, camera_attr_suppo
/**
* @brief Called when the HDR capture process is updated.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] percent The progress percentage of HDR capture
+ * @param[in] percent The progress percentage of HDR capture
* @param[in] user_data The user data passed from the callback registration function
* @pre camera_start_capture() will invoke this callback if you register it using camera_attr_set_hdr_capture_progress_cb().
* @see camera_attr_get_hdr_mode()
@@ -3600,7 +3600,7 @@ typedef void (*camera_attr_hdr_progress_cb)(int percent, void *user_data);
* If this attribute is set to @c true. camera_attr_hdr_progress_cb() is invoked during capture.\n
* If you set #CAMERA_ATTR_HDR_MODE_KEEP_ORIGINAL, the capturing callback is invoked twice. The first callback is delivering origin image data. The second callback is delivering improved image data.
* @param[in] camera The handle to the camera
- * @param[in] mode The mode of HDR capture
+ * @param[in] mode The mode of HDR capture
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3620,8 +3620,8 @@ int camera_attr_set_hdr_mode(camera_h camera, camera_attr_hdr_mode_e mode);
/**
* @brief Gets the mode of HDR (High Dynamic Range) capture.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
- * @param[out] mode The mode of HDR capture
+ * @param[in] camera The handle to the camera
+ * @param[out] mode The mode of HDR capture
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_PARAMETER Invalid parameter
@@ -3639,8 +3639,8 @@ int camera_attr_get_hdr_mode(camera_h camera, camera_attr_hdr_mode_e *mode);
* @brief Registers a callback function to be called when HDR capture is progressing.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks This callback notifies progress of the HDR process.
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data passed to the callback registration function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3711,7 +3711,7 @@ int camera_attr_enable_anti_shake(camera_h camera, bool enable);
/**
* @brief Gets the state of the anti-shake feature.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] enabled The state of anti-shake
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3762,7 +3762,7 @@ int camera_attr_enable_video_stabilization(camera_h camera, bool enable);
/**
* @brief Gets the state of the video stabilization feature.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] enabled The state of video stabilization
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3811,7 +3811,7 @@ int camera_attr_enable_auto_contrast(camera_h camera, bool enable);
/**
* @brief Gets the state of auto contrast.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] enabled The state of auto contrast
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3861,7 +3861,7 @@ bool camera_attr_is_supported_auto_contrast(camera_h camera);
* @brief Disables shutter sound.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
* @remarks In some countries, this operation is not permitted.
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] disable If @c true shutter sound is disabled, otherwise @c false
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3876,9 +3876,9 @@ int camera_attr_disable_shutter_sound(camera_h camera, bool disable);
/**
* @brief Sets the position to move horizontally.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] move_type The PTZ(Pan Tilt Zoom) move type
- * @param[in] pan_step The step to move the camera
+ * @param[in] pan_step The step to move the camera
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_OPERATION Internal error
@@ -3895,7 +3895,7 @@ int camera_attr_set_pan(camera_h camera, camera_attr_ptz_move_type_e move_type,
/**
* @brief Gets the current position of the camera.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] pan_step The current horizontal distance from the starting point.
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3912,9 +3912,9 @@ int camera_attr_get_pan(camera_h camera, int *pan_step);
* @brief Gets lower limit and upper limit for pan position.
* @since_tizen 3.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 lower limit for pan
- * @param[out] max The upper limit for pan
+ * @param[in] camera The handle to the camera
+ * @param[out] min The lower limit for pan
+ * @param[out] max The upper limit for pan
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_OPERATION Internal error
@@ -3929,7 +3929,7 @@ int camera_attr_get_pan_range(camera_h camera, int *min, int *max);
/**
* @brief Sets the position to move vertically.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] move_type The PTZ(Pan Tilt Zoom) move type
* @param[in] tilt_step The step to move the camera
* @return @c 0 on success, otherwise a negative error value
@@ -3948,7 +3948,7 @@ int camera_attr_set_tilt(camera_h camera, camera_attr_ptz_move_type_e move_type,
/**
* @brief Gets the current position of the camera.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[out] tilt_step The current vertical distance from the starting point.
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -3965,9 +3965,9 @@ int camera_attr_get_tilt(camera_h camera, int *tilt_step);
* @brief Gets lower limit and upper limit for tilt position.
* @since_tizen 3.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 lower limit for tilt
- * @param[out] max The upper limit for tilt
+ * @param[in] camera The handle to the camera
+ * @param[out] min The lower limit for tilt
+ * @param[out] max The upper limit for tilt
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
* @retval #CAMERA_ERROR_INVALID_OPERATION Internal error
@@ -3982,7 +3982,7 @@ int camera_attr_get_tilt_range(camera_h camera, int *min, int *max);
/**
* @brief Sets the type of PTZ(Pan Tilt Zoom).
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
+ * @param[in] camera The handle to the camera
* @param[in] ptz_type PTZ type
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -4014,8 +4014,8 @@ int camera_attr_set_ptz_type(camera_h camera, camera_attr_ptz_type_e ptz_type);
/**
* @brief Retrieves all supported PTZ(Pan Tilt Zoom) types by invoking callback function once for each supported ptz type.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
- * @param[in] callback The callback function to invoke
+ * @param[in] camera The handle to the camera
+ * @param[in] callback The callback function to invoke
* @param[in] user_data The user data to be passed to the callback function
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -4045,9 +4045,9 @@ int camera_attr_foreach_supported_ptz_type(camera_h camera, camera_attr_supporte
* @remarks The minimum value of width and height are 1.
* @remarks ROI area can be set before setting ROI display mode. (since 4.0)
* @param[in] camera The handle to the camera
- * @param[in] x X coordinate of area
- * @param[in] y Y coordinate of area
- * @param[in] width Width of area
+ * @param[in] x X coordinate of area
+ * @param[in] y Y coordinate of area
+ * @param[in] width Width of area
* @param[in] height Height of area
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
@@ -4062,10 +4062,10 @@ int camera_attr_set_display_roi_area(camera_h camera, int x, int y, int width, i
/**
* @brief Gets the ROI(Region Of Interest) area of display.
* @since_tizen 3.0
- * @param[in] camera The handle to the camera
- * @param[out] x X coordinate of area
- * @param[out] y Y coordinate of area
- * @param[out] width Width of area
+ * @param[in] camera The handle to the camera
+ * @param[out] x X coordinate of area
+ * @param[out] y Y coordinate of area
+ * @param[out] width Width of area
* @param[out] height Height of area
* @return @c 0 on success, otherwise a negative error value
* @retval #CAMERA_ERROR_NONE Successful
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 74df0a3..a7b2bba 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.32
+Version: 0.4.33
Release: 0
Group: Multimedia/API
License: Apache-2.0