platform/core/api/image-util.git
4 years agoUse set colorspace 40/238340/1
hj kim [Mon, 13 Jul 2020 02:52:50 +0000 (11:52 +0900)]
Use set colorspace

Change-Id: Iabca5d5de4ab664a3dfafba88499689aca7212e2

4 years agoMove structures and typedef to proper file 56/238256/2 accepted/tizen/unified/20200713.094506 submit/tizen/20200710.064028
hj kim [Fri, 10 Jul 2020 04:16:18 +0000 (13:16 +0900)]
Move structures and typedef to proper file

Change-Id: I9bd6beafd9ff3c89f86aa353bd20660becf4df5d

4 years agoRemove unused codes 55/238255/1
hj kim [Fri, 10 Jul 2020 04:08:59 +0000 (13:08 +0900)]
Remove unused codes

Change-Id: I65c82ccee852fa2e25807f85b86a66a964328ef0

4 years agoVersion Up (0.2.5 -> 0.2.6) 72/236572/4 accepted/tizen/unified/20200626.133543 submit/tizen/20200622.022343 submit/tizen/20200624.231811
hj kim [Thu, 18 Jun 2020 07:00:17 +0000 (16:00 +0900)]
Version Up (0.2.5 -> 0.2.6)

Change-Id: I95674981491c8ae8d923c9e08438af06cb97013d

4 years agoRemove out of memory related code by using glib APIs 79/230779/34
hj kim [Tue, 14 Apr 2020 06:24:17 +0000 (15:24 +0900)]
Remove out of memory related code by using glib APIs

glib's memory managed as below.
If any call to allocate memory fails, the application is terminated. This also means that there is no need to check if the call succeeded.

Change-Id: If45d428b921af0441437892fec85cb2799f52a75

4 years agoImprove __mm_util_transform_async() 87/236587/3
hj kim [Thu, 18 Jun 2020 08:29:30 +0000 (17:29 +0900)]
Improve __mm_util_transform_async()

Change-Id: I3fd3cd4ecfec2f744924238d4392035e609517e9

4 years agoImprove image_util_decode_set_input_path() 31/236531/5
hj kim [Thu, 18 Jun 2020 02:02:01 +0000 (11:02 +0900)]
Improve image_util_decode_set_input_path()

Change-Id: Ia7af5c3447cb6e943b9fd8c6f002b49d26b27d2e

4 years agoImprove __image_util_decode_read_header() 29/236529/3
hj kim [Thu, 18 Jun 2020 01:47:55 +0000 (10:47 +0900)]
Improve __image_util_decode_read_header()

Change-Id: I2c8b7395901299f1cafb29e47f933d1b9345ddec

4 years agoImprove image_util_transform_create() 62/236462/3
hj kim [Wed, 17 Jun 2020 07:45:29 +0000 (16:45 +0900)]
Improve image_util_transform_create()

g_new0 and g_async_queue_new_full not return NULL.

Change-Id: I67459034e4693817776b5c3030a5c453399925af

4 years agoUpdate debug message 24/236324/12
hj kim [Tue, 16 Jun 2020 07:47:31 +0000 (16:47 +0900)]
Update debug message

Change-Id: I68e64f26acd9a93a7026737fb8936c09b4c9c71a

4 years agoFix wrong return value for invalid parameters 29/236329/5
hj kim [Tue, 16 Jun 2020 08:32:01 +0000 (17:32 +0900)]
Fix wrong return value for invalid parameters

Change-Id: Ic213b5931a5fe0675eac23be32c2133fcced4ce3

4 years agoFix bug of checking input parameters 53/236453/1
hj kim [Wed, 17 Jun 2020 07:07:15 +0000 (16:07 +0900)]
Fix bug of checking input parameters

Change-Id: I7d0d8f0ad8989249fcc6c05ba736490090401838

4 years agoFix wrong return value and improve image_util_extract_color_from_memory() 12/236412/2
hj kim [Wed, 17 Jun 2020 02:04:41 +0000 (11:04 +0900)]
Fix wrong return value and improve image_util_extract_color_from_memory()

Change-Id: I4c12373dd3824c13c153abfa701726a2d1694dbe

4 years agoUse mmutil-magick instead of mmutil-bmp 17/231817/4 accepted/tizen/unified/20200601.051555 submit/tizen/20200529.005835
hj kim [Fri, 24 Apr 2020 09:02:31 +0000 (18:02 +0900)]
Use mmutil-magick instead of mmutil-bmp

mmutil-bmp was just a wrapper of mmutil-magick. so use mmutil-magick directlry.

Change-Id: I7fdbeba2eff597a29d486c1a005855b5ef82cfc0

