platform/core/multimedia/libmm-utility.git
4 years agoBump version to 0.1.33 47/215147/2 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.021526 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083712 accepted/tizen/unified/20191007.234912 submit/tizen/20191007.065948 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
jiyong.min [Wed, 2 Oct 2019 04:13:15 +0000 (13:13 +0900)]
Bump version to 0.1.33

 - decode/encode jpeg has been improved to reduce Cyclomatic Complexity

Change-Id: I083ed3f76b7c9608c77aa7dd5128d9212695c78d

4 years agoModify jpeg encode for yuv to reduce Cyclomatic Complexity 46/215146/1
jiyong.min [Wed, 2 Oct 2019 04:11:02 +0000 (13:11 +0900)]
Modify jpeg encode for yuv to reduce Cyclomatic Complexity

Change-Id: I1c39262ca93e0fe1daba718cfd9f1f4d3a64b598

4 years agoRename few variables and replace int to unsigned int 45/215145/1
jiyong.min [Wed, 2 Oct 2019 02:13:21 +0000 (11:13 +0900)]
Rename few variables and replace int to unsigned int

 - libjpeg use unsignd int for width & height

Change-Id: I5c8d2acf95e9c08f97a1ae093f81bdb682dd3f7b

4 years agoModify jpeg open and set parameters 44/215144/1
jiyong.min [Wed, 2 Oct 2019 01:50:47 +0000 (10:50 +0900)]
Modify jpeg open and set parameters

Change-Id: I1e0e07f2de6125e9062d3ed3bbfb191d480adaab

4 years agoModify getting rgb colorspace and buffer size 43/215143/1
jiyong.min [Wed, 2 Oct 2019 01:17:27 +0000 (10:17 +0900)]
Modify getting rgb colorspace and buffer size

Change-Id: Icc70a773c0b3214499726d3387fb8202b9420bd0

4 years agoModify duplicated code for error handler and resource release. 42/215142/1
jiyong.min [Wed, 2 Oct 2019 00:44:53 +0000 (09:44 +0900)]
Modify duplicated code for error handler and resource release.

Change-Id: I3f5d1b01ccfedf81fff80489a74c2a2459a90b85

4 years agoModify simple bugs and internal function name 41/215141/1
jiyong.min [Wed, 2 Oct 2019 00:34:54 +0000 (09:34 +0900)]
Modify simple bugs and internal function name

Change-Id: I7ae768144840b4c8ec895372215e9efe2fd84059

4 years agoBump version to 0.1.32 40/215140/1
jiyong.min [Wed, 2 Oct 2019 00:30:27 +0000 (09:30 +0900)]
Bump version to 0.1.32

 - reading gif has been improved

Change-Id: Iba712ef4dd3ded2a64958adea99967d93ed0e801

4 years agoImprove '__read_gif()' function to reduce Cyclomatic Complexity 22/214822/4
jiyong.min [Fri, 27 Sep 2019 00:41:29 +0000 (09:41 +0900)]
Improve '__read_gif()' function to reduce Cyclomatic Complexity

Change-Id: I1551e9c5019fcdb74aa7defb74ceb2245f823316

4 years agoDeallocate resouces to prevent resource leak 59/212059/2 accepted/tizen/unified/20190822.045404 submit/tizen/20190820.233532
jiyong.min [Wed, 14 Aug 2019 01:20:30 +0000 (10:20 +0900)]
Deallocate resouces to prevent resource leak

 - Resource leaks were detected by static analyzer

Change-Id: I94dfc503d0d364eb738b4ac1caff5f2a4d89d56f

5 years agoAdd message for mm_util_create_image() to debug wrong parameter 25/205725/2
jiyong.min [Wed, 8 May 2019 23:40:10 +0000 (08:40 +0900)]
Add message for mm_util_create_image() to debug wrong parameter

Change-Id: I940f18a179663ceae9b61e14919cb1ad1b430e60

5 years agoRemove unneccessary header and enumerable 04/203104/1
jiyong.min [Wed, 10 Apr 2019 01:58:32 +0000 (10:58 +0900)]
Remove unneccessary header and enumerable

 - mm_util_gif_private.h has been removed.
 - mm_util_gif_disposal has been replaced to defined value of giflib.

Change-Id: I79ab50593681010900bbb66b21c9fa3981990601

