Rename jpeg decoding function 79/183279/1
authorJiyong Min <jiyong.min@samsung.com>
Wed, 4 Jul 2018 05:13:59 +0000 (14:13 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Wed, 4 Jul 2018 05:14:34 +0000 (14:14 +0900)
Change-Id: I631479986e610b739d0472db3e1782f12ea7f67f

packaging/capi-media-image-util.spec
src/image_util_decode.c

index db543ae..5fa4ee1 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-image-util
 Summary:    A Image Utility library in Tizen Native API
-Version:    0.1.39
+Version:    0.1.40
 Release:    2
 Group:      Multimedia/API
 License:    Apache-2.0
index 386c66c..87f1a9b 100755 (executable)
@@ -350,9 +350,9 @@ static int _image_util_decode_internal(decode_encode_s * _handle)
                        mm_util_jpeg_yuv_data *jpeg_data = (mm_util_jpeg_yuv_data *) _handle->image_h;
 
                        if (_handle->path)
-                                       err = mm_util_decode_from_jpeg_file_with_downscale(_handle->path, TYPECAST_COLOR_BY_TYPE(_handle->colorspace, IMAGE_UTIL_JPEG), _convert_decode_scale_tbl[_handle->down_scale], jpeg_data);
+                                       err = mm_util_decode_from_jpeg_file(_handle->path, TYPECAST_COLOR_BY_TYPE(_handle->colorspace, IMAGE_UTIL_JPEG), _convert_decode_scale_tbl[_handle->down_scale], jpeg_data);
                        else
-                                       err = mm_util_decode_from_jpeg_memory_with_downscale(_handle->src_buffer[0], _handle->src_size, TYPECAST_COLOR_BY_TYPE(_handle->colorspace, IMAGE_UTIL_JPEG), _convert_decode_scale_tbl[_handle->down_scale], jpeg_data);
+                                       err = mm_util_decode_from_jpeg_memory(_handle->src_buffer[0], _handle->src_size, TYPECAST_COLOR_BY_TYPE(_handle->colorspace, IMAGE_UTIL_JPEG), _convert_decode_scale_tbl[_handle->down_scale], jpeg_data);
 
                        if (err == MM_UTIL_ERROR_NONE) {
                                *(_handle->dst_buffer) = jpeg_data->data;