summaryrefslogtreecommitdiff
path: root/server/include/thumb-server-internal.h
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-08-07 00:40:46 (GMT)
committerMinje Ahn <minje.ahn@samsung.com>2015-08-07 01:10:15 (GMT)
commit7adbb6954d7f05fd02b9cded3741ce6ed2c9226b (patch)
tree5315a9e75f2283f559b18a8375f093b6eca10a3e /server/include/thumb-server-internal.h
parent41f405edc8f31d877615c580ed6eb308d7eaebec (diff)
downloadlibmedia-thumbnail-7adbb6954d7f05fd02b9cded3741ce6ed2c9226b.zip
libmedia-thumbnail-7adbb6954d7f05fd02b9cded3741ce6ed2c9226b.tar.gz
libmedia-thumbnail-7adbb6954d7f05fd02b9cded3741ce6ed2c9226b.tar.bz2
Separate CMakeFiles for apply fPIE option Remove unused code Remove thumb_type Modify jpeg thumbnail creation logic when exif thumbnail is smaller than request thumbnail size Add scale down logic when request huge size image Fix bugs, memory leaks Remove unused parameters in function Change thumb path creation API position Remove thumbnail folder creation API Rename some functions Change-Id: I0e13d393dd524b61bcf44722c33b6f270649b732 Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server/include/thumb-server-internal.h')
-rwxr-xr-xserver/include/thumb-server-internal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/include/thumb-server-internal.h b/server/include/thumb-server-internal.h
index cd754e8..ac9a8ab 100755
--- a/server/include/thumb-server-internal.h
+++ b/server/include/thumb-server-internal.h
@@ -20,6 +20,7 @@
*/
#include <glib.h>
+#include <vconf.h>
#include "media-thumb-ipc.h"
#include "media-thumb-db.h"
@@ -47,8 +48,8 @@ gboolean _thumb_server_prepare_socket(int *sock_fd);
gboolean _thumb_server_read_socket(GIOChannel *src, GIOCondition condition, gpointer data);
int _thumbnail_get_data(const char *origin_path,
- media_thumb_type thumb_type,
media_thumb_format format,
+ char *thumb_path,
unsigned char **data,
int *size,
int *width,
@@ -56,18 +57,17 @@ int _thumbnail_get_data(const char *origin_path,
int *origin_width,
int *origin_height,
int *alpha,
- uid_t uid);
+ bool *is_saved);
int _thumbnail_get_raw_data(const char *origin_path,
media_thumb_format format,
- unsigned char **data,
- int *size,
int *width,
int *height,
- uid_t uid);
+ unsigned char **data,
+ int *size);
int _media_thumb_process(thumbMsg *req_msg, thumbMsg *res_msg, uid_t uid);
-int _media_thumb_process_raw(thumbMsg *req_msg, thumbMsg *res_msg, thumbRawAddMsg *res_raw_msg, uid_t uid);
+int _media_thumb_process_raw(thumbMsg *req_msg, thumbMsg *res_msg, thumbRawAddMsg *res_raw_msg);
#endif /*_THUMB_DAEMON_INTERNAL_H_*/