summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2017-06-07 06:46:18 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2017-06-08 05:08:18 (GMT)
commit75c4bd5f2433f484a974b913d9e58cf5f5cdb187 (patch)
treef540a33e9b4d0e47f670ae93a51fa9890fdc9598 /src/include
parent34ed08a8f899bffe2f9b27b4bd2e6e180650e61c (diff)
downloadlibmedia-thumbnail-75c4bd5f2433f484a974b913d9e58cf5f5cdb187.zip
libmedia-thumbnail-75c4bd5f2433f484a974b913d9e58cf5f5cdb187.tar.gz
libmedia-thumbnail-75c4bd5f2433f484a974b913d9e58cf5f5cdb187.tar.bz2
Remove format enum and related API Remove unused codes Merge same logics Change-Id: I1e44585955eb1698d2aa5901f2e1969d831de6c7 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/media-thumb-internal.h2
-rwxr-xr-xsrc/include/util/media-thumb-util.h5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/include/media-thumb-internal.h b/src/include/media-thumb-internal.h
index da9165b..6d0d5e6 100755
--- a/src/include/media-thumb-internal.h
+++ b/src/include/media-thumb-internal.h
@@ -74,13 +74,11 @@ int _media_thumb_image(const char *origin_path,
const char *thumb_path,
int thumb_width,
int thumb_height,
- media_thumb_format format,
media_thumb_info *thumb_info);
int _media_thumb_video(const char *origin_path,
int thumb_width,
int thumb_height,
- media_thumb_format format,
media_thumb_info *thumb_info);
int _media_thumb_get_hash_name(const char *file_full_path,
diff --git a/src/include/util/media-thumb-util.h b/src/include/util/media-thumb-util.h
index f3771bc..4b9c74b 100755
--- a/src/include/util/media-thumb-util.h
+++ b/src/include/util/media-thumb-util.h
@@ -29,11 +29,6 @@
else { src = malloc(size); if (src) memset(src, 0x0, size); } }
#define SAFE_STRLCPY(dst, src, n) g_strlcpy(dst, src, n);
-typedef enum {
- MEDIA_THUMB_BGRA, /* BGRA, especially provided for evas users */
- MEDIA_THUMB_RGB888, /* RGB888 */
-} media_thumb_format;
-
#define THUMB_NONE_TYPE -1 /* None */
#define THUMB_IMAGE_TYPE 0 /* Image */
#define THUMB_VIDEO_TYPE 1 /* Video */