From: hj kim Date: Wed, 10 Oct 2018 07:11:25 +0000 (+0900) Subject: Move callback related code to CAPI level X-Git-Tag: submit/tizen/20181106.000712^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e026b4b5cacaf48d7b12212c0abfac6c30d39afd;p=platform%2Fcore%2Fmultimedia%2Flibmm-utility.git Move callback related code to CAPI level Change-Id: Ib0533bbe112e3c26b9bff89aa610bc7cd71888e5 --- diff --git a/imgp/include/mm_util_imgp.h b/imgp/include/mm_util_imgp.h index 5c8e303..dd98070 100755 --- a/imgp/include/mm_util_imgp.h +++ b/imgp/include/mm_util_imgp.h @@ -33,8 +33,6 @@ extern "C" { typedef void *mm_util_imgp_h; -typedef bool (*mm_util_completed_callback)(mm_util_color_image_h image, int error, void *user_param); - typedef enum { MM_UTIL_ROTATE_0, /**< Rotation 0 degree - no effect */ MM_UTIL_ROTATE_90, /**< Rotation 90 degree */ @@ -45,11 +43,6 @@ typedef enum { MM_UTIL_ROTATE_NUM /**< Number of rotation types */ } mm_util_img_rotate_type; -typedef struct { - void *user_data; - mm_util_completed_callback completed_cb; -} mm_util_cb_s; - int mm_util_get_image_size(mm_util_color_format_e format, unsigned int width, unsigned int height, size_t *imgsize); int mm_util_convert_colorspace(const unsigned char *src, unsigned int src_width, unsigned int src_height, mm_util_color_format_e src_format, mm_util_color_format_e dst_format, unsigned char **dst, unsigned int *result_buf_width, unsigned int *result_buf_height, size_t *result_buf_size); int mm_util_resize_image(const unsigned char *src, unsigned int src_width, unsigned int src_height, mm_util_color_format_e src_format, unsigned int dst_width, unsigned int dst_height, unsigned char **dst, unsigned int *result_buf_width, unsigned int *result_buf_height, size_t *result_buf_size);