summaryrefslogtreecommitdiff
path: root/src/include/ipc/media-thumb-ipc.h
diff options
context:
space:
mode:
authorMinje Ahn <minje.ahn@samsung.com>2015-06-11 14:16:38 +0900
committerMinje Ahn <minje.ahn@samsung.com>2015-06-12 13:32:13 +0900
commita12bc773900c611d8ca0e159397f039fa588893d (patch)
tree04ab5a27bd40f5441ccb45c0ed01e746f846279c /src/include/ipc/media-thumb-ipc.h
parentcbb11bf8d28059cdf57cea64a04150a740cbcf91 (diff)
downloadlibmedia-thumbnail-a12bc773900c611d8ca0e159397f039fa588893d.tar.gz
libmedia-thumbnail-a12bc773900c611d8ca0e159397f039fa588893d.tar.bz2
libmedia-thumbnail-a12bc773900c611d8ca0e159397f039fa588893d.zip
support thumbnail-util.
Change-Id: Ia218f4ef9ea66318eb67ed1fef2c6034044c18cb Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'src/include/ipc/media-thumb-ipc.h')
-rwxr-xr-xsrc/include/ipc/media-thumb-ipc.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/include/ipc/media-thumb-ipc.h b/src/include/ipc/media-thumb-ipc.h
index cc3cabf..ea07e5e 100755
--- a/src/include/ipc/media-thumb-ipc.h
+++ b/src/include/ipc/media-thumb-ipc.h
@@ -48,7 +48,11 @@ enum {
THUMB_REQUEST_CANCEL_MEDIA,
THUMB_REQUEST_CANCEL_ALL,
THUMB_REQUEST_KILL_SERVER,
- THUMB_RESPONSE
+ THUMB_RESPONSE,
+ THUMB_REQUEST_RAW_DATA,
+ THUMB_REQUEST_CANCEL_RAW_DATA,
+ THUMB_REQUEST_CANCEL_ALL_RAW_DATA,
+ THUMB_RESPONSE_RAW_DATA,
};
enum {
@@ -67,6 +71,10 @@ int _media_thumb_recv_udp_msg(int sock, int header_size, thumbMsg *msg, struct s
int _media_thumb_set_buffer(thumbMsg *req_msg, unsigned char **buf, int *buf_size);
+int _media_thumb_set_buffer_for_response(thumbMsg *req_msg, unsigned char **buf, int *buf_size);
+
+int _media_thumb_set_add_raw_data_buffer(thumbRawAddMsg *req_msg, unsigned char **buf, int *buf_size);
+
int _media_thumb_request(int msg_type,
media_thumb_type thumb_type,
const char *origin_path,
@@ -81,6 +89,16 @@ int _media_thumb_request_async(int msg_type,
thumbUserData *userData,
uid_t uid);
+int _media_thumb_request_raw_data_async(int msg_type,
+ int request_id,
+ const char *origin_path,
+ int width,
+ int height,
+ thumbRawUserData *userData,
+ uid_t uid);
+
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);
+
#endif /*_MEDIA_THUMB_IPC_H_*/