return ret;
}
-static int __mm_util_transform(mm_util_imgp_h imgp_handle, mm_image_info_s *image)
+static int __mm_util_transform(mm_util_s *handle, mm_image_info_s *image)
{
int ret = IMAGE_UTIL_ERROR_NONE;
- mm_util_s *handle = (mm_util_s *) imgp_handle;
image_util_fenter();
_image_handle = (mm_image_info_s *) calloc(1, sizeof(mm_image_info_s));
image_util_retvm_if((_image_handle == NULL), IMAGE_UTIL_ERROR_OUT_OF_MEMORY, "OUT_OF_MEMORY");
- handle->image_h = (mm_util_imgp_h) _image_handle;
+ handle->image_h = (void *) _image_handle;
switch (image_type) {
case IMAGE_UTIL_JPEG:
err = mm_util_gif_encode_create(&_gif_handle);
image_util_retvm_if((err != MM_UTIL_ERROR_NONE), _image_error_capi(ERR_TYPE_ENCODE, err), "Error - mm_util_gif_encode_create is failed (%d)", err);
- handle->image_h = (mm_util_imgp_h) _gif_handle;
+ handle->image_h = (void *) _gif_handle;
break;
case IMAGE_UTIL_BMP:
break;