[ACR-1874] Remove deprecated APIs 12/318612/1 accepted/tizen/unified/20250122.054614 accepted/tizen/unified/x/20250122.065444
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 21 Jan 2025 06:12:47 +0000 (15:12 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Tue, 21 Jan 2025 06:12:47 +0000 (15:12 +0900)
Change-Id: Ifbcb82ec640926003aae0e0b793ee44026bdab18
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
16 files changed:
doc/media_content_doc.h
include/media_content.h
include/media_content_internal.h
include/media_content_type.h
include/media_face.h [deleted file]
include/media_image.h
include/media_info.h
include/media_info_private.h
include_product/media_content.h
include_product/media_content_internal.h
include_product/media_content_type.h
include_product/media_face.h [deleted file]
include_product/media_image.h
include_product/media_info.h
include_product/media_info_private.h
packaging/capi-content-media-content.spec

index d27b8fdf5039f76c2d6b0ceb74c314a67e87d77c..237a9524200b71d9dcbe5b81bc46690c55349e0f 100644 (file)
@@ -37,7 +37,7 @@
  * Media content services do not manage hidden files. \n
  * The API provides functions for connecting (#media_content_connect()) and disconnecting (#media_content_disconnect()) from the media content service.
  *
- * The API consists of @ref CAPI_CONTENT_MEDIA_ALBUM_MODULE, @ref CAPI_CONTENT_MEDIA_BOOKMARK_MODULE, @ref CAPI_CONTENT_MEDIA_FACE_MODULE,
+ * The API consists of @ref CAPI_CONTENT_MEDIA_ALBUM_MODULE, @ref CAPI_CONTENT_MEDIA_BOOKMARK_MODULE,
  * @ref CAPI_CONTENT_MEDIA_FILTER_MODULE, @ref CAPI_CONTENT_MEDIA_FOLDER_MODULE, @ref CAPI_CONTENT_MEDIA_GROUP_MODULE,
  * @ref CAPI_CONTENT_MEDIA_INFO_MODULE, @ref CAPI_CONTENT_MEDIA_PLAYLIST_MODULE, @ref CAPI_CONTENT_MEDIA_TAG_MODULE API.
  *
  *    <td> Provide information about the media bookmark. </td>
  * </tr>
  * <tr>
- *    <td>@ref CAPI_CONTENT_MEDIA_FACE_MODULE </td>
- *    <td> Provide information about the detected faces from image. </td>
- * </tr>
- * <tr>
  *    <td>@ref CAPI_CONTENT_MEDIA_FILTER_MODULE </td>
  *    <td> Provide functions for creating and destroying media filters.\n
  * Provide functions to get filter properties</td>
  * <td>Get from metadata if exist.</td>
  * </tr>
  * <tr>
- * <td>exposure_time</td>
- * <td></td>
- * <td>Get from EXIF if exist.</td>
- * </tr>
- * <tr>
- * <td>fnumber</td>
- * <td></td>
- * <td>Get from EXIF if exist.</td>
- * </tr>
- * <tr>
- * <td>iso</td>
- * <td></td>
- * <td>Get from EXIF if exist.</td>
- * </tr>
- * <tr>
- * <td>model</td>
- * <td></td>
- * <td>Get from EXIF if exist.</td>
- * </tr>
- * <tr>
  * <td>date_taken</td>
  * <td>#MEDIA_DATETAKEN</td>
  * <td>Get from EXIF if exist.</td>
  * When the book handle is no longer needed, it should be destroyed by calling #book_meta_destroy() function.
  */
 
-/**
- * @defgroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE Face Detection(Deprecated)
- * @brief The Face Detection API provides functions to detect face information about stored image files.
- *
- * @ingroup CAPI_CONTENT_MEDIA_INFO_MODULE
- *
- * @section CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE_HEADER Required Header
- *   \#include <media_content.h>
- *
- * @section CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE_FEATURE Related Features
- * This API is related with the following feature: \n
- * - %http://tizen.org/feature/vision.face_recognition
- * It is recommended to create applications with regard to features, to increase reliability. \n
- *
- * You can check if a device supports the related features for this API by using @ref CAPI_SYSTEM_SYSTEM_INFO_MODULE, thereby controlling the procedure of your application. \n
- *
- * To ensure your application is only running on a device with specific features, please define the features in your manifest file using the manifest editor in the SDK. \n
- *
- * More details on featuring your application can be found from <a href="https://docs.tizen.org/application/tizen-studio/native-tools/manifest-text-editor#feature-element"><b>Feature Element</b>.</a>
- *
- * @section CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE_OVERVIEW Overview
- * The Face Detection API provides functions to detect face information associated with image files. \n
- * Face information detected by mediavision API. To detect faces, you should use media_info_start_face_detection() API. \n
- *
- * API allows to:
- * - start and cancel face detection with image files
- *
- *<p>
- * To start face detection, call the #media_info_start_face_detection() function.\n
- * To cancel face detection after it's been started, call the #media_info_cancel_face_detection() function.\n
- *
- */
-
 /**
  * @defgroup CAPI_CONTENT_MEDIA_BOOKMARK_MODULE Media Bookmark (Deprecated)
  * @brief The Media Bookmark Information API provides functions to manage bookmark information on the media items.
  * Provide functions to get information (e.g. genre, album, year, bitrate etc) about the audio files.</td>
  * </tr>
  * <tr>
- *    <td>@ref CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE </td>
- *    <td> Provide functions to detect faces from image. </td>
- * </tr>
- * <tr>
  *    <td>@ref CAPI_CONTENT_MEDIA_IMAGE_META_MODULE </td>
  *    <td> Provides details about image items present in the device.\n
  * Provide functions to get information (e.g. longitude, description, date etc) about the image files.</td>
  *
  */
 
-/**
- * @defgroup CAPI_CONTENT_MEDIA_FACE_MODULE Media Face(Deprecated)
- * @brief The Media Face Information API provides functions to manage the face information in the image files.
- *
- * @ingroup CAPI_MEDIA_CONTENT_MODULE
- *
- * @section CAPI_CONTENT_MEDIA_FACE_MODULE_HEADER Required Header
- *   \#include <media_content.h>
- *
- * @section CAPI_CONTENT_MEDIA_FACE_MODULE_OVERVIEW Overview
- * The Face Information API provides functions to manage the face information such as face id, face coordinates in the image files.\n
- *
- *
- */
-
 
 #endif /* __TIZEN_MEDIA_CONTENT_DOC_H__ */
index 5d394b28a05034b7efae93a4e47f3a049f85d443..4dedc909e82e5dd4c8d01380575d867c9cb1fe24 100644 (file)
@@ -27,7 +27,6 @@
 #include <media_group.h>
 #include <media_playlist.h>
 #include <media_bookmark.h>
-#include <media_face.h>
 #include <media_book.h>
 
 #ifdef __cplusplus
index 85068e05f17201d5daf6d2556c85b0b808ff8ae0..54f090f8bdc52c96d746ef0ee6a02db69744fec4 100644 (file)
@@ -54,6 +54,44 @@ int media_filter_get_condition_v2(filter_h filter, char **condition);
 int media_filter_set_order_v2(filter_h filter, const char *order);
 int media_filter_get_order_v2(filter_h filter, char **order);
 
+/* Removed native APIs. */
+//media_content_type.h
+typedef void *media_face_h;
+typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
+typedef bool (*media_face_cb)(media_face_h face, void *user_data);
+#define MEDIA_FACE_TAG    "MEDIA_FACE_TAG"
+#define MEDIA_FACE_ID    "MEDIA_FACE_ID"
+//media_face.h
+
+int media_face_clone(media_face_h *dst, media_face_h src);
+int media_face_destroy(media_face_h face);
+int media_face_get_face_id(media_face_h face, char **face_id);
+int media_face_get_media_id(media_face_h face, char **media_id);
+int media_face_get_face_rect(media_face_h face, unsigned int *rect_x, unsigned int *rect_y, unsigned int *rect_w, unsigned int *rect_h);
+int media_face_get_orientation(media_face_h face, media_content_orientation_e *orientation);
+int media_face_get_tag(media_face_h face, char **tag);
+int media_face_create(const char *media_id, media_face_h *face);
+int media_face_set_face_rect(media_face_h face, unsigned int rect_x, unsigned int rect_y, unsigned int rect_w, unsigned int rect_h);
+int media_face_set_orientation(media_face_h face, media_content_orientation_e orientation);
+int media_face_set_tag(media_face_h face, const char *tag);
+int media_face_insert_to_db(media_face_h face);
+int media_face_update_to_db(media_face_h face);
+int media_face_delete_from_db(const char *face_id);
+int media_face_get_face_count_from_db(filter_h filter, int *face_count);
+int media_face_foreach_face_from_db(filter_h filter, media_face_cb callback, void *user_data);
+
+//media_image.h
+int image_meta_get_exposure_time(image_meta_h image, char **exposure_time);
+int image_meta_get_fnumber(image_meta_h image, double *fnumber);
+int image_meta_get_iso(image_meta_h image, int *iso);
+int image_meta_get_model(image_meta_h image, char **model);
+
+//media_info.h
+int media_info_get_face_count_from_db(const char *media_id, filter_h filter, int *face_count);
+int media_info_foreach_face_from_db(const char *media_id, filter_h filter, media_face_cb callback, void *user_data);
+int media_info_start_face_detection(media_info_h media, media_face_detection_completed_cb callback, void *user_data);
+int media_info_cancel_face_detection(media_info_h media);
+
 
 /* Only for system session process */
 int media_content_connect_with_uid(uid_t uid);
index 2656c11c637ef57d965ce40e8bde0017b989df55..96cde1110decc2de4d0863eef00ff6c882620071 100644 (file)
@@ -255,14 +255,6 @@ typedef struct book_meta_s *book_meta_h;
  */
 typedef struct filter_s *filter_h;
 
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
- * @brief The structure type for the Media face handle.
- * @since_tizen 3.0
- */
-typedef void *media_face_h;
-
 /**
  * @ingroup CAPI_MEDIA_CONTENT_MODULE
  * @brief The structure type for the Media content noti handle.
@@ -377,33 +369,6 @@ typedef bool (*media_info_cb)(media_info_h media, void *user_data);
  */
 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
 
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
- * @brief Called when face detection on the image is completed.
- *
- * @details The following error codes can be delivered. \n
- *         #MEDIA_CONTENT_ERROR_NONE, \n
- *         #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
- *         #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
- *         #MEDIA_CONTENT_ERROR_DB_FAILED, \n
- *         #MEDIA_CONTENT_ERROR_DB_BUSY, \n
- *         #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
- *
- * @since_tizen 3.0
- *
- * @remarks The callback is called in a separate thread(not in the main loop).
- *
- * @param[in] error The error code
- * @param[in] face_count The number of all detected faces
- * @param[in] user_data The user data passed from the foreach function
- *
- * @pre media_info_start_face_detection()
- * @see media_info_start_face_detection()
- */
-typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
-
-
 /**
  * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
  * @brief Called for every available media folder.
@@ -566,28 +531,6 @@ typedef bool (*media_album_cb)(media_album_h album, void *user_data);
  */
 typedef bool (*media_group_cb)(const char *group_name, void *user_data);
 
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
- * @brief Called for every face in the obtained list of face.
- * @details Iterates over a media face list.
- *
- * @since_tizen 3.0
- *
- * @remarks You should not destroy @a face returned by this function. \n
- *                  The callback is called in the main loop.
- *
- * @param[in] face The handle of the media face
- * @param[in] user_data The user data passed from the foreach function
- *
- * @return @c true to continue with the next iteration of the loop,
- *         otherwise @c false to break out of the loop
- *
- * @pre media_info_foreach_face_from_db() will invoke this function.
- * @see media_info_foreach_face_from_db()
- */
-typedef bool (*media_face_cb)(media_face_h face, void *user_data);
-
 /**
  * @}
  */
@@ -945,22 +888,6 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  */
 #define BOOKMARK_NAME "BOOKMARK_NAME"
 
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Face tag.
- * @details You can use above define to set the condition of face filter and order keyword.
- * @since_tizen 3.0
- */
-#define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Face id.
- * @details You can use above define to set the condition of face filter and order keyword.
- * @since_tizen 4.0
- */
-#define MEDIA_FACE_ID  "MEDIA_FACE_ID"
-
 /**
  * @}
  */
diff --git a/include/media_face.h b/include/media_face.h
deleted file mode 100644 (file)
index 4c5f78e..0000000
+++ /dev/null
@@ -1,407 +0,0 @@
-/*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-#ifndef __TIZEN_CONTENT_MEDIA_FACE_H__
-#define __TIZEN_CONTENT_MEDIA_FACE_H__
-
-#include <media_content_type.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-/**
- * @file media_face.h
- * @brief This file contains the media face function and related to all operations with the face information of the image in Media DB. \n
- *             Functions include cloning and destroying the media face handler, getting face information such as face id, face coordinates in file, \n
- *             face tag. Face information will be managed by DB. To insert face information, you should use media_face_insert_to_db() \n
- *             or media_info_start_face_detection() function. And you can insert,update,delete face information manually.
- */
-
-/**
- * @addtogroup CAPI_CONTENT_MEDIA_FACE_MODULE
- * @{
- */
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Clones the media face handle.
- * @details This function copies the media face handle from a source to
- * destination. There is no media_face_create() function. The media_face_h is created internally and available through
- * media face foreach function such as media_face_foreach_face_from_db(). To use this handle outside of these foreach functions,
- * use this function.
- *
- * @since_tizen 3.0
- * @remarks The @a dst should be released using media_face_destroy().
- *
- * @param[out] dst The destination handle to the media face
- * @param[in] src The source handle to the media face
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- *
- * @see media_face_destroy()
- * @see media_face_foreach_face_from_db()
- */
-int media_face_clone(media_face_h *dst, media_face_h src) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Destroys the media face handle.
- * @details Function frees all resources related to media face handle. This
- * handle no longer can be used to perform any operations. New handle has to
- * be created before next usage.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- * @pre Get copy of media face handle by calling media_face_clone() or Get media face handle by calling media_info_foreach_face_from_db()
- *
- * @see media_face_clone()
- */
-int media_face_destroy(media_face_h face) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the face id from the media face handle.
- *
- * @since_tizen 3.0
- *
- * @remarks The @a face_id should be released using free().
- *
- * @param[in] face The media face handle
- * @param[out] face_id The ID of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_face_id(media_face_h face, char **face_id) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the media id from the media face handle.
- *
- * @since_tizen 3.0
- *
- * @remarks The @a media_id should be released using free().
- *
- * @param[in] face The media face handle
- * @param[out] media_id The media ID
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_media_id(media_face_h face, char **media_id) TIZEN_DEPRECATED_API;
-
- /**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the face's rectangle from the media face handle.
- * @details This function can get the face's rectangle information. returned rectangle information includes the orientation value.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[out] rect_x The x position of the media face
- * @param[out] rect_y The y position of the media face
- * @param[out] rect_w The width of the media face
- * @param[out] rect_h The height of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_face_rect(media_face_h face, unsigned int *rect_x, unsigned int *rect_y, unsigned int *rect_w, unsigned int *rect_h) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the orientation from the media face handle.
- * @details This function can get the orientation value from the original image.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[out] orientation The orientation of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_orientation(media_face_h face, media_content_orientation_e *orientation) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the tag from the media face handle.
- *
- * @since_tizen 3.0
- *
- * @remarks The @a tag should be released using free().
- *
- * @param[in] face The media face handle
- * @param[out] tag The tag of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_tag(media_face_h face, char **tag) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Creates the media face handle.
- *
- * @since_tizen 3.0
- *
- * @remarks The @a face should be released using media_face_destroy(). \n
- *          Since 5.5, this function supports only image type.
- *
- * @param[in] media_id The media ID
- * @param[out] face The media face handle
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- * @see media_face_destroy()
- */
-int media_face_create(const char *media_id, media_face_h *face) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Sets the face rectangle of the media face handle.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[in] rect_x The integer to set as a position x of face rectangle
- * @param[in] rect_y The integer to set as a position y of face rectangle
- * @param[in] rect_w The integer to set as a width of face rectangle
- * @param[in] rect_h The integer to set as a height of face rectangle
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- * @post media_face_insert_to_db()
- * @post media_face_update_to_db()
- *
- */
-int media_face_set_face_rect(media_face_h face, unsigned int rect_x, unsigned int rect_y, unsigned int rect_w, unsigned int rect_h) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Sets the orientation of the media face handle.
- * @details This function may set the value of the original image orientation.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[in] orientation The integer to set as an orientation
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- * @post media_face_insert_to_db()
- * @post media_face_update_to_db()
- *
- */
-int media_face_set_orientation(media_face_h face, media_content_orientation_e orientation) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Sets the tag of the media face handle.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[in] tag The tag of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- *
- * @post media_face_insert_to_db()
- * @post media_face_update_to_db()
- */
-int media_face_set_tag(media_face_h face, const char *tag) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Inserts a new face in the media database.
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write
- *
- * @remarks The @a face should be released using media_face_destroy().
- *
- * @param[in] face The media face handle
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- * @retval #MEDIA_CONTENT_ERROR_NETWORK           Network fail
- *
- * @see media_content_connect()
- * @see media_face_destroy()
- * @see media_face_set_face_rect()
- * @see media_face_set_orientation()
- * @see media_face_set_tag()
- */
-int media_face_insert_to_db(media_face_h face) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Updates the face details to the media database.
- *
- * @details The function updates the given media face in the media database. The function should be called after any change in face, to be updated to the media
- * database. For example, after using media_face_set_orientation() for setting the orientation of the face, media_face_update_to_db() function should be called so as to update
- * the given face attributes in the media database.
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write
- *
- * @param[in] face The media face handle to update
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- * @retval #MEDIA_CONTENT_ERROR_NETWORK           Network fail
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- *
- * @see media_content_connect()
- * @see media_face_destroy()
- * @see media_face_set_face_rect()
- * @see media_face_set_orientation()
- * @see media_face_set_tag()
- *
- */
-int media_face_update_to_db(media_face_h face) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Deletes the face with given face id from the media database.
- *
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write
- *
- * @param[in] face_id The ID of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- * @retval #MEDIA_CONTENT_ERROR_NETWORK           Network fail
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- * @see media_content_connect()
- *
- */
-int media_face_delete_from_db(const char *face_id) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the number of media faces with an optional filter from the media database.
- * @since_tizen 4.0
- *
- * @param[in] filter The handle to the media filter
- * @param[out] face_count The count of the media faces
- *
- * @return @c 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- *
- * @see media_content_connect()
- * @see media_filter_create()
- */
-int media_face_get_face_count_from_db(filter_h filter, int *face_count) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Iterates through the faces with an optional filter from the media database.
- * @details This function gets all faces associated with the given filter and calls @a callback for every retrieved media face.
- *          If @c NULL is passed to the @a filter, then no filtering is applied.
- * @since_tizen 4.0
- *
- * @param[in] filter The handle to the media filter
- * @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 #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- * @post This function invokes media_face_cb().
- *
- * @see media_content_connect()
- * @see media_face_cb()
- * @see media_filter_create()
- */
-int media_face_foreach_face_from_db(filter_h filter, media_face_cb callback, void *user_data) TIZEN_DEPRECATED_API;
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __TIZEN_CONTENT_MEDIA_FACE_H__ */
index 804119356d5f9d6c2cc672c13beb21554a2477d9..bd14bbb3b7fe7c111c0bc53c73e43e2a8470c9f3 100644 (file)
@@ -162,80 +162,6 @@ int image_meta_get_orientation(image_meta_h image, media_content_orientation_e *
  */
 int image_meta_get_date_taken(image_meta_h image, char **date_taken);
 
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the exposure time from EXIF.
- * @since_tizen 2.4
- *
- * @remarks The @a exposure_time should be released using free().
- *
- * @param[in] image The handle to the image metadata
- * @param[out] exposure_time The value of exposure_time, getting from EXIF
- *
- * @return 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- */
-int image_meta_get_exposure_time(image_meta_h image, char **exposure_time) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the fnumber from EXIF.
- * @since_tizen 2.4
- *
- * @param[in] image The handle to the image metadata
- * @param[out] fnumber The value of fnumber, getting from EXIF
- *
- * @return 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- */
-int image_meta_get_fnumber(image_meta_h image, double *fnumber) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the iso from EXIF.
- * @since_tizen 2.4
- *
- * @param[in] image The handle to the image metadata
- * @param[out] iso The value of iso, getting from EXIF
- *
- * @return 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- */
-int image_meta_get_iso(image_meta_h image, int *iso) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the model from EXIF.
- * @since_tizen 2.4
- *
- * @remarks The @a model should be released using free().
- *
- * @param[in] image The handle to the image metadata
- * @param[out] model The value of model, getting from EXIF
- *
- * @return 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- */
-int image_meta_get_model(image_meta_h image, char **model) TIZEN_DEPRECATED_API;
-
 /**
  * @}
  */
index a75380b42ba817476f86e43d50e1cc31c5c97ad8..6e85e47ae6ea497d3575f0320a601dd5ef3ee757 100644 (file)
@@ -360,57 +360,6 @@ int media_info_get_bookmark_count_from_db(const char *media_id, filter_h filter,
  */
 int media_info_foreach_bookmark_from_db(const char *media_id, filter_h filter, media_bookmark_cb callback, void *user_data) TIZEN_DEPRECATED_API;
 
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the number of face for the passed @a media_id from the media database.
- * @details If @c NULL is passed to the @a filter, then no filtering is applied.
- *
- * @since_tizen 3.0
- *
- * @param[in] media_id The media ID
- * @param[in] filter The handle to the media filter
- * @param[out] face_count The count of media face
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB operation failed
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- * @see media_content_connect()
- * @see media_filter_create()
- *
- */
-int media_info_get_face_count_from_db(const char *media_id, filter_h filter, int *face_count) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Iterates through the media files with optional @a filter in the given @a media_id from the media database.
- * @details This function gets all media face info associated with the given media id and
- * meeting desired filter option and calls @a callback for
- * every retrieved media face info. If NULL is passed to the @a filter, no filtering is applied.
- *
- * @since_tizen 3.0
- *
- * @param[in] media_id The media ID
- * @param[in] filter The handle to the media filter
- * @param[in] callback The callback function to invoke
- * @param[in] user_data The user data to be passed to the callback function
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- * @see media_content_connect()
- * @see media_filter_create()
- *
- */
-int media_info_foreach_face_from_db(const char *media_id, filter_h filter, media_face_cb callback, void *user_data) TIZEN_DEPRECATED_API;
-
 /**
  * @brief Gets the image metadata handle for a given media info.
  * @details This function returns an image metadata handle retrieved from the media info.
@@ -1031,82 +980,6 @@ int media_info_move_to_db(media_info_h media, const char* dst_path);
  */
 int media_info_generate_thumbnail(media_info_h media);
 
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
- * @brief Starts face detection for the given image, asynchronously.
- * @details This function detects faces for given image item and calls the given callback function when the detection is completed. \n
- *          The given callback function is called when the detection is completed. \n
- *          To obtain the detected faces, call the media_info_foreach_face_from_db() function. \n
- *          Supported image formats are jpg, png, and bmp.
- *
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write \n
- *                   %http://tizen.org/privilege/mediastorage \n
- *                   %http://tizen.org/privilege/externalstorage
- *
- * @remarks If you want to destroy the media handle before the callback invoked, you must cancel the face detection request using media_info_cancel_face_detection(). \n
- *          If the face detection fails, the @a face_count argument in media_face_detection_completed_cb() will be set to 0. \n
- *          The face detection of media items in external storage except MMC is not supported. \n
- *          Since 5.5, if the format of media data is unsupported, this function returns an error and the callback will not be invoked.
- *
- * @param[in] media The handle to the media info
- * @param[in] callback The callback function to be invoked when detection is completed
- * @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 #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- * @retval #MEDIA_CONTENT_ERROR_NETWORK           Network fail
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_NOT_SUPPORTED     Not supported
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- *
- * @see media_content_connect()
- * @see media_info_cancel_face_detection()
- */
-int media_info_start_face_detection(media_info_h media, media_face_detection_completed_cb callback, void *user_data) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
- * @brief Cancels face detection of image for the given media.
- * @details This function cancels face detection for given media item. \n
- *          If you cancel face detection request before callback is invoked, the callback registered by media_info_start_face_detection() function will not be invoked.
- *
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write
- *
- * @remarks If face detection is already done when you request the cancellation, this function returns #MEDIA_CONTENT_ERROR_INVALID_OPERATION
- *
- * @param[in] media The handle to the media info
- *
- * @return @c 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- *
- * @see media_content_connect()
- * @see media_info_start_face_detection()
- */
-int media_info_cancel_face_detection(media_info_h media) TIZEN_DEPRECATED_API;
-
 /**
  * @}
  */
index 030884da0cfc7855cf20bc92eedeaeaf448565c5..f8912936753ee4a78bc7a6cb1877ac6d893b2905 100644 (file)
@@ -33,6 +33,9 @@
 #include <errno.h>
 #include <tzplatform_config.h>
 
+//temporary
+#include <media_content_internal.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */
index d084f464ee1ab13ecc4a6db6dbb943fdf83594ca..ae10ab2c03cb9bb75217ef6dc36b5af9be1e015b 100644 (file)
@@ -27,7 +27,6 @@
 #include <media_group.h>
 #include <media_playlist.h>
 #include <media_bookmark.h>
-#include <media_face.h>
 #include <media_book.h>
 #include <media_content_product.h>
 
index 85068e05f17201d5daf6d2556c85b0b808ff8ae0..326e04d7941baf385d5d815f4af5c3a45b8105db 100644 (file)
@@ -54,6 +54,43 @@ int media_filter_get_condition_v2(filter_h filter, char **condition);
 int media_filter_set_order_v2(filter_h filter, const char *order);
 int media_filter_get_order_v2(filter_h filter, char **order);
 
+/* Removed native APIs. */
+//media_content_type.h
+typedef void *media_face_h;
+typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
+typedef bool (*media_face_cb)(media_face_h face, void *user_data);
+#define MEDIA_FACE_TAG    "MEDIA_FACE_TAG"
+#define MEDIA_FACE_ID    "MEDIA_FACE_ID"
+//media_face.h
+
+int media_face_clone(media_face_h *dst, media_face_h src);
+int media_face_destroy(media_face_h face);
+int media_face_get_face_id(media_face_h face, char **face_id);
+int media_face_get_media_id(media_face_h face, char **media_id);
+int media_face_get_face_rect(media_face_h face, unsigned int *rect_x, unsigned int *rect_y, unsigned int *rect_w, unsigned int *rect_h);
+int media_face_get_orientation(media_face_h face, media_content_orientation_e *orientation);
+int media_face_get_tag(media_face_h face, char **tag);
+int media_face_create(const char *media_id, media_face_h *face);
+int media_face_set_face_rect(media_face_h face, unsigned int rect_x, unsigned int rect_y, unsigned int rect_w, unsigned int rect_h);
+int media_face_set_orientation(media_face_h face, media_content_orientation_e orientation);
+int media_face_set_tag(media_face_h face, const char *tag);
+int media_face_insert_to_db(media_face_h face);
+int media_face_update_to_db(media_face_h face);
+int media_face_delete_from_db(const char *face_id);
+int media_face_get_face_count_from_db(filter_h filter, int *face_count);
+int media_face_foreach_face_from_db(filter_h filter, media_face_cb callback, void *user_data);
+
+//media_image.h
+int image_meta_get_exposure_time(image_meta_h image, char **exposure_time);
+int image_meta_get_fnumber(image_meta_h image, double *fnumber);
+int image_meta_get_iso(image_meta_h image, int *iso);
+int image_meta_get_model(image_meta_h image, char **model);
+
+//media_info.h
+int media_info_get_face_count_from_db(const char *media_id, filter_h filter, int *face_count);
+int media_info_foreach_face_from_db(const char *media_id, filter_h filter, media_face_cb callback, void *user_data);
+int media_info_start_face_detection(media_info_h media, media_face_detection_completed_cb callback, void *user_data);
+int media_info_cancel_face_detection(media_info_h media);
 
 /* Only for system session process */
 int media_content_connect_with_uid(uid_t uid);
index a67213cdf4df4fbd808da87465bf6221da9ab475..82fcbf533d3b8c6d899c68fc1d132da7c000c938 100644 (file)
@@ -279,14 +279,6 @@ typedef struct book_meta_s *book_meta_h;
  */
 typedef struct filter_s *filter_h;
 
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
- * @brief The structure type for the Media face handle.
- * @since_tizen 3.0
- */
-typedef void *media_face_h;
-
 /**
  * @ingroup CAPI_MEDIA_CONTENT_MODULE
  * @brief The structure type for the Media content noti handle.
@@ -401,32 +393,6 @@ typedef bool (*media_info_cb)(media_info_h media, void *user_data);
  */
 typedef void (*media_insert_completed_cb)(media_content_error_e error, void * user_data);
 
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
- * @brief Called when face detection on the image is completed.
- *
- * @details The following error codes can be delivered. \n
- *         #MEDIA_CONTENT_ERROR_NONE, \n
- *         #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY, \n
- *         #MEDIA_CONTENT_ERROR_INVALID_OPERATION, \n
- *         #MEDIA_CONTENT_ERROR_DB_FAILED, \n
- *         #MEDIA_CONTENT_ERROR_DB_BUSY, \n
- *         #MEDIA_CONTENT_ERROR_UNSUPPORTED_CONTENT
- *
- * @since_tizen 3.0
- *
- * @remarks The callback is called in a separate thread(not in the main loop).
- *
- * @param[in] error The error code
- * @param[in] face_count The number of all detected faces
- * @param[in] user_data The user data passed from the foreach function
- *
- * @pre media_info_start_face_detection()
- * @see media_info_start_face_detection()
- */
-typedef void (*media_face_detection_completed_cb)(media_content_error_e error, const int face_count, void *user_data);
-
 
 /**
  * @ingroup CAPI_CONTENT_MEDIA_FOLDER_MODULE
@@ -611,28 +577,6 @@ typedef bool (*media_group_cb)(const char *group_name, void *user_data);
  */
 typedef bool (*media_storage_cb)(media_storage_h storage, void *user_data);
 
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_MODULE
- * @brief Called for every face in the obtained list of face.
- * @details Iterates over a media face list.
- *
- * @since_tizen 3.0
- *
- * @remarks You should not destroy @a face returned by this function. \n
- *                  The callback is called in the main loop.
- *
- * @param[in] face The handle of the media face
- * @param[in] user_data The user data passed from the foreach function
- *
- * @return @c true to continue with the next iteration of the loop,
- *         otherwise @c false to break out of the loop
- *
- * @pre media_info_foreach_face_from_db() will invoke this function.
- * @see media_info_foreach_face_from_db()
- */
-typedef bool (*media_face_cb)(media_face_h face, void *user_data);
-
 /**
  * @}
  */
@@ -990,22 +934,6 @@ typedef bool (*media_face_cb)(media_face_h face, void *user_data);
  */
 #define BOOKMARK_NAME "BOOKMARK_NAME"
 
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Face tag.
- * @details You can use above define to set the condition of face filter and order keyword.
- * @since_tizen 3.0
- */
-#define MEDIA_FACE_TAG "MEDIA_FACE_TAG"
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Face id.
- * @details You can use above define to set the condition of face filter and order keyword.
- * @since_tizen 4.0
- */
-#define MEDIA_FACE_ID  "MEDIA_FACE_ID"
-
 /**
  * @}
  */
diff --git a/include_product/media_face.h b/include_product/media_face.h
deleted file mode 100644 (file)
index 4c5f78e..0000000
+++ /dev/null
@@ -1,407 +0,0 @@
-/*
-* Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-
-#ifndef __TIZEN_CONTENT_MEDIA_FACE_H__
-#define __TIZEN_CONTENT_MEDIA_FACE_H__
-
-#include <media_content_type.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-/**
- * @file media_face.h
- * @brief This file contains the media face function and related to all operations with the face information of the image in Media DB. \n
- *             Functions include cloning and destroying the media face handler, getting face information such as face id, face coordinates in file, \n
- *             face tag. Face information will be managed by DB. To insert face information, you should use media_face_insert_to_db() \n
- *             or media_info_start_face_detection() function. And you can insert,update,delete face information manually.
- */
-
-/**
- * @addtogroup CAPI_CONTENT_MEDIA_FACE_MODULE
- * @{
- */
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Clones the media face handle.
- * @details This function copies the media face handle from a source to
- * destination. There is no media_face_create() function. The media_face_h is created internally and available through
- * media face foreach function such as media_face_foreach_face_from_db(). To use this handle outside of these foreach functions,
- * use this function.
- *
- * @since_tizen 3.0
- * @remarks The @a dst should be released using media_face_destroy().
- *
- * @param[out] dst The destination handle to the media face
- * @param[in] src The source handle to the media face
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- *
- * @see media_face_destroy()
- * @see media_face_foreach_face_from_db()
- */
-int media_face_clone(media_face_h *dst, media_face_h src) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Destroys the media face handle.
- * @details Function frees all resources related to media face handle. This
- * handle no longer can be used to perform any operations. New handle has to
- * be created before next usage.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- * @pre Get copy of media face handle by calling media_face_clone() or Get media face handle by calling media_info_foreach_face_from_db()
- *
- * @see media_face_clone()
- */
-int media_face_destroy(media_face_h face) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the face id from the media face handle.
- *
- * @since_tizen 3.0
- *
- * @remarks The @a face_id should be released using free().
- *
- * @param[in] face The media face handle
- * @param[out] face_id The ID of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_face_id(media_face_h face, char **face_id) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the media id from the media face handle.
- *
- * @since_tizen 3.0
- *
- * @remarks The @a media_id should be released using free().
- *
- * @param[in] face The media face handle
- * @param[out] media_id The media ID
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_media_id(media_face_h face, char **media_id) TIZEN_DEPRECATED_API;
-
- /**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the face's rectangle from the media face handle.
- * @details This function can get the face's rectangle information. returned rectangle information includes the orientation value.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[out] rect_x The x position of the media face
- * @param[out] rect_y The y position of the media face
- * @param[out] rect_w The width of the media face
- * @param[out] rect_h The height of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_face_rect(media_face_h face, unsigned int *rect_x, unsigned int *rect_y, unsigned int *rect_w, unsigned int *rect_h) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the orientation from the media face handle.
- * @details This function can get the orientation value from the original image.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[out] orientation The orientation of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_orientation(media_face_h face, media_content_orientation_e *orientation) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the tag from the media face handle.
- *
- * @since_tizen 3.0
- *
- * @remarks The @a tag should be released using free().
- *
- * @param[in] face The media face handle
- * @param[out] tag The tag of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- */
-int media_face_get_tag(media_face_h face, char **tag) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Creates the media face handle.
- *
- * @since_tizen 3.0
- *
- * @remarks The @a face should be released using media_face_destroy(). \n
- *          Since 5.5, this function supports only image type.
- *
- * @param[in] media_id The media ID
- * @param[out] face The media face handle
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- * @see media_face_destroy()
- */
-int media_face_create(const char *media_id, media_face_h *face) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Sets the face rectangle of the media face handle.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[in] rect_x The integer to set as a position x of face rectangle
- * @param[in] rect_y The integer to set as a position y of face rectangle
- * @param[in] rect_w The integer to set as a width of face rectangle
- * @param[in] rect_h The integer to set as a height of face rectangle
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- * @post media_face_insert_to_db()
- * @post media_face_update_to_db()
- *
- */
-int media_face_set_face_rect(media_face_h face, unsigned int rect_x, unsigned int rect_y, unsigned int rect_w, unsigned int rect_h) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Sets the orientation of the media face handle.
- * @details This function may set the value of the original image orientation.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[in] orientation The integer to set as an orientation
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- * @post media_face_insert_to_db()
- * @post media_face_update_to_db()
- *
- */
-int media_face_set_orientation(media_face_h face, media_content_orientation_e orientation) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Sets the tag of the media face handle.
- *
- * @since_tizen 3.0
- *
- * @param[in] face The media face handle
- * @param[in] tag The tag of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- *
- * @post media_face_insert_to_db()
- * @post media_face_update_to_db()
- */
-int media_face_set_tag(media_face_h face, const char *tag) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Inserts a new face in the media database.
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write
- *
- * @remarks The @a face should be released using media_face_destroy().
- *
- * @param[in] face The media face handle
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- * @retval #MEDIA_CONTENT_ERROR_NETWORK           Network fail
- *
- * @see media_content_connect()
- * @see media_face_destroy()
- * @see media_face_set_face_rect()
- * @see media_face_set_orientation()
- * @see media_face_set_tag()
- */
-int media_face_insert_to_db(media_face_h face) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Updates the face details to the media database.
- *
- * @details The function updates the given media face in the media database. The function should be called after any change in face, to be updated to the media
- * database. For example, after using media_face_set_orientation() for setting the orientation of the face, media_face_update_to_db() function should be called so as to update
- * the given face attributes in the media database.
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write
- *
- * @param[in] face The media face handle to update
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- * @retval #MEDIA_CONTENT_ERROR_NETWORK           Network fail
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- *
- * @see media_content_connect()
- * @see media_face_destroy()
- * @see media_face_set_face_rect()
- * @see media_face_set_orientation()
- * @see media_face_set_tag()
- *
- */
-int media_face_update_to_db(media_face_h face) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Deletes the face with given face id from the media database.
- *
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write
- *
- * @param[in] face_id The ID of the media face
- *
- * @return 0 on success, otherwise a negative error value.
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- * @retval #MEDIA_CONTENT_ERROR_NETWORK           Network fail
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- * @see media_content_connect()
- *
- */
-int media_face_delete_from_db(const char *face_id) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the number of media faces with an optional filter from the media database.
- * @since_tizen 4.0
- *
- * @param[in] filter The handle to the media filter
- * @param[out] face_count The count of the media faces
- *
- * @return @c 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- *
- * @see media_content_connect()
- * @see media_filter_create()
- */
-int media_face_get_face_count_from_db(filter_h filter, int *face_count) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Iterates through the faces with an optional filter from the media database.
- * @details This function gets all faces associated with the given filter and calls @a callback for every retrieved media face.
- *          If @c NULL is passed to the @a filter, then no filtering is applied.
- * @since_tizen 4.0
- *
- * @param[in] filter The handle to the media filter
- * @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 #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- * @post This function invokes media_face_cb().
- *
- * @see media_content_connect()
- * @see media_face_cb()
- * @see media_filter_create()
- */
-int media_face_foreach_face_from_db(filter_h filter, media_face_cb callback, void *user_data) TIZEN_DEPRECATED_API;
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __TIZEN_CONTENT_MEDIA_FACE_H__ */
index 804119356d5f9d6c2cc672c13beb21554a2477d9..bd14bbb3b7fe7c111c0bc53c73e43e2a8470c9f3 100644 (file)
@@ -162,80 +162,6 @@ int image_meta_get_orientation(image_meta_h image, media_content_orientation_e *
  */
 int image_meta_get_date_taken(image_meta_h image, char **date_taken);
 
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the exposure time from EXIF.
- * @since_tizen 2.4
- *
- * @remarks The @a exposure_time should be released using free().
- *
- * @param[in] image The handle to the image metadata
- * @param[out] exposure_time The value of exposure_time, getting from EXIF
- *
- * @return 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- */
-int image_meta_get_exposure_time(image_meta_h image, char **exposure_time) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the fnumber from EXIF.
- * @since_tizen 2.4
- *
- * @param[in] image The handle to the image metadata
- * @param[out] fnumber The value of fnumber, getting from EXIF
- *
- * @return 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- */
-int image_meta_get_fnumber(image_meta_h image, double *fnumber) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the iso from EXIF.
- * @since_tizen 2.4
- *
- * @param[in] image The handle to the image metadata
- * @param[out] iso The value of iso, getting from EXIF
- *
- * @return 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- */
-int image_meta_get_iso(image_meta_h image, int *iso) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the model from EXIF.
- * @since_tizen 2.4
- *
- * @remarks The @a model should be released using free().
- *
- * @param[in] image The handle to the image metadata
- * @param[out] model The value of model, getting from EXIF
- *
- * @return 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- *
- */
-int image_meta_get_model(image_meta_h image, char **model) TIZEN_DEPRECATED_API;
-
 /**
  * @}
  */
index a75380b42ba817476f86e43d50e1cc31c5c97ad8..6e85e47ae6ea497d3575f0320a601dd5ef3ee757 100644 (file)
@@ -360,57 +360,6 @@ int media_info_get_bookmark_count_from_db(const char *media_id, filter_h filter,
  */
 int media_info_foreach_bookmark_from_db(const char *media_id, filter_h filter, media_bookmark_cb callback, void *user_data) TIZEN_DEPRECATED_API;
 
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Gets the number of face for the passed @a media_id from the media database.
- * @details If @c NULL is passed to the @a filter, then no filtering is applied.
- *
- * @since_tizen 3.0
- *
- * @param[in] media_id The media ID
- * @param[in] filter The handle to the media filter
- * @param[out] face_count The count of media face
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED DB operation failed
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- * @see media_content_connect()
- * @see media_filter_create()
- *
- */
-int media_info_get_face_count_from_db(const char *media_id, filter_h filter, int *face_count) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @brief Iterates through the media files with optional @a filter in the given @a media_id from the media database.
- * @details This function gets all media face info associated with the given media id and
- * meeting desired filter option and calls @a callback for
- * every retrieved media face info. If NULL is passed to the @a filter, no filtering is applied.
- *
- * @since_tizen 3.0
- *
- * @param[in] media_id The media ID
- * @param[in] filter The handle to the media filter
- * @param[in] callback The callback function to invoke
- * @param[in] user_data The user data to be passed to the callback function
- *
- * @return 0 on success, otherwise a negative error value.
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY Out of memory
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- * @see media_content_connect()
- * @see media_filter_create()
- *
- */
-int media_info_foreach_face_from_db(const char *media_id, filter_h filter, media_face_cb callback, void *user_data) TIZEN_DEPRECATED_API;
-
 /**
  * @brief Gets the image metadata handle for a given media info.
  * @details This function returns an image metadata handle retrieved from the media info.
@@ -1031,82 +980,6 @@ int media_info_move_to_db(media_info_h media, const char* dst_path);
  */
 int media_info_generate_thumbnail(media_info_h media);
 
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
- * @brief Starts face detection for the given image, asynchronously.
- * @details This function detects faces for given image item and calls the given callback function when the detection is completed. \n
- *          The given callback function is called when the detection is completed. \n
- *          To obtain the detected faces, call the media_info_foreach_face_from_db() function. \n
- *          Supported image formats are jpg, png, and bmp.
- *
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write \n
- *                   %http://tizen.org/privilege/mediastorage \n
- *                   %http://tizen.org/privilege/externalstorage
- *
- * @remarks If you want to destroy the media handle before the callback invoked, you must cancel the face detection request using media_info_cancel_face_detection(). \n
- *          If the face detection fails, the @a face_count argument in media_face_detection_completed_cb() will be set to 0. \n
- *          The face detection of media items in external storage except MMC is not supported. \n
- *          Since 5.5, if the format of media data is unsupported, this function returns an error and the callback will not be invoked.
- *
- * @param[in] media The handle to the media info
- * @param[in] callback The callback function to be invoked when detection is completed
- * @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 #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_OUT_OF_MEMORY     Out of memory
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- * @retval #MEDIA_CONTENT_ERROR_DB_FAILED         DB Operation failed
- * @retval #MEDIA_CONTENT_ERROR_DB_BUSY           DB Operation busy
- * @retval #MEDIA_CONTENT_ERROR_NETWORK           Network fail
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_NOT_SUPPORTED     Not supported
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- *
- * @see media_content_connect()
- * @see media_info_cancel_face_detection()
- */
-int media_info_start_face_detection(media_info_h media, media_face_detection_completed_cb callback, void *user_data) TIZEN_DEPRECATED_API;
-
-/**
- * @deprecated Deprecated since 8.0.
- * @ingroup CAPI_CONTENT_MEDIA_FACE_DETECTION_MODULE
- * @brief Cancels face detection of image for the given media.
- * @details This function cancels face detection for given media item. \n
- *          If you cancel face detection request before callback is invoked, the callback registered by media_info_start_face_detection() function will not be invoked.
- *
- * @since_tizen 3.0
- *
- * @privlevel public
- * @privilege %http://tizen.org/privilege/content.write
- *
- * @remarks If face detection is already done when you request the cancellation, this function returns #MEDIA_CONTENT_ERROR_INVALID_OPERATION
- *
- * @param[in] media The handle to the media info
- *
- * @return @c 0 on success,
- *         otherwise a negative error value
- *
- * @retval #MEDIA_CONTENT_ERROR_NONE              Successful
- * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #MEDIA_CONTENT_ERROR_PERMISSION_DENIED Permission denied
- * @retval #MEDIA_CONTENT_ERROR_INVALID_OPERATION Invalid operation
- *
- * @pre This function requires opened connection to content service by media_content_connect().
- *
- * @see media_content_connect()
- * @see media_info_start_face_detection()
- */
-int media_info_cancel_face_detection(media_info_h media) TIZEN_DEPRECATED_API;
-
 /**
  * @}
  */
index ccfce32bf555fdab62b4527cf6e0dc0baf221dcc..f5e5e4ebfbd13305593f3922aa636ee805501337 100644 (file)
@@ -34,6 +34,9 @@
 #include <tzplatform_config.h>
 #include <media_content_type_product.h>
 
+//temporary
+#include <media_content_internal.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */
index 336b43aba1ddc62fa516aedc279ede02af15cc83..c6387cb7436690e9d0aa9e72e409d96cce94ce5f 100644 (file)
@@ -1,6 +1,6 @@
 Name:       capi-content-media-content
 Summary:    A Media content library in Tizen Native API
-Version:    0.5.9
+Version:    0.6.0
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0