4 years agoUnify rotate type enum 70/232370/2 accepted/tizen/unified/20200507.052259 submit/tizen/20200506.063025
jiyong.min [Sun, 3 May 2020 22:20:38 +0000 (07:20 +0900)]
Unify rotate type enum

Change-Id: I88b2f56056c1cb0e87a938ee75ad66b8690b7c91

4 years agoRemove unnecessary casting 29/231529/1
hj kim [Wed, 22 Apr 2020 07:53:02 +0000 (16:53 +0900)]
Remove unnecessary casting

Change-Id: I3050d80159d4b9e75178a6d09993a3fec9d4d0c2

4 years agoUse g_strdup() instead of g_strndup() 25/231525/1
hj kim [Wed, 22 Apr 2020 07:36:49 +0000 (16:36 +0900)]
Use g_strdup() instead of g_strndup()

Change-Id: I04b8b5021cea1cd9708aea409071807fb34a8c95

4 years agoFix typo 95/231495/1
hj kim [Wed, 22 Apr 2020 06:59:22 +0000 (15:59 +0900)]
Fix typo

Change-Id: I717519d91837be4553c4e3bc770b61fc1783772f

4 years agoApply tizen coding rule 83/230783/1
hj kim [Tue, 14 Apr 2020 06:33:44 +0000 (15:33 +0900)]
Apply tizen coding rule

Change-Id: I33e779102e87d347efeee43b6bb453fed67db915

4 years agoFix build error for toolchin upgrade (GCC6->GCC9) 62/220962/2 accepted/tizen/unified/20191227.142827 submit/tizen/20191226.093041
hj kim [Thu, 26 Dec 2019 05:41:30 +0000 (14:41 +0900)]
Fix build error for toolchin upgrade (GCC6->GCC9)

Change-Id: I8befef928e9b4e9dcb3af1615e76522ac15d2e0e

4 years agoAdd coverage exception macros 24/219424/2
jiyong.min [Wed, 4 Dec 2019 23:31:51 +0000 (08:31 +0900)]
Add coverage exception macros

Change-Id: I884da8d4ced2485d8b1656b125d53cbb1c2ea665

5 years agoReplace open(system call) to access(std.) 95/216695/8 accepted/tizen/unified/20191111.105532 submit/tizen/20191110.224221
jiyong.min [Thu, 31 Oct 2019 01:28:43 +0000 (10:28 +0900)]
Replace open(system call) to access(std.)

 - When open() without O_CREAT, executable program can't create file
   due to 'Permission Denied'. Just it happened in shell enviroment.

 - The access() is standard function to check path permission.

Change-Id: I5f4f2bf00c0e6a21b36c1c39261008e5035113fe

5 years agoFix typo 81/215581/1 accepted/tizen/unified/20191101.042006 submit/tizen/20191022.232325
jiyong.min [Fri, 11 Oct 2019 06:38:24 +0000 (15:38 +0900)]
Fix typo

 - @see tag points to itself

Change-Id: I52554423ff385a030f516803a5ea093961175ae3