5 years agoFix 64-bit build error 90/202190/1 accepted/tizen/unified/20190326.073434 submit/tizen/20190325.074339
jiyong.min [Mon, 25 Mar 2019 22:20:23 +0000 (07:20 +0900)]
Fix 64-bit build error

Change-Id: Icb0bf922870660ce99c89f3acc7ee44702856bf8

5 years agoModify file permission in magick 29/201929/4
jiyong.min [Thu, 21 Mar 2019 04:01:02 +0000 (13:01 +0900)]
Modify file permission in magick

 - from 755 to 644

Change-Id: I7db52ee48ff995425276c516cf293ddbd8bf2108

5 years agoModify animated gif writing to file and to buffer 24/201924/5
jiyong.min [Thu, 21 Mar 2019 01:52:07 +0000 (10:52 +0900)]
Modify animated gif writing to file and to buffer

 - Encoding checked writing to file or to buffer during working. Encoding is
   no needed to check it because encoding use buffer to get intermediate output.
   After modifying it, it check writing to file or to buffer right before
   saving the final outcome.

Change-Id: I979720f1fe75dcdf9c2a08deb92e50b055cbfe68

5 years agoRename variables for buffer I/O in gif and png 10/201910/2
jiyong.min [Thu, 21 Mar 2019 01:22:28 +0000 (10:22 +0900)]
Rename variables for buffer I/O in gif and png

Change-Id: Ic30eb5dbd9731e7f7fd13561407741f348f36bf0

5 years agoMerge "Just add some msg for debugging" into tizen accepted/tizen/unified/20190322.075426 submit/tizen/20190321.013843
hj kim [Thu, 21 Mar 2019 00:08:19 +0000 (00:08 +0000)]
Merge "Just add some msg for debugging" into tizen

5 years agoMerge "Add new mm_image_clone_image() API" into tizen
hj kim [Thu, 21 Mar 2019 00:05:50 +0000 (00:05 +0000)]
Merge "Add new mm_image_clone_image() API" into tizen

5 years agoJust add some msg for debugging 42/201842/1
hj kim [Wed, 20 Mar 2019 05:23:45 +0000 (14:23 +0900)]
Just add some msg for debugging

Change-Id: I9065705006848a2f0f3b502329dea51f3c61b70c

5 years agoRemove duplicated code 29/201829/5
jiyong.min [Wed, 20 Mar 2019 02:49:52 +0000 (11:49 +0900)]
Remove duplicated code

 - The 'gif_encode_start()' is called in 'gif_encode_add_image()'.
   It is no needed to call before 'gif_encode_add_image()'.

Change-Id: I4ada9cdcf1e3d64ad2766c6ff69f9b173802956c

5 years agoAdd new mm_image_clone_image() API 48/201748/3
hj kim [Tue, 19 Mar 2019 07:05:25 +0000 (16:05 +0900)]
Add new mm_image_clone_image() API

Change-Id: I1e34098d9c475f8faec0e07835fc202bc571ff36

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

Change-Id: Ibfbd29d2482142054f88b4aa74938e195d6995e4

5 years agoChange to use mm_image_debug_image when print out each parameters 23/201423/1
hj kim [Thu, 14 Mar 2019 02:48:09 +0000 (11:48 +0900)]
Change to use mm_image_debug_image when print out each parameters

Change-Id: I6f1b5d2b81bbea18bf98b11d1ea6cbce22394489

5 years agoChange 'unsigned char*' to 'const unsigned char *' for inpu data 71/201371/1
hj kim [Wed, 13 Mar 2019 08:26:44 +0000 (17:26 +0900)]
Change 'unsigned char*' to 'const unsigned char *' for inpu data

Change-Id: I249bfbe41efdbb46c96409763ea16f623c4a0681

5 years agoModify parameter in imgage processing APIs to mm_util_image_h 61/201261/16
jiyong.min [Tue, 12 Mar 2019 02:03:16 +0000 (11:03 +0900)]
Modify parameter in imgage processing APIs to mm_util_image_h

Change-Id: I39ceb170e91ad3948d73d3503e6996698ff775b3

5 years agoModify parameter in decoding APIs from mm_image_info_s to mm_util_image_h 04/201204/19 accepted/tizen/unified/20190313.075520 submit/tizen/20190313.021136
hj kim [Mon, 11 Mar 2019 09:00:39 +0000 (18:00 +0900)]
Modify parameter in decoding APIs from mm_image_info_s to mm_util_image_h

