INCLUDE(FindPkgConfig)
pkg_check_modules(pkgs REQUIRED glib-2.0 dlog sqlite3 capi-media-vision
- libmedia-utils libtzplatform-config mmutil-magick)
+ libmedia-utils libtzplatform-config mmutil-common mmutil-magick)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
}
}
- mm_util_get_image(dst_handle, image_buffer, buff_width, buff_height, size, &format);
+ mm_image_get_image(dst_handle, buff_width, buff_height, &format, image_buffer, size);
ERROR:
- if (resize_dst_handle != NULL)
- mm_util_destroy_handle(resize_dst_handle);
- if (dst_handle != NULL)
- mm_util_destroy_handle(dst_handle);
+ if (resize_dst_handle)
+ mm_image_destroy_image(resize_dst_handle);
+ if (dst_handle)
+ mm_image_destroy_image(dst_handle);
dcm_debug_fleave();
BuildRequires: pkgconfig(capi-media-vision)
BuildRequires: pkgconfig(libmedia-utils)
BuildRequires: pkgconfig(libtzplatform-config)
+BuildRequires: pkgconfig(mmutil-common)
BuildRequires: pkgconfig(mmutil-magick)
%if 0%{?gtests:1}
BuildRequires: pkgconfig(gmock)