Modify mm_util_resize_image() API to receive allocated buffer and buffer info
[platform/core/multimedia/libmm-utility.git] / imgp / include / mm_util_imgp.h
index 1138cb8..51f6b42 100755 (executable)
@@ -207,7 +207,8 @@ int mm_util_convert_colorspace(const unsigned char *src, unsigned int src_width,
  * @see         mm_util_color_format_e
  * @since       R1, 1.0
  */
-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 char *dst, unsigned int *dst_width, unsigned int *dst_height);
+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);
+
 
 /**
  * This function rotates the source image.