Change-Id: Ie9c0cbcd5cf979ccd99a34f75fb1a487d62de9ff

5 years agoReplace and add functions to use unified parameter 72/200772/21 accepted/tizen/unified/20190311.220536 submit/tizen/20190311.013617
jiyong.min [Mon, 4 Mar 2019 06:37:50 +0000 (15:37 +0900)]
Replace and add functions to use unified parameter

[Repleaced function]
 - mm_util_create_handle() to mm_image_create_image()
 - mm_util_get_image() to mm_image_get_image()
 - mm_util_destroy_handle() to mm_image_destroy_image()

[Added function]
 - mm_image_debug_image()
 - mm_image_set_delay_time()
 - mm_image_get_delay_time()

< This change will be related with image-util, dcm-service,
libmedia-thumbnail and thumbnail-util packages.
The packages must use new functions. >

Change-Id: Ifec56a4fbb73bac9438389ad2fb8a27bb2dc827e

5 years agoJust rename IS_MM_UTIL_COLOR_FORMAT() to IS_VALID_COLOR() 78/200978/1
hj kim [Thu, 7 Mar 2019 01:38:47 +0000 (10:38 +0900)]
Just rename IS_MM_UTIL_COLOR_FORMAT() to IS_VALID_COLOR()

Change-Id: I117ad02a5e0da0f37102a0e8ffe751780388439d

5 years agoUnify the type of width and height to 'unsigned int' 77/200977/1
hj kim [Thu, 7 Mar 2019 01:27:19 +0000 (10:27 +0900)]
Unify the type of width and height to 'unsigned int'

Change-Id: Ibe88df84d8b38f6d814243291fea9985e90a7b85

5 years agoRemove unused macro and modify few data type due to out-of-range issue 62/200762/7
jiyong.min [Mon, 4 Mar 2019 01:10:51 +0000 (10:10 +0900)]
Remove unused macro and modify few data type due to out-of-range issue

Change-Id: I88e9e8b4220e3f09aff73886c317f39f24374cf5

5 years agoReplace function name for rgb 79/200579/2
jiyong.min [Wed, 27 Feb 2019 04:20:15 +0000 (13:20 +0900)]
Replace function name for rgb

- Generally, the rgb are used two kind of name.
  {rgb565, rgb888 and rgba8888} or {rgb16, rgb24, rgb32}.
  The name was mixed, so it has been unified.

Change-Id: I8788b12f2e442b3b45a21acee79f5de136c25e02