5 years agoFix coverity issue (#1085447) 11/213311/3 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.025952 accepted/tizen/5.5/unified/mobile/hotfix/20201027.064729 accepted/tizen/unified/20190904.224447 submit/tizen/20190904.082736 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
jiyong.min [Wed, 4 Sep 2019 06:37:50 +0000 (15:37 +0900)]
Fix coverity issue (#1085447)

Change-Id: Ib9d77ca07988192b403b81011ff96326173a5624

5 years agoFix build error due to build warning 54/213054/1 accepted/tizen/unified/20190901.225914 submit/tizen/20190830.003130
jiyong.min [Fri, 30 Aug 2019 01:24:43 +0000 (10:24 +0900)]
Fix build error due to build warning

Change-Id: I94317bd88059c43332956b5b3ed8691ac7b83bc4

5 years agoFix build error and release version 0.2.2 53/213053/2
jiyong.min [Thu, 29 Aug 2019 23:27:58 +0000 (08:27 +0900)]
Fix build error and release version 0.2.2

Change-Id: Ic074c116e8e5956b0b5901adc41be61060bae1ee

5 years agoMerge "Fix coverity issue" into tizen
Jiyong Min [Thu, 29 Aug 2019 06:30:53 +0000 (06:30 +0000)]
Merge "Fix coverity issue" into tizen

5 years agoFix coverity issue 82/212982/3
jiyong.min [Thu, 29 Aug 2019 05:18:45 +0000 (14:18 +0900)]
Fix coverity issue

 - Out-of-bounds issue to read image_format_mimetype_table
 - 'MM_UTIL_COLOR_NUM' is larger than array_size but the array
   can access with array_size(table_size).
: So 'MM_UTIL_COLOR_NUM' is replaced to real array_size.

Change-Id: I7804cd4d510499b46d96183a1afc918fc0ffc444

5 years agoAdd removed symbol for compatibility 03/209703/11
jiyong.min [Wed, 10 Jul 2019 05:42:28 +0000 (14:42 +0900)]
Add removed symbol for compatibility

 - ACR-1123 : [5.0][capi-media-image-util][Remove] Remove deprecated APIs

Change-Id: I692a15579f4fe851637eb54f14c0f0bf2fedc23a

5 years agoRelocate converting image and media_packet to reduce duplicated code. 04/212204/6 accepted/tizen/unified/20190822.045407 submit/tizen/20190820.233532
jiyong.min [Mon, 19 Aug 2019 01:39:21 +0000 (10:39 +0900)]
Relocate converting image and media_packet to reduce duplicated code.

Change-Id: I075c718c46c31ceba2a0445ff77506ca053186e5

5 years agoDeallocate resources to prevent resource leak 54/212054/3 accepted/tizen/unified/20190816.112258 submit/tizen/20190816.014658
jiyong.min [Wed, 14 Aug 2019 00:54:12 +0000 (09:54 +0900)]
Deallocate resources to prevent resource leak

 - Resource leaks were detected by static analyzer

Change-Id: I638d74b22fd4f0c7af633ef9fdfb568ad4c9a906

5 years agoRemove check for gcov 12/209012/2 accepted/tizen/unified/20190702.234144 submit/tizen/20190701.235505
Minje Ahn [Tue, 2 Jul 2019 01:41:42 +0000 (10:41 +0900)]
Remove check for gcov

Change-Id: I29cf155b5f0dd4efb2304a3105e45532cb32da12
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years agoAdd for line coverage 74/208974/1
Minje Ahn [Mon, 1 Jul 2019 23:33:17 +0000 (08:33 +0900)]
Add for line coverage

Change-Id: Ibebe234bb2140e6406ba0dae1a34a4b8ad406ba9
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
5 years ago[ACR-1393] Modify description 35/207935/5
jiyong.min [Fri, 14 Jun 2019 05:34:06 +0000 (14:34 +0900)]
[ACR-1393] Modify description

Change-Id: I116d42ea1f49e3d53a5049b38f68cff67e22c57c

5 years agoUpdate API description 92/207692/1
hj kim [Tue, 11 Jun 2019 06:43:41 +0000 (15:43 +0900)]
Update API description

Change-Id: I1700fd898e8454400c3952d79ec2fb22fb0a3101

5 years agoUpdate API description 82/207682/1
hj kim [Tue, 11 Jun 2019 05:37:46 +0000 (14:37 +0900)]
Update API description

Change-Id: Id3e3943cdb8b0b827cbdb369d54113962717b5c5

5 years agoRelease version 0.2.1 67/207367/2 accepted/tizen/unified/20190605.215658 submit/tizen/20190604.054655
jiyong.min [Tue, 4 Jun 2019 03:59:29 +0000 (12:59 +0900)]
Release version 0.2.1

Changes:
 - Remove read permission from encode
 - Add new testsuites

Change-Id: I4e0d44a7b1a12d87d363363b3d437bf6af019f6c

5 years agoAdd unified image-util-testsuite and remove old tests 96/206996/14
jiyong.min [Thu, 30 May 2019 00:43:52 +0000 (09:43 +0900)]
Add unified image-util-testsuite and remove old tests

 - This supports all CAPIs in image-util

 SYNOPSIS
   capi-image-util-test [file | directory] [test_mode]

   ex
   ./capi-image-util-test test.jpg 0

 DESCRIPTION
   'capi-image-util-test' is testsuites for image-util.
   It can test all kind of CAPI in image-util.

   Most often capi-image-util-test is started to test a single file with the command

   ./capi-image-util-test [file]

   If the file is missing, the program will start with set path menu.

   help        Give a help message and exit, just like "-h", "-help" and "--help"

   [file]      A file to test. The test file should be jpg/png/gif/bmp or raw data.
               If the file is raw data, the program will request another information
               , size & color, of the raw data.

   [directory] A directory that has lots of images to encode a-gif.

   [test_mode] A mode to test. This is optional.
               If the mode is missing, the program will give the select message.
               0: Auto, 1: decode, 2: encode, 3: encode a-gif, 4: transform

Change-Id: If8b3d288cc75c27c9d2312296c6cb9623a2a6b52

5 years agoFix typo and rearrange code 94/206994/3 accepted/tizen/unified/20190604.014700 submit/tizen/20190603.092603
jiyong.min [Thu, 30 May 2019 00:41:42 +0000 (09:41 +0900)]
Fix typo and rearrange code

Change-Id: Ida4438c40f81a95be6cde2b311bfdcd204bd9604

5 years agoChange the valid permission to encode image 93/206993/2
jiyong.min [Thu, 30 May 2019 00:33:59 +0000 (09:33 +0900)]
Change the valid permission to encode image

 - Because encoded file do not exist before encoding,
   open/fopen return error for RD(read) permission.

Change-Id: I24ab95e5bab5edaed62c55b0c95c8495473299d8

5 years ago[ACR-1393][Add/Deprecate] Update encoding APIs 27/201727/47 accepted/tizen/unified/20190530.043135 submit/tizen/20190529.045235
hj kim [Tue, 19 Mar 2019 05:58:01 +0000 (14:58 +0900)]
[ACR-1393][Add/Deprecate] Update encoding APIs

Change-Id: I501cabbbcbe6e19096108d2f20906dd47668a72f

5 years agoFix typo 61/205961/1
jiyong.min [Mon, 13 May 2019 00:59:59 +0000 (09:59 +0900)]
Fix typo

Change-Id: I7436100bf9eefe5543e94a2e09f999ffe0fa8093

5 years agoFix the way to use media_packet when multiple bos are given 58/205758/5 accepted/tizen/unified/20190510.111035 submit/tizen/20190510.035157
jiyong.min [Thu, 9 May 2019 05:01:00 +0000 (14:01 +0900)]
Fix the way to use media_packet when multiple bos are given

To get pointer address of planes from media packet,
replace media_packet_get_buffer_data_ptr() with media_packet_get_video_plane_data_ptr().

Change-Id: I4c7da53d6c3b2d0cee1cfd6e3fc3b7f41915f494

5 years agoAdd to copy & to release the input buffer recieved from application 19/204419/4 accepted/tizen/unified/20190425.014608 submit/tizen/20190424.053652
jiyong.min [Wed, 24 Apr 2019 00:00:08 +0000 (09:00 +0900)]
Add to copy & to release the input buffer recieved from application
(To prevent crash when application release the buffer)

Change-Id: Idfd9e82516ccdc4b7ad4ad8e402dfe7a9a39321e

5 years ago[ACR-1389][Add/Deprecate] Update decoding APIs 45/201945/25 accepted/tizen/unified/20190418.010737 submit/tizen/20190416.093532
hj kim [Thu, 21 Mar 2019 06:15:00 +0000 (15:15 +0900)]
[ACR-1389][Add/Deprecate] Update decoding APIs

[Deprecated]
int image_util_decode_set_output_buffer(image_util_decode_h handle, unsigned char **dst_buffer)
int image_util_decode_run(image_util_decode_h handle, unsigned long *width, unsigned long *height, unsigned long long *size)
int image_util_decode_run_async(image_util_decode_h handle, image_util_decode_completed_cb callback, void *user_data)
typedef void (*image_util_decode_completed_cb) (int error_code, void *user_data, unsigned long width, unsigned long height, unsigned long long size)

[Added]
int image_util_decode_run2(image_util_decode_h handle, image_util_image_h *image)
int image_util_decode_run_async2(image_util_decode_h handle, image_util_decode_completed2_cb callback, void *user_data)
typedef void (*image_util_decode_completed2_cb) (int error_code, image_util_image_h image, void *user_data)

Change-Id: I185d5f4459ce9c55d546f6318145b5073916d3f7

5 years ago[ACR-1374] Change typedef of handle 24/203224/2 accepted/tizen/unified/20190411.144007 submit/tizen/20190411.021631
jiyong.min [Thu, 11 Apr 2019 01:58:21 +0000 (10:58 +0900)]
[ACR-1374] Change typedef of handle

The type of handle is common type. It can be already in use.
So we will change it to 'typedef void *image_util_image_h'.

Change-Id: Ie9b36a1788c2c958a81c07ccbd7b85e6d3c3aad8

5 years agoAdd stdlib.h to fix build error regarding the size_t 67/202967/1 accepted/tizen/unified/20190410.002105 submit/tizen/20190408.062654
hj kim [Mon, 8 Apr 2019 07:32:54 +0000 (16:32 +0900)]
Add stdlib.h to fix build error regarding the size_t

Change-Id: I7b3b486998981fd76aabf74d0b78ecee3cb4e55e

5 years ago[ACR-1374] [Add] Add new sync transform APIs (convert, crop, resize, rotate) 75/200575/47
hj kim [Wed, 27 Feb 2019 02:56:53 +0000 (11:56 +0900)]
[ACR-1374] [Add] Add new sync transform APIs (convert, crop, resize, rotate)

[Added]
image_util_create_image(unsigned int width, unsigned int height, image_util_colorspace_e colorspace, const unsigned char *data, size_t data_size, image_h *image)
image_util_get_image(image_h image, unsigned int *width, unsigned int *height, image_util_colorspace_e *colorspace, unsigned char **data, size_t *data_size)
image_util_clone_image(image_h src, image_h *dst)
image_util_destroy_image(image_h image)

typedef void(*image_util_transform_completed_2_cb)(image_h dst, int error_code, void *user_data)
image_util_transform_run_2(transformation_h handle, image_h image, image_h *dst)
image_util_transform_run_2_async(transformation_h handle, image_h src, image_util_transform_completed_2_cb callback, void *user_data)

Change-Id: I0a2dd604134f1e5fe44314794641bb4fefa33c39

5 years agoJust update API descriptions 20/201820/1 accepted/tizen/unified/20190322.075430 submit/tizen/20190321.013843
hj kim [Wed, 20 Mar 2019 02:06:22 +0000 (11:06 +0900)]
Just update API descriptions

Change-Id: I5014352f73bcf540ac46f9e2c674d6af09f735e9

5 years agoJust update API descriptions 19/201819/1
hj kim [Wed, 20 Mar 2019 01:52:39 +0000 (10:52 +0900)]
Just update API descriptions

Change-Id: I5a15d0cfd35ce5dc43a6b4631153da26480d4d42

5 years agoModify parameters in encoding APIs have been changed from mm_image_info_s to mm_util_... 63/201263/8 accepted/tizen/unified/20190318.221230 submit/tizen/20190313.075153
hj kim [Tue, 12 Mar 2019 04:00:09 +0000 (13:00 +0900)]
Modify parameters in encoding APIs have been changed from mm_image_info_s to mm_util_image_h

Change-Id: I6fb2dd73bcd005d36fcfef1ae84eeac2964c1088

5 years agoModify parameter in imgage processing APIs to mm_util_image_h 06/201306/6
jiyong.min [Tue, 12 Mar 2019 08:39:58 +0000 (17:39 +0900)]
Modify parameter in imgage processing APIs to mm_util_image_h

Change-Id: Ic39ef558640328f10f0c82e8285b8ecbac35e914

5 years agoparameters in decoding APIs has been changed from mm_image_info_s to mm_util_image_h 05/201205/8 accepted/tizen/unified/20190313.075526 submit/tizen/20190313.021136
hj kim [Mon, 11 Mar 2019 09:02:11 +0000 (18:02 +0900)]
parameters in decoding APIs has been changed from mm_image_info_s to mm_util_image_h

Change-Id: Icb011e85856cad08b735b7d50b405d8c3d957b97

5 years agoRearrange media_packet creation to remove duplicated code 83/201083/3 accepted/tizen/unified/20190311.220547 submit/tizen/20190311.013617
jiyong.min [Fri, 8 Mar 2019 06:30:48 +0000 (15:30 +0900)]
Rearrange media_packet creation to remove duplicated code

Change-Id: Iad70f63194beaa2a35fdbd80b738015b30bed34a

5 years agoModify image transforms to use unified image handle 58/201058/4
jiyong.min [Fri, 8 Mar 2019 00:23:35 +0000 (09:23 +0900)]
Modify image transforms to use unified image handle

Change-Id: I561da87ac4619ec0b0b9968dd66c231b2ee79ad2

5 years agoUnify the type of width and height to 'unsigned int' 34/200934/5
jiyong.min [Wed, 6 Mar 2019 07:05:00 +0000 (16:05 +0900)]
Unify the type of width and height to 'unsigned int'

- The type of width and height was previously mixed
with 'unsigned long' and 'unsigned int'.

Change-Id: I2a6d47aa8e5cc375818bb0a400a495d8d0193d6d

5 years agoJust change image_h to gif_image_h 77/200577/2
hj kim [Wed, 27 Feb 2019 03:29:34 +0000 (12:29 +0900)]
Just change image_h to gif_image_h

Change-Id: I304a150781018519b310a2fa2c9aecc26102b059

5 years agoAdd to check the return of fseek() 85/198685/1 accepted/tizen/unified/20190207.120256 submit/tizen/20190131.041045
jiyong.min [Tue, 29 Jan 2019 00:23:09 +0000 (09:23 +0900)]
Add to check the return of fseek()

 - If fseek() is failed, -1 is returned and errno is set to indicate the errors.

Change-Id: Idf08b42325a5ebb9ede3702fc057d8058578669b

5 years agoJust move IMG_HEADER_LENGTH to use commonly 27/198327/1 accepted/tizen/unified/20190128.061725 submit/tizen/20190124.005947
hj kim [Thu, 24 Jan 2019 00:11:46 +0000 (09:11 +0900)]
Just move IMG_HEADER_LENGTH to use commonly

Change-Id: Ie046834a43d361bbcf9d7d4a4432c90c6e07f899

5 years agoMerge "Add to check the file permission before set the path" into tizen
Jiyong Min [Thu, 17 Jan 2019 08:28:22 +0000 (08:28 +0000)]
Merge "Add to check the file permission before set the path" into tizen

5 years agoAdd to check the file permission before set the path 32/197232/6
jiyong.min [Thu, 10 Jan 2019 08:42:33 +0000 (17:42 +0900)]
Add to check the file permission before set the path

Change-Id: I53a57e327e74520c30cc1b7054f52d12f5b11def

5 years agoFix typo 57/197557/1 accepted/tizen/unified/20190115.055931 submit/tizen/20190114.055326
hj kim [Mon, 14 Jan 2019 05:49:47 +0000 (14:49 +0900)]
Fix typo

Change-Id: I3ad616b311a8279f3b9e4b5087b1708ee69bc6c8

5 years agoCoverity issue fix 95/196195/2 accepted/tizen/unified/20181227.062031 submit/tizen/20181226.064859
hj kim [Wed, 26 Dec 2018 02:20:24 +0000 (11:20 +0900)]
Coverity issue fix

Change-Id: Iaa52a7b7ad1a67f9f04489d35803fa370acc6986

5 years agoFix format error in logs 83/194683/2 accepted/tizen/unified/20181210.060039 submit/tizen/20181207.051909
jiyong.min [Fri, 7 Dec 2018 03:52:28 +0000 (12:52 +0900)]
Fix format error in logs

Change-Id: Ib4409accc4074b66b9b66612d4fb6a2fc89bf007

5 years agoFix format error for dlog 78/194478/1 accepted/tizen/unified/20181205.154825 submit/tizen/20181205.014753
jiyong.min [Wed, 5 Dec 2018 01:58:08 +0000 (10:58 +0900)]
Fix format error for dlog

Change-Id: I208b18c715fe734c60c0cf597000553231dd9c46

5 years agoAdd to check the minimum size of the input buffer for decoding image 09/194009/2
jiyong.min [Wed, 28 Nov 2018 07:45:54 +0000 (16:45 +0900)]
Add to check the minimum size of the input buffer for decoding image

Change-Id: I3c3d20f2576ef7e491d81fca7d7ef53382a4014e

5 years agoMerge "[ACR-1317]Deprecate image_util_calculate_buffer_size() function. It is not... accepted/tizen/unified/20181123.063239 submit/tizen/20181122.024304
hj kim [Thu, 22 Nov 2018 02:40:37 +0000 (02:40 +0000)]
Merge "[ACR-1317]Deprecate image_util_calculate_buffer_size() function. It is not needed anymore." into tizen

6 years agoRemove unused header(mm_util_common.h) 27/193027/2 accepted/tizen/unified/20181121.173158 submit/tizen/20181119.072242 submit/tizen/20181121.000755
jiyong.min [Wed, 14 Nov 2018 03:49:05 +0000 (12:49 +0900)]
Remove unused header(mm_util_common.h)

Change-Id: Iceeeb4f5fa49825fe4861010ed19f583996dba41

6 years agoMerge "Apply null pointer of the size for using output path When the path is used...
Jiyong Min [Wed, 14 Nov 2018 01:10:10 +0000 (01:10 +0000)]
Merge "Apply null pointer of the size for using output path When the path is used, the output buffer and the size are unused." into tizen

6 years agoRemove unused internal APIs. 1.Sync APIs for transform 2. APIs to support AGIF 85/192885/2
hj kim [Mon, 12 Nov 2018 08:26:00 +0000 (17:26 +0900)]
Remove unused internal APIs. 1.Sync APIs for transform 2. APIs to support AGIF

Change-Id: Id7e4bd4280c138e3fbfe4995f939d12d21b1a387

6 years agoApply null pointer of the size for using output path 85/192585/3
jiyong.min [Wed, 7 Nov 2018 00:36:03 +0000 (09:36 +0900)]
Apply null pointer of the size for using output path
When the path is used, the output buffer and the size are unused.

Change-Id: Id0360b92fbf23c72f0bffc4429d9620012c4aabc

6 years ago[ACR-1317]Deprecate image_util_calculate_buffer_size() function. It is not needed... 76/192876/3
hj kim [Mon, 12 Nov 2018 07:38:36 +0000 (16:38 +0900)]
[ACR-1317]Deprecate image_util_calculate_buffer_size() function. It is not needed anymore.

Change-Id: I66d16683347f8f37568ae549e0a33b4b5094009d

6 years agojust update debug msg 27/192727/1 accepted/tizen/unified/20181112.060902 submit/tizen/20181112.010749
hj kim [Thu, 8 Nov 2018 23:32:07 +0000 (08:32 +0900)]
just update debug msg

Change-Id: I7b1c171f85ec20bc871a0b68604b9f410d2d21b4

6 years agoMerge branch 'tizen_5.5_dev' into tizen 28/192228/2 accepted/tizen/unified/20181107.082004 submit/tizen/20181106.000712
hj kim [Thu, 1 Nov 2018 05:25:27 +0000 (14:25 +0900)]
Merge branch 'tizen_5.5_dev' into tizen

Change-Id: I4d35a932a05613688b5755b67fddc633647579f4

6 years agoRemove dlog from pc_dependents 58/192158/1 tizen_5.5_dev
hj kim [Wed, 31 Oct 2018 04:51:47 +0000 (13:51 +0900)]
Remove dlog from pc_dependents

Change-Id: Ied81ccb8515a18325c29d94854f33fe6c6e74dd0

6 years agoRemove unused mm-common dependency 82/192082/1
hj kim [Tue, 30 Oct 2018 04:44:18 +0000 (13:44 +0900)]
Remove unused mm-common dependency

Change-Id: I4bbe95dce57cd9baa621c884efa057462885279c

6 years agoRemove _image_util_check_resolution() API. check parameters directly 63/191663/1
hj kim [Mon, 22 Oct 2018 04:38:47 +0000 (13:38 +0900)]
Remove _image_util_check_resolution() API. check parameters directly

Change-Id: Id590cef6dd0a89d78c8884775b812f011bf20285

6 years agoAdd to check the parameter for api 15/191615/2
jiyong.min [Fri, 19 Oct 2018 04:46:26 +0000 (13:46 +0900)]
Add to check the parameter for api

Change-Id: Ib77dfd338385dc3892ffdcaaa1864ce0368ba14f

6 years agoChange source buffer to 'void*' from 'void**', decoding an image needs single source... 14/191614/2
jiyong.min [Fri, 19 Oct 2018 04:43:40 +0000 (13:43 +0900)]
Change source buffer to 'void*' from 'void**', decoding an image needs single source buffer

Change-Id: I7c1dc60f5fdac93f5b34d085ca36ff2bd3cb2ba3

6 years agoCheck input parameter 15/191515/1
hj kim [Thu, 18 Oct 2018 01:51:22 +0000 (10:51 +0900)]
Check input parameter

Change-Id: I075c1dd9f96234cfa33263a2ffbcb47fe17fb9d4

6 years agoAdd to check null pointer dereferenced 57/191457/4
jiyong.min [Wed, 17 Oct 2018 08:19:08 +0000 (17:19 +0900)]
Add to check null pointer dereferenced

Change-Id: I35f399e32dfd8ca5b347dab8f8171aba93714955

6 years agoAdd src_size parameter for decoding gif 30/191430/1
jiyong.min [Wed, 17 Oct 2018 05:50:01 +0000 (14:50 +0900)]
Add src_size parameter for decoding gif

Change-Id: I937477cb2513458730feea7d4d271aabd16e0b29

6 years agoSeparate gif encode info from encode_s 35/191335/1
hj kim [Tue, 16 Oct 2018 06:23:32 +0000 (15:23 +0900)]
Separate gif encode info from encode_s

Change-Id: If5685da8dfbd96c70b02a45f4a0bc0c807290ea2

6 years agojust move code for gif 31/191331/1
hj kim [Tue, 16 Oct 2018 05:45:10 +0000 (14:45 +0900)]
just move code for gif

Change-Id: Ic8fbbb30ce93b4b32281711f25bfe7d1e4b1e1dc

6 years agoRemove useless codes and rearrange codes 11/191311/2
jiyong.min [Tue, 16 Oct 2018 01:55:45 +0000 (10:55 +0900)]
Remove useless codes and rearrange codes

Change-Id: If2c571b6192d0db0f00aa3c28466084a0b3a12d3

6 years agoSet value directly 82/191282/1
hj kim [Mon, 15 Oct 2018 08:29:50 +0000 (17:29 +0900)]
Set value directly

Change-Id: I9f2ddabd0589916933fd17d20605bcd3729cf55e

6 years agoJust Unify image_util_encode_create() and __image_util_create_img_handle() 60/191260/1
hj kim [Mon, 15 Oct 2018 06:05:40 +0000 (15:05 +0900)]
Just Unify image_util_encode_create() and __image_util_create_img_handle()

Change-Id: I71f68e590f710403b94a708a4c3a862ff7f4f14d

6 years agoRemove _image_util_decode_create_image_handle(). because it just set default down_sca... 53/191253/1
hj kim [Mon, 15 Oct 2018 05:28:31 +0000 (14:28 +0900)]
Remove _image_util_decode_create_image_handle(). because it just set default down_scale value. so I move it to image_util_decode_create() API

Change-Id: Ifae5851bf59e87de843397d08e07081872702fe6

6 years agoRemoved useless image_util_error_type_e 51/191251/1
hj kim [Mon, 15 Oct 2018 05:19:14 +0000 (14:19 +0900)]
Removed useless image_util_error_type_e

Change-Id: I34f9ed08da7a8d567add8a68527799b0a6daefcb

6 years agoRemove unused variables 29/191229/1
jiyong.min [Sun, 14 Oct 2018 23:24:31 +0000 (08:24 +0900)]
Remove unused variables

Change-Id: I6e394a71e37c4ad8dc3cdea3d38a72b2195683b6

6 years agoChange 'gif_image_s' to 'mm_image_info_s' for the unified raw image structure 28/191228/1
jiyong.min [Sun, 14 Oct 2018 22:59:28 +0000 (07:59 +0900)]
Change 'gif_image_s' to 'mm_image_info_s' for the unified raw image structure

Change-Id: I8965c796fcb598ec5619d98fba600cc6901299ff

6 years agoRemove `image_util_frame_set_resolution` function 69/191169/1
jiyong.min [Fri, 12 Oct 2018 04:08:35 +0000 (13:08 +0900)]
Remove `image_util_frame_set_resolution` function

Change-Id: I2f6bea77321c21399c5d31c4e2022278f9febdcf

6 years agoSeperate mm_util_gif_encode_gif to `mm_util_encode_to_gif_file` and `mm_util_encode_t... 51/191151/3
jiyong.min [Fri, 12 Oct 2018 01:38:13 +0000 (10:38 +0900)]
Seperate mm_util_gif_encode_gif to `mm_util_encode_to_gif_file` and `mm_util_encode_to_gif_memory`

Change-Id: I01c4464cdff5e8e668b06df17b574e83c834576f

6 years agoReplace mm_util_gif_format to mm_image_info_s 43/191143/4
jiyong.min [Fri, 12 Oct 2018 00:39:06 +0000 (09:39 +0900)]
Replace mm_util_gif_format to mm_image_info_s

Change-Id: I0bba91087976d77342ce12f3fa722ed7ee067125

6 years agoFix typo and change image_util_frame_create to use image_util_encode_h 40/191140/2
hj kim [Thu, 11 Oct 2018 23:47:41 +0000 (08:47 +0900)]
Fix typo and change image_util_frame_create to use image_util_encode_h

Change-Id: Id505ca13afd55b40f679daa34904782a9fd4f5cd

6 years agoRemove unused a-gif functions 39/191139/1
jiyong.min [Thu, 11 Oct 2018 23:00:06 +0000 (08:00 +0900)]
Remove unused a-gif functions
(It will support only default value.)

Change-Id: Ibebaf8feeb8f50ba599eae04c931c022e3d26c59

6 years agoJust update debug msg 04/191104/1
hj kim [Thu, 11 Oct 2018 09:22:34 +0000 (18:22 +0900)]
Just update debug msg

Change-Id: I402360446e11ea90e265cc6c2e639b4b237562c9

6 years agoChange decode_encode_s to encode_s and remove useless code of checking encode mode 02/191102/1
hj kim [Thu, 11 Oct 2018 09:18:00 +0000 (18:18 +0900)]
Change decode_encode_s to encode_s and remove useless code of checking encode mode

Change-Id: I5863cb020e17200efc40329f5c519a51b5f9cdef

6 years agoRemove useless code of checking decode mode 01/191101/1
hj kim [Thu, 11 Oct 2018 09:05:24 +0000 (18:05 +0900)]
Remove useless code of checking decode mode

Change-Id: I0d8e80cf7622aa63cd1baec4c08c5f1ca3e49997

6 years agoRemove redundant parameters 00/191100/1
hj kim [Thu, 11 Oct 2018 08:59:13 +0000 (17:59 +0900)]
Remove redundant parameters

Change-Id: Ib654f85279fe62377f6af7d7a5c964a4c25156a4