summaryrefslogtreecommitdiff
path: root/src/include/media-thumb-internal.h
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/media-thumb-internal.h
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/media-thumb-internal.h')
-rwxr-xr-xsrc/include/media-thumb-internal.h10
1 files changed, 8 insertions, 2 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_*/