diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2015-08-07 09:40:46 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2015-08-07 10:10:15 +0900 |
commit | 7adbb6954d7f05fd02b9cded3741ce6ed2c9226b (patch) | |
tree | 5315a9e75f2283f559b18a8375f093b6eca10a3e /server/include/thumb-server-internal.h | |
parent | 41f405edc8f31d877615c580ed6eb308d7eaebec (diff) | |
download | libmedia-thumbnail-7adbb6954d7f05fd02b9cded3741ce6ed2c9226b.tar.gz libmedia-thumbnail-7adbb6954d7f05fd02b9cded3741ce6ed2c9226b.tar.bz2 libmedia-thumbnail-7adbb6954d7f05fd02b9cded3741ce6ed2c9226b.zip |
Patch below:submit/tizen/20150807.043057accepted/tizen/wearable/20150807.073442accepted/tizen/tv/20150807.073433accepted/tizen/mobile/20150807.073414
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-x | server/include/thumb-server-internal.h | 12 |
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_*/ |