5 years agoAdd to check the return of fseek() 81/198681/2 tizen_5.5_dev accepted/tizen/unified/20190207.120252 submit/tizen/20190131.041045
jiyong.min [Mon, 28 Jan 2019 08:23:39 +0000 (17: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: Id5cc540e185d310d287c417160ca321f4322a5a4

5 years agoFix coverity issue 58/196258/2 accepted/tizen/unified/20190108.062240 submit/tizen/20190107.021730
jiyong.min [Wed, 26 Dec 2018 23:52:49 +0000 (08:52 +0900)]
Fix coverity issue

 - Resource leak
 - Dereference before null check
 - Large stack use

Change-Id: Ib7713f0fd1ae54ac0a6e140794afedd07a4cc1c2

5 years agoRemove unused header file 36/195236/1
jiyong.min [Wed, 12 Dec 2018 00:52:07 +0000 (09:52 +0900)]
Remove unused header file

Change-Id: Ie0717622cd5ef8b48272b35cb45996d92107dc80

5 years agoFix format error in logs 98/194698/1 accepted/tizen/unified/20181210.060036 submit/tizen/20181207.051909
jiyong.min [Fri, 7 Dec 2018 04:42:39 +0000 (13:42 +0900)]
Fix format error in logs

Change-Id: Ia8517e01f40e59fe4c234b0c354a9181fb486b92

5 years agoAdd -Wall -Werror options. and fix build error 76/194476/2 accepted/tizen/unified/20181205.154822 submit/tizen/20181205.014753
hj kim [Wed, 5 Dec 2018 01:44:39 +0000 (10:44 +0900)]
Add -Wall -Werror options. and fix build error

Change-Id: Idf79c13c7e4ed7d2d44e1ce320e1115cfd9d71f6

5 years agoFix format error for dlog 67/194467/1
jiyong.min [Wed, 5 Dec 2018 01:33:14 +0000 (10:33 +0900)]
Fix format error for dlog

Change-Id: I9a16080672bae53a92f4a33f3f5b59af9397ba25

5 years agoAdding initial structure for unittest 68/193368/18 accepted/tizen/unified/20181127.073312 submit/tizen/20181126.011146
jiyong.min [Tue, 20 Nov 2018 00:50:53 +0000 (09:50 +0900)]
Adding initial structure for unittest

- It has testcases for bmp, gif, imgcv, imgp, jpeg, magick and png of unittest
- It would be enabled by gtest build with '--define "gtests 1"'
- In would be executed by both root and user

Change-Id: I3d4bc7ad60ed59b534e25a2b81f1b2e7514513ba

5 years agoRearrange source code 26/193026/1 accepted/tizen/unified/20181121.173155 accepted/tizen/unified/20181123.063236 submit/tizen/20181119.072242 submit/tizen/20181121.000755 submit/tizen/20181122.024304
jiyong.min [Wed, 14 Nov 2018 03:46:30 +0000 (12:46 +0900)]
Rearrange source code

Change-Id: I8c87aca4d32196c6c300c9e387cb31f4c52550e3

5 years agoMerge branch 'tizen_5.5_dev' into tizen 83/192483/1 accepted/tizen/unified/20181107.081954 submit/tizen/20181106.000712
hj kim [Tue, 6 Nov 2018 03:55:05 +0000 (12:55 +0900)]
Merge branch 'tizen_5.5_dev' into tizen

Change-Id: I2534ef9edc7e89e3b20422c64ebc6759e8516759

5 years agoMerge branch 'tizen_5.5_dev' into tizen 31/192231/3
hj kim [Thu, 1 Nov 2018 05:30:55 +0000 (14:30 +0900)]
Merge branch 'tizen_5.5_dev' into tizen

Change-Id: I2a0e2e341f3966b937933bcea8ed1640dc17d0bf

5 years agoRemove requires. Anything is required for using this library 63/192163/2
hj kim [Wed, 31 Oct 2018 05:48:10 +0000 (14:48 +0900)]
Remove requires. Anything is required for using this library

Change-Id: I7766f7cac1473ea648b8373be95e46f9b8c63015

5 years agoSvace issue fix 17/192017/2
hj kim [Mon, 29 Oct 2018 01:29:37 +0000 (10:29 +0900)]
Svace issue fix

Change-Id: I06464e065858ebab479693bbf3a104fd70c8f6b2

5 years agoChange 'started' flag to GifFile pointer and remove the flag 36/191936/1
jiyong.min [Thu, 25 Oct 2018 02:28:10 +0000 (11:28 +0900)]
Change 'started' flag to GifFile pointer and remove the flag

Change-Id: I53c913803ebf8469b58437bda78f311edd84e0db

5 years agoJust update debug message 89/191889/1
jiyong.min [Thu, 25 Oct 2018 01:30:20 +0000 (10:30 +0900)]
Just update debug message

Change-Id: I4ff9d5bd7cd39c3be27bb4b968fd6f4d9ef187a6

5 years agoRemove buffer in gif structure 11/191611/2
jiyong.min [Fri, 19 Oct 2018 04:02:17 +0000 (13:02 +0900)]
Remove buffer in gif structure

Change-Id: I78160d70d2ac810c2b827bf918ba58801b6bd1d5

5 years agoAdd to check overread(overflow) issue 29/191429/4
jiyong.min [Wed, 17 Oct 2018 05:44:54 +0000 (14:44 +0900)]
Add to check overread(overflow) issue

Change-Id: I3733abb4874b3fa7447cbcb6ca59698932d722fc

5 years agoReplace output parameters to pointer 70/191370/1
jiyong.min [Tue, 16 Oct 2018 09:19:44 +0000 (18:19 +0900)]
Replace output parameters to pointer

Change-Id: I54db27cd62fd1b93203630419383074f73d368dc

5 years agojust rearrange some parameters 60/191360/1
hj kim [Tue, 16 Oct 2018 08:10:58 +0000 (17:10 +0900)]
just rearrange some parameters

Change-Id: Ic2407057f230166a6b08871024351d05db07dea4

5 years agoRemove mm_util_gif_encode_set_resolution(). because resolution can be set without... 53/191353/1
hj kim [Tue, 16 Oct 2018 07:44:33 +0000 (16:44 +0900)]
Remove mm_util_gif_encode_set_resolution(). because resolution can be set without that API

Change-Id: Ic882d279d3e8c87410b4f3328b2de929cc434cdd

5 years agojust modify parameter type 46/191346/1
hj kim [Tue, 16 Oct 2018 07:11:01 +0000 (16:11 +0900)]
just modify parameter type

Change-Id: Iac2cb1c4d1b3c2e679223061d01b3cea3dfeb145

5 years agoRemove unused APIs 41/191341/1
hj kim [Tue, 16 Oct 2018 06:49:07 +0000 (15:49 +0900)]
Remove unused APIs

Change-Id: Iebcd15b636ea69c16cceecd73d1e487f8f521fff

5 years agoRemove useless codes and rearrange codes 12/191312/1
jiyong.min [Tue, 16 Oct 2018 02:05:40 +0000 (11:05 +0900)]
Remove useless codes and rearrange codes

Change-Id: I67c8096fb0c7a22dd0b72544942afac7e8280522

5 years agoRemove simple APIs. Native API will set it directly 81/191281/1
hj kim [Mon, 15 Oct 2018 08:29:25 +0000 (17:29 +0900)]
Remove simple APIs. Native API will set it directly

Change-Id: I44dcbb86d1546565a2cd1a383a44ba2e0f27de96

5 years agoUnify simple APIs 78/191278/1
hj kim [Mon, 15 Oct 2018 08:09:31 +0000 (17:09 +0900)]
Unify simple APIs

Change-Id: I1d1135ca286bd19da4b0d65f2010f41e8222304b

5 years agoRemove unused variable(color_map) 64/191264/1
jiyong.min [Mon, 15 Oct 2018 06:53:34 +0000 (15:53 +0900)]
Remove unused variable(color_map)

Change-Id: Ib29d415b5182dcf59bfbbab9bc53c2c22ac014f0

5 years agoChange 'gif_image_s' to 'mm_image_info_s' as the unified structure for raw image... 27/191227/1
jiyong.min [Sun, 14 Oct 2018 22:55:23 +0000 (07:55 +0900)]
Change 'gif_image_s' to 'mm_image_info_s' as the unified structure for raw image is used

Change-Id: I201e87505947b850b32ccb902bec6c8c053b269c

5 years agoRemove `ext_blocks` from gif_image_s 72/191172/1
jiyong.min [Fri, 12 Oct 2018 04:44:55 +0000 (13:44 +0900)]
Remove `ext_blocks` from gif_image_s

Change-Id: I3a502c1b30196123b5ae3fc64e71f29de1170dff

5 years agoRemove `GifImageDesc` from gif_image_s 68/191168/1
jiyong.min [Fri, 12 Oct 2018 04:06:49 +0000 (13:06 +0900)]
Remove `GifImageDesc` from gif_image_s

Change-Id: I5c8d9a8fdd2c6d95dfce3733c8a1853289735081

5 years agoRemove graphic_control_block from gif_image_s 65/191165/1
jiyong.min [Fri, 12 Oct 2018 03:59:50 +0000 (12:59 +0900)]
Remove graphic_control_block from gif_image_s

Change-Id: I0226464617487cc851fa5d1897cfd719dec67c83

5 years agoRemove 'intermediate_image' buffer from gif_image_s 63/191163/1
jiyong.min [Fri, 12 Oct 2018 03:53:19 +0000 (12:53 +0900)]
Remove 'intermediate_image' buffer from gif_image_s

Change-Id: I4f7a59a38c76bd9bf4bbb7f727e767ee77cb1a75

5 years agoSeperate mm_util_gif_encode_gif to `mm_util_encode_to_gif_file` and `mm_util_encode_t... 50/191150/1
jiyong.min [Fri, 12 Oct 2018 01:39:43 +0000 (10:39 +0900)]
Seperate mm_util_gif_encode_gif to `mm_util_encode_to_gif_file` and `mm_util_encode_to_gif_memory`

Change-Id: I7dd685405ce87e6f7d32ef10eb777a056d743719

5 years agoReplace mm_util_gif_format to mm_image_info_s 42/191142/1
jiyong.min [Fri, 12 Oct 2018 00:37:25 +0000 (09:37 +0900)]
Replace mm_util_gif_format to mm_image_info_s

Change-Id: Iccea411e9d3faacaea592ec8677ab488df581518

5 years agoRemove unused a-gif functions 38/191138/3
jiyong.min [Thu, 11 Oct 2018 22:59:11 +0000 (07:59 +0900)]
Remove unused a-gif functions

Change-Id: I5cbf761b808b54ab8cbf24f5038ad28b913e5699

5 years agoJust update debug msg and remove redundant codes 86/191086/1
hj kim [Thu, 11 Oct 2018 07:48:32 +0000 (16:48 +0900)]
Just update debug msg and remove redundant codes

Change-Id: Ie2c49dceab862f2ce92c910dc9fec8decd3dcacf

5 years agoBug fix of creating test result files 63/191063/1
hj kim [Thu, 11 Oct 2018 06:22:59 +0000 (15:22 +0900)]
Bug fix of creating test result files

Change-Id: I0976b049004f1d5d42900477b06ea872ade25a9f

5 years agoRemove transform async related test code and bug fix 60/191060/2
hj kim [Thu, 11 Oct 2018 06:04:12 +0000 (15:04 +0900)]
Remove transform async related test code and bug fix

Change-Id: If458a8f87490ce1f5a7f7a0a9c53e40b311f11e0

5 years agoRemove mm_util_imgp_h 93/190993/1
hj kim [Wed, 10 Oct 2018 08:42:39 +0000 (17:42 +0900)]
Remove mm_util_imgp_h

Change-Id: Iea8e8654b44efb6aa9d4462beae8219408db330f

5 years agoRemove mm_util_color_image_h 90/190990/1
hj kim [Wed, 10 Oct 2018 08:33:26 +0000 (17:33 +0900)]
Remove mm_util_color_image_h

Change-Id: Ibe89dfc80ca55be574b8bca3f3d5acc60a02324c

5 years agoMove callback related code to CAPI level 78/190978/1
hj kim [Wed, 10 Oct 2018 07:11:25 +0000 (16:11 +0900)]
Move callback related code to CAPI level

Change-Id: Ib0533bbe112e3c26b9bff89aa610bc7cd71888e5

5 years agoMove mm_util_s to CAPI level. because it is not used anymore here 69/190969/1
hj kim [Wed, 10 Oct 2018 05:03:44 +0000 (14:03 +0900)]
Move mm_util_s to CAPI level. because it is not used anymore here

Change-Id: Id36a937c7aea7e871067c7590540bd53f0fcfb35

5 years agoMove transform code to CAPI except gstreamer related code 78/190878/1
hj kim [Mon, 8 Oct 2018 07:35:58 +0000 (16:35 +0900)]
Move transform code to CAPI except gstreamer related code

Change-Id: I50651b5fdec61a37c310cbe70359a83f4eabf3ca

5 years agoRemove unused code 50/190850/2
hj kim [Mon, 8 Oct 2018 03:39:45 +0000 (12:39 +0900)]
Remove unused code

Change-Id: I5d12039bfd353b945744d9fb2bbd04ed3569feaf

5 years agoRemove duplicated code and paramters in image-util and libmm-utility 67/190767/1
hj kim [Fri, 5 Oct 2018 07:32:12 +0000 (16:32 +0900)]
Remove duplicated code and paramters in image-util and libmm-utility

Change-Id: I3552bf2a90ec79092010676548782772129caead

5 years agoUnify image info structures because All of them have same format 10/190610/1
hj kim [Thu, 4 Oct 2018 06:18:29 +0000 (15:18 +0900)]
Unify image info structures because All of them have same format

Change-Id: I6b9bcbd3dd054f49783d8b242a399965fe3ede65

5 years agoJust add some debug msg to track error 01/187401/1 accepted/tizen/5.0/unified/20181102.014903 accepted/tizen/unified/20180824.062636 submit/tizen/20180823.021953 submit/tizen_5.0/20181101.000003
hj kim [Thu, 23 Aug 2018 02:14:13 +0000 (11:14 +0900)]
Just add some debug msg to track error

Change-Id: I2c2d904f4b40d2ac6b976616253154643101e827

5 years agoAdd to check decoding bmp failure and logs 95/187395/1
jiyong.min [Wed, 22 Aug 2018 23:31:45 +0000 (08:31 +0900)]
Add to check decoding bmp failure and logs

Change-Id: Ia8fbb10ed8a5671b78b02f82b17a454ab01f8d82

5 years agoCode optimization and fix typo 09/184209/5 accepted/tizen/unified/20180803.172007 submit/tizen/20180802.005217
jiyong.min [Mon, 16 Jul 2018 09:43:01 +0000 (18:43 +0900)]
Code optimization and fix typo

 - Remove unused *pWidth and *pHeight variable
 - Replace multiple operand to shift operand due to overflow result
 - Fix typo and change logs

Change-Id: Ifc7ceef3ef87159d6eaabca217ebea1a014d6681

5 years agoFix Wformat build error 79/184579/1 accepted/tizen/unified/20180724.073346 submit/tizen/20180723.044727
yhji [Thu, 19 Jul 2018 04:19:10 +0000 (13:19 +0900)]
Fix Wformat build error

Change-Id: I668ddd474280eb1b5adb5c42d36d8326c5237049

5 years agoModify arithmetic operation(multiplication) to shift operation due to possible intege... 08/184208/2 accepted/tizen/unified/20180718.154230 submit/tizen/20180717.054420
jiyong.min [Mon, 16 Jul 2018 09:17:44 +0000 (18:17 +0900)]
Modify arithmetic operation(multiplication) to shift operation due to possible integer underflow

Change-Id: I78f852341132296f882827a75099eca24954f0cf

5 years agoRename jpeg decoding function 78/183278/2 accepted/tizen/unified/20180706.062139 submit/tizen/20180704.232304
Jiyong Min [Wed, 4 Jul 2018 05:11:10 +0000 (14:11 +0900)]
Rename jpeg decoding function

Change-Id: I0cfea3396ce7437e32cd069f751b6da2305965a2

5 years agoMigration to OpenCV 3.4.1 16/181916/1 accepted/tizen/unified/20180621.141332 submit/tizen/20180620.034203 submit/tizen/20180620.084620
Tae-Young Chung [Tue, 5 Jun 2018 01:17:51 +0000 (10:17 +0900)]
Migration to OpenCV 3.4.1

imgcv has dependency to OpenCV which is upgraded to 3.4.1.
This is a patch for Migration to OpenCV 3.4.1.

Change-Id: I19c988f222c606f3d5084b8b046235c360f1e2dc
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
6 years agoJust add logs for reading png 02/180002/1 accepted/tizen/unified/20180618.151411 submit/tizen/20180524.083402 submit/tizen/20180614.015738
Jiyong Min [Thu, 24 May 2018 05:04:00 +0000 (14:04 +0900)]
Just add logs for reading png

Change-Id: I1c03e7dade49e0ced25e21ffbec162d795243f63

6 years agoFix warning error 10/179410/1 accepted/tizen/unified/20180521.003621 submit/tizen/20180518.004425
Jiyong Min [Fri, 18 May 2018 00:26:14 +0000 (09:26 +0900)]
Fix warning error

Change-Id: Ifbde08cec6b4bd615d554a8802c37a4e479c9ade

6 years agoFix svace issue 09/178109/1 accepted/tizen/unified/20180509.072858 submit/tizen/20180508.063724
hj kim [Tue, 8 May 2018 06:35:23 +0000 (15:35 +0900)]
Fix svace issue

Change-Id: I5ac5745112782dda43bcb7fecc4565438ce667a9

6 years agoRemove unused code 05/177705/2
Jiyong Min [Mon, 30 Apr 2018 05:16:17 +0000 (14:16 +0900)]
Remove unused code

Change-Id: Ib85a27107c181b586b1e820d71dbe28f1ae2dd78

6 years agoFix null termination issue of filename and argv[1] 27/177427/1 accepted/tizen/unified/20180504.063600 submit/tizen/20180502.024929
Jiyong Min [Mon, 30 Apr 2018 00:45:56 +0000 (09:45 +0900)]
Fix null termination issue of filename and argv[1]

Change-Id: I080a1cbef7ea4b8e4a3913e4e282884d20a30905

6 years ago[info] Add error handling when jpeg has junk data in header 98/177098/2
Jiyong Min [Wed, 25 Apr 2018 09:03:53 +0000 (18:03 +0900)]
[info] Add error handling when jpeg has junk data in header

 - If jpeg header has junk data, block of header does not start 'FF'.
  It is neccessary to read next block till fine block.

Change-Id: Ic4e852bc6a2519b4f4175d5e2812ee3a8aa891cb

6 years agoAdd fortify option 29/175629/1 accepted/tizen/unified/20180423.062736 submit/tizen/20180419.231843
Minje Ahn [Wed, 11 Apr 2018 07:31:35 +0000 (16:31 +0900)]
Add fortify option

Change-Id: I26a1d12e99501f403961904c1d2e992ecf767ef1
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
6 years agoFix coverity issue 57/173057/2 accepted/tizen/unified/20180321.060749 submit/tizen/20180320.040253
hj kim [Mon, 19 Mar 2018 09:29:26 +0000 (18:29 +0900)]
Fix coverity issue

Change-Id: Idd08754b958fd8b334c0d4564102c86c6322c745

6 years agoApply SAFE_STRLCPY 05/172805/1 submit/tizen/20180316.051336
Jiyong Min [Fri, 16 Mar 2018 04:56:26 +0000 (13:56 +0900)]
Apply SAFE_STRLCPY

Change-Id: I2e5d1d19292b1116125f55bb8a3ba9a09552196e

6 years agoFix coverity issue 76/172676/7
Jiyong Min [Thu, 15 Mar 2018 06:37:37 +0000 (15:37 +0900)]
Fix coverity issue

 - remove unused image_codec_type due to coverity issue

Change-Id: I2fa4798cbe93a8ff23c3b684087f8821ae1c6666

6 years agoReplace encode_with_libjpeg parameters from signed int to unsigned int 21/172621/2
Jiyong Min [Thu, 15 Mar 2018 01:49:55 +0000 (10:49 +0900)]
Replace encode_with_libjpeg parameters from signed int to unsigned int
and add to check supported format generally

 - Value width & height of libjpeg is JDIMENSION(unsigned int)
 - Added to check supported format before function works

Change-Id: I9e8ffd44227df2c0e0f6614e392e0b69b12303be

6 years agoRemain old function and rename jpeg refactoring 32/172432/2 accepted/tizen/unified/20180315.061339 submit/tizen/20180314.004633
Jiyong Min [Wed, 14 Mar 2018 03:10:11 +0000 (12:10 +0900)]
Remain old function and rename jpeg refactoring

Change-Id: I172fffbed1e3dbab5be8b100b8a4c6b9c4faa2d8

6 years agoRemove unneccessary code to check jpeg 72/172272/1
Jiyong Min [Tue, 13 Mar 2018 05:37:08 +0000 (14:37 +0900)]
Remove unneccessary code to check jpeg

Change-Id: Iea21e1309f5d177353e6e074baf3d91035859717

6 years agoChange the parameter order of internal functions 84/172184/1
Jiyong Min [Mon, 12 Mar 2018 10:31:42 +0000 (19:31 +0900)]
Change the parameter order of internal functions
(set input parameter before output parameter)

Change-Id: I274aae2dba1d1461d324062b81ae061cc905176c

6 years agoRemove jpeg decoding/encoding with turbo API because it is not stable 83/172183/1
Jiyong Min [Mon, 12 Mar 2018 10:27:01 +0000 (19:27 +0900)]
Remove jpeg decoding/encoding with turbo API because it is not stable

Change-Id: I59683cf0d608b0f782b23966f7479744bbcd1a7e

6 years agoreading & writing png code refactoring 74/171874/3
Jiyong Min [Thu, 8 Mar 2018 01:30:16 +0000 (10:30 +0900)]
reading & writing png code refactoring

Change-Id: I213c8c0f7b4475d1864d50410a1202b221e4d6b1
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
6 years agoreading & writing bmp code refactoring 05/171705/5
Jiyong Min [Wed, 7 Mar 2018 00:22:03 +0000 (09:22 +0900)]
reading & writing bmp code refactoring

Change-Id: I0078b61fe5e8cc42220231e78153f1f4bc8be4b4
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
6 years agoUse size_t for buffer size 76/171676/2
hj kim [Tue, 6 Mar 2018 10:25:06 +0000 (19:25 +0900)]
Use size_t for buffer size

Change-Id: I7bf0dad5063003c69f17874d4df6b18869614114