summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-08-03 01:26:20 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2015-08-03 01:26:20 (GMT)
commit41f405edc8f31d877615c580ed6eb308d7eaebec (patch)
treeab4fad2f453bc02105c1f8ac09dadfb437de932e /src/include
parent318ec49c458b8f7acef0c192d046074250ebe231 (diff)
downloadlibmedia-thumbnail-41f405edc8f31d877615c580ed6eb308d7eaebec.zip
libmedia-thumbnail-41f405edc8f31d877615c580ed6eb308d7eaebec.tar.gz
libmedia-thumbnail-41f405edc8f31d877615c580ed6eb308d7eaebec.tar.bz2
- Some images can not create thumbnail using gdk-pixbuf. Change-Id: I67e08edd27547875de2045eae68e114dc1c0a3c2 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/include')
-rwxr-xr-xsrc/include/media-thumb-internal.h10
-rwxr-xr-xsrc/include/util/media-thumb-util.h7
2 files changed, 8 insertions, 9 deletions
diff --git a/src/include/media-thumb-internal.h b/src/include/media-thumb-internal.h
index 0ab9eb7..ad50b04 100755
--- a/src/include/media-thumb-internal.h
+++ b/src/include/media-thumb-internal.h
@@ -25,7 +25,6 @@
#include "media-thumb-util.h"
#include "media-thumb-types.h"
#include "media-thumb-debug.h"
-#include <gdk-pixbuf/gdk-pixbuf.h>
#ifndef _MEDIA_THUMB_INTERNAL_H_
#define _MEDIA_THUMB_INTERNAL_H_
@@ -47,7 +46,6 @@ typedef struct {
int origin_height;
gboolean alpha;
unsigned char *data;
- GdkPixbuf *gdkdata;
} media_thumb_info;
enum Exif_Orientation {
@@ -87,4 +85,12 @@ int _media_thumb_video(const char *origin_path,
media_thumb_info *thumb_info,
uid_t uid);
+int _media_thumb_get_hash_name(const char *file_full_path, char *thumb_hash_path, size_t max_thumb_path, uid_t uid);
+
+int _media_thumb_save_to_file_with_evas(unsigned char *data,
+ int w,
+ int h,
+ int alpha,
+ char *thumb_path);
+
#endif /*_MEDIA_THUMB_INTERNAL_H_*/
diff --git a/src/include/util/media-thumb-util.h b/src/include/util/media-thumb-util.h
index bee3b44..3bb71df 100755
--- a/src/include/util/media-thumb-util.h
+++ b/src/include/util/media-thumb-util.h
@@ -23,7 +23,6 @@
#include "media-thumb-debug.h"
#include "media-util.h"
#include <tzplatform_config.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
#ifndef _MEDIA_THUMB_UTIL_H_
#define _MEDIA_THUMB_UTIL_H_
@@ -62,12 +61,6 @@ char* _media_thumb_generate_hash_name(const char *file);
int _media_thumb_get_hash_name(const char *file_full_path, char *thumb_hash_path, size_t max_thumb_path, uid_t uid);
-int _media_thumb_save_to_file_with_gdk(GdkPixbuf *data,
- int w,
- int h,
- gboolean alpha,
- char *thumb_path);
-
int _media_thumb_get_width(media_thumb_type thumb_type);
int _media_thumb_get_height(media_thumb_type thumb_type);