Remove __media_svc_resize_artwork() 63/257163/4
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 20 Apr 2021 07:43:52 +0000 (16:43 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Tue, 20 Apr 2021 07:54:33 +0000 (16:54 +0900)
commit8d9d1104a911b2218a9ea09e986801c5ca0f5151
tree4dcfd29ba5bdbfc0ea364439be9d855b6bbfada0
parent88a62513130637383cc6e9b132c2b18d90caf16b
Remove __media_svc_resize_artwork()

There were no memory or storage related issues after resizing was prevented.
So, remove __media_svc_resize_artwork() function.

[Information]
Prevent resize for performance (2020.02.07)
In most cases, artwork's format is jpeg and size is under MEDIA_SVC_ARTWORK_SIZE * MEDIA_SVC_ARTWORK_SIZE.
So, doing mm_util_extract_image_info to check image size is a time-consuming task.

Change-Id: I42e400c7acaac0da1f97ff52e7c3d988f4bc892d
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
packaging/libmedia-service.spec
src/common/media-svc-media.c
src/common/media-svc-util.c