Move callback related code to CAPI level 78/190978/1
authorhj kim <backto.kim@samsung.com>
Wed, 10 Oct 2018 07:11:25 +0000 (16:11 +0900)
committerhj kim <backto.kim@samsung.com>
Wed, 10 Oct 2018 07:11:25 +0000 (16:11 +0900)
Change-Id: Ib0533bbe112e3c26b9bff89aa610bc7cd71888e5

imgp/include/mm_util_imgp.h

index 5c8e303..dd98070 100755 (executable)
@@ -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);