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
hj kim [Wed, 27 Feb 2019 03:29:34 +0000 (12:29 +0900)]
Just change image_h to gif_image_h
Change-Id: I304a150781018519b310a2fa2c9aecc26102b059
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
hj kim [Thu, 24 Jan 2019 00:11:46 +0000 (09:11 +0900)]
Just move IMG_HEADER_LENGTH to use commonly
Change-Id: Ie046834a43d361bbcf9d7d4a4432c90c6e07f899
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
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
hj kim [Mon, 14 Jan 2019 05:49:47 +0000 (14:49 +0900)]
Fix typo
Change-Id: I3ad616b311a8279f3b9e4b5087b1708ee69bc6c8
hj kim [Wed, 26 Dec 2018 02:20:24 +0000 (11:20 +0900)]
Coverity issue fix
Change-Id: Iaa52a7b7ad1a67f9f04489d35803fa370acc6986
jiyong.min [Fri, 7 Dec 2018 03:52:28 +0000 (12:52 +0900)]
Fix format error in logs
Change-Id: Ib4409accc4074b66b9b66612d4fb6a2fc89bf007
jiyong.min [Wed, 5 Dec 2018 01:58:08 +0000 (10:58 +0900)]
Fix format error for dlog
Change-Id: I208b18c715fe734c60c0cf597000553231dd9c46
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
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
jiyong.min [Wed, 14 Nov 2018 03:49:05 +0000 (12:49 +0900)]
Remove unused header(mm_util_common.h)
Change-Id: Iceeeb4f5fa49825fe4861010ed19f583996dba41
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
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
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
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
hj kim [Thu, 8 Nov 2018 23:32:07 +0000 (08:32 +0900)]
just update debug msg
Change-Id: I7b1c171f85ec20bc871a0b68604b9f410d2d21b4
hj kim [Thu, 1 Nov 2018 05:25:27 +0000 (14:25 +0900)]
Merge branch 'tizen_5.5_dev' into tizen
Change-Id: I4d35a932a05613688b5755b67fddc633647579f4
hj kim [Wed, 31 Oct 2018 04:51:47 +0000 (13:51 +0900)]
Remove dlog from pc_dependents
Change-Id: Ied81ccb8515a18325c29d94854f33fe6c6e74dd0
hj kim [Tue, 30 Oct 2018 04:44:18 +0000 (13:44 +0900)]
Remove unused mm-common dependency
Change-Id: I4bbe95dce57cd9baa621c884efa057462885279c
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
jiyong.min [Fri, 19 Oct 2018 04:46:26 +0000 (13:46 +0900)]
Add to check the parameter for api
Change-Id: Ib77dfd338385dc3892ffdcaaa1864ce0368ba14f
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
hj kim [Thu, 18 Oct 2018 01:51:22 +0000 (10:51 +0900)]
Check input parameter
Change-Id: I075c1dd9f96234cfa33263a2ffbcb47fe17fb9d4
jiyong.min [Wed, 17 Oct 2018 08:19:08 +0000 (17:19 +0900)]
Add to check null pointer dereferenced
Change-Id: I35f399e32dfd8ca5b347dab8f8171aba93714955
jiyong.min [Wed, 17 Oct 2018 05:50:01 +0000 (14:50 +0900)]
Add src_size parameter for decoding gif
Change-Id: I937477cb2513458730feea7d4d271aabd16e0b29
hj kim [Tue, 16 Oct 2018 06:23:32 +0000 (15:23 +0900)]
Separate gif encode info from encode_s
Change-Id: If5685da8dfbd96c70b02a45f4a0bc0c807290ea2
hj kim [Tue, 16 Oct 2018 05:45:10 +0000 (14:45 +0900)]
just move code for gif
Change-Id: Ic8fbbb30ce93b4b32281711f25bfe7d1e4b1e1dc
jiyong.min [Tue, 16 Oct 2018 01:55:45 +0000 (10:55 +0900)]
Remove useless codes and rearrange codes
Change-Id: If2c571b6192d0db0f00aa3c28466084a0b3a12d3
hj kim [Mon, 15 Oct 2018 08:29:50 +0000 (17:29 +0900)]
Set value directly
Change-Id: I9f2ddabd0589916933fd17d20605bcd3729cf55e
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
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
hj kim [Mon, 15 Oct 2018 05:19:14 +0000 (14:19 +0900)]
Removed useless image_util_error_type_e
Change-Id: I34f9ed08da7a8d567add8a68527799b0a6daefcb
jiyong.min [Sun, 14 Oct 2018 23:24:31 +0000 (08:24 +0900)]
Remove unused variables
Change-Id: I6e394a71e37c4ad8dc3cdea3d38a72b2195683b6
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
jiyong.min [Fri, 12 Oct 2018 04:08:35 +0000 (13:08 +0900)]
Remove `image_util_frame_set_resolution` function
Change-Id: I2f6bea77321c21399c5d31c4e2022278f9febdcf
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
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
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
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
hj kim [Thu, 11 Oct 2018 09:22:34 +0000 (18:22 +0900)]
Just update debug msg
Change-Id: I402360446e11ea90e265cc6c2e639b4b237562c9
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
hj kim [Thu, 11 Oct 2018 09:05:24 +0000 (18:05 +0900)]
Remove useless code of checking decode mode
Change-Id: I0d8e80cf7622aa63cd1baec4c08c5f1ca3e49997
hj kim [Thu, 11 Oct 2018 08:59:13 +0000 (17:59 +0900)]
Remove redundant parameters
Change-Id: Ib654f85279fe62377f6af7d7a5c964a4c25156a4
hj kim [Thu, 11 Oct 2018 08:24:40 +0000 (17:24 +0900)]
Define new decode_s to use for decoding
Change-Id: Ic6937b8c350f6e80f20bdd6f305a2ed1464c4174
hj kim [Thu, 11 Oct 2018 07:46:57 +0000 (16:46 +0900)]
Just update debug msg
Change-Id: I65f6801678867f33a4104263b78eb9bec24b8679
jiyong.min [Thu, 11 Oct 2018 04:06:20 +0000 (13:06 +0900)]
Remove __mm_util_transform & __mm_util_create_thread
Change-Id: Ied7783f5a338deaa3a79b1da417b47b30f75e726
hj kim [Thu, 11 Oct 2018 00:14:08 +0000 (09:14 +0900)]
Fix memory leak
Change-Id: I3e1199762b5ca5f413c877208475c9fa598532c8
jiyong.min [Wed, 10 Oct 2018 23:07:45 +0000 (08:07 +0900)]
Remove unused variable 'is_completed'
Change-Id: I00cd784952d45be9356373db6a99acdbd9557b4e
hj kim [Wed, 10 Oct 2018 09:30:00 +0000 (18:30 +0900)]
Replace simple internal APIs
Change-Id: I73b54e6dca5103aef6776a93e864dfb80976e975
hj kim [Wed, 10 Oct 2018 09:05:40 +0000 (18:05 +0900)]
Remove mm_util_s. because this is same as transformation_s
Change-Id: Ia9a52dabf646f60116164d1bf4f1bbcceeaabde9
hj kim [Wed, 10 Oct 2018 08:43:19 +0000 (17:43 +0900)]
Remove mm_util_imgp_h to remove internal handle
Change-Id: I5c98fc9f0ea7ab23a8fc2cec2e557d4216cab1ac
hj kim [Wed, 10 Oct 2018 08:33:59 +0000 (17:33 +0900)]
Remove mm_util_color_image_h to remove internal handle
Change-Id: I5e3164d0872ee8f04a45ee2b38f8cb19fba1687d
hj kim [Wed, 10 Oct 2018 07:12:48 +0000 (16:12 +0900)]
Remove duplicated mm_util_cb
Change-Id: I4728fa5910dd0c449cc317411ff800dd267e1820
jiyong.min [Wed, 10 Oct 2018 04:36:48 +0000 (13:36 +0900)]
Fix wrong buffer size of media_packet
Change-Id: I74c107ec60d6691ed48972ca770d6b502edf3ec4
jiyong.min [Wed, 10 Oct 2018 04:36:48 +0000 (13:36 +0900)]
Fix wrong buffer size of media_packet
Change-Id: I74c107ec60d6691ed48972ca770d6b502edf3ec4
hj kim [Wed, 10 Oct 2018 05:04:27 +0000 (14:04 +0900)]
Get mm_util_s from libmm-utility. because it is only used here
Change-Id: I4e9adc714e1ce9766f453c408397a003e376cf0b
hj kim [Mon, 8 Oct 2018 07:36:39 +0000 (16:36 +0900)]
Get transform code from libmm-utility except gstreamer related code
Change-Id: Iedb0f4b1e672a33ffe5b3064edd8f556d9aa3ebe
hj kim [Mon, 8 Oct 2018 03:50:16 +0000 (12:50 +0900)]
Remove unused parameter
Change-Id: I241174c0a9834523e712cc589a319da5a931a993
hj kim [Fri, 5 Oct 2018 07:27:46 +0000 (16:27 +0900)]
Remove duplicated code and paramters in image-util and libmm-utility
Change-Id: I90920d4290a128745cc59d23790054e3ae3ab21c
hj kim [Thu, 4 Oct 2018 07:55:52 +0000 (16:55 +0900)]
Just rearragne the codes
Change-Id: I203a46b13dbcd3bd7971e66a372f8ebe340e030e
hj kim [Thu, 4 Oct 2018 06:27:01 +0000 (15:27 +0900)]
Unify image info structures because All of them have same format
Change-Id: I168aac728f87dd922311cffed4e40857c938c3b7
jiyong.min [Thu, 27 Sep 2018 05:40:01 +0000 (14:40 +0900)]
Rearrange the source code and remove unused macro
Change-Id: I748f39c12d16d8944c741ffdf9f4838bb535b396
SeokHoon Lee [Fri, 14 Sep 2018 07:51:09 +0000 (16:51 +0900)]
Add gcov environment
Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I027944584bc1aec185144009f329b30e4ba35787
jiyong.min [Tue, 28 Aug 2018 05:19:38 +0000 (14:19 +0900)]
Fix typo
Change-Id: I5e036ec17afcd808778e69dc802c0025209eab6d
hj kim [Thu, 23 Aug 2018 02:12:53 +0000 (11:12 +0900)]
Just add some debug msg to track error
Change-Id: I3a4b84d7376cebdfd5bcb7d55c250dea44ebf0fb
Jiyong Min [Wed, 4 Jul 2018 06:38:01 +0000 (15:38 +0900)]
Remove unneccessary 'image_h' when image is decoded
Change-Id: I12f70554a7281deb7f7e01426aef745020d48956
Jiyong Min [Wed, 4 Jul 2018 05:13:59 +0000 (14:13 +0900)]
Rename jpeg decoding function
Change-Id: I631479986e610b739d0472db3e1782f12ea7f67f
hj kim [Thu, 21 Jun 2018 05:02:05 +0000 (14:02 +0900)]
Just update Api description
Change-Id: I2e7c8419263f1837de0357b903976a6dd8e0b3dc
Minje Ahn [Wed, 11 Apr 2018 07:16:08 +0000 (16:16 +0900)]
Add fortify option
Change-Id: I9da6f9a3b1638e2ce634d3927099dbaedd608d90
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
hj kim [Wed, 28 Mar 2018 00:55:37 +0000 (09:55 +0900)]
Fix Coverity issue
Change-Id: I533b84614f37d7c5f12094fb3fcfb90046f0e2bb
hj kim [Fri, 23 Mar 2018 00:24:18 +0000 (09:24 +0900)]
Fix Coverity issues
Change-Id: Iceb522e893bdb57091a58de04be6bfd1cab175cf
Jiyong Min [Tue, 20 Mar 2018 01:22:50 +0000 (10:22 +0900)]
Fix coverity issue
Change-Id: Id9b70015595a83cde4c6d67c77cf4d36132923b3
Jiyong Min [Tue, 20 Mar 2018 00:45:03 +0000 (09:45 +0900)]
Replace unsigned long long type 'data_size' to size_t type
- Assignment of a signed value which is 'long' type to a variable of a bigger integer type 'unsigned long long'
Change-Id: Ic6e501cbed9a7faae1b37c6e488fade3b16a1763
Jiyong Min [Wed, 14 Mar 2018 03:12:22 +0000 (12:12 +0900)]
Rename refactoring jpeg function
Change-Id: I84cf8c2ba581afa24c8275702d31d34516e318bb
Jiyong Min [Tue, 13 Mar 2018 05:47:08 +0000 (14:47 +0900)]
[ACR-1123] Remove deprecated APIs
Change-Id: I9a58ebe24ccadb074c36b67ebaf338e752e85f07
hj kim [Tue, 6 Mar 2018 10:25:36 +0000 (19:25 +0900)]
Use size_t for buffer size
Change-Id: If18ee9a6062bf921add293af162bf796e4454bdc
Jiyong Min [Tue, 6 Mar 2018 10:01:32 +0000 (19:01 +0900)]
Unify the type of the buffer size from 'unsigned int'/'unsigned long' to 'size_t'
Change-Id: I80782f8457a3ace220bc74426fbf8b4aaeb5daf4
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Jiyong Min [Tue, 6 Mar 2018 04:58:52 +0000 (13:58 +0900)]
Change the order of the parameters
- The order is input parameter before output parameter.
- The decoded data is composed with width, height, format, data and size.
- The source data of encoding is replaced to the decoded data.
Change-Id: Ica464d3609a5821d6ac1d358522815c6dee42aa8
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Jiyong Min [Mon, 5 Mar 2018 23:17:59 +0000 (08:17 +0900)]
Code refactoring change png parameters
Change-Id: I0650f40ec79b377d4cb4f85bb8fc615b48e46776
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Minje Ahn [Mon, 5 Mar 2018 05:09:10 +0000 (14:09 +0900)]
Fix typo
Change-Id: Ib9250f7d1fe0c9c52b73c7bcabd92d15c08b8157
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Jiyong Min [Tue, 27 Feb 2018 09:51:15 +0000 (18:51 +0900)]
Code Refactoring - remove inefficient external function for png
Change-Id: I3ed08594843b64a57259732967eb8dfcfc5469df
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
hj kim [Thu, 22 Feb 2018 01:11:41 +0000 (10:11 +0900)]
mm_util_decode_from_jpeg_memory() and mm_util_decode_from_jpeg_file() APIs are removed. Use _downscale() APIs instead
Change-Id: I51686b82eef915a243f650cd0bf0c3a1ad75fe82
Jiyong Min [Thu, 22 Feb 2018 01:40:48 +0000 (10:40 +0900)]
Check signed value of long 'file_size' for typecast to unsigned value
- fix svace issue
Change-Id: I9d94925e1506ce6b27bf02e35f282cf75e4cc34a
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
hj kim [Wed, 21 Feb 2018 08:59:31 +0000 (17:59 +0900)]
Apply new mm_util_convert_colorspace()
Change-Id: I6bd59d3d77f64ddb7fe020df17904da5b3cf83eb
hj kim [Wed, 21 Feb 2018 06:00:31 +0000 (15:00 +0900)]
Apply new mm_util_resize_image()
Change-Id: I129fb30f376f1410fa119a893d94a4d848a52b2f
hj kim [Wed, 21 Feb 2018 05:52:09 +0000 (05:52 +0000)]
Revert "Apply new mm_util_resize_image()"
This reverts commit
551b1559b1f25e174df0c97d9271e6ba153933ed.
Change-Id: I22f8e00d7ea2779dbfc3cee68ceeaf23a5136c54
hj kim [Wed, 21 Feb 2018 05:47:46 +0000 (05:47 +0000)]
Merge "Apply new mm_util_resize_image()" into tizen
hj kim [Tue, 20 Feb 2018 06:17:41 +0000 (15:17 +0900)]
Apply new mm_util_resize_image()
Change-Id: Ib4a27a6aeb0430c61b7acb185ba405633da46906
hj kim [Tue, 20 Feb 2018 04:27:26 +0000 (13:27 +0900)]
Apply new mm_util_rotate_image()
Change-Id: I0a46ee409f82946d0e6ea95ae65009b576abedfa
Jiyong Min [Tue, 20 Feb 2018 05:08:18 +0000 (14:08 +0900)]
Modify the range of 'imgsize' from 'unsigned int' to 'Size_t'
Change-Id: I121c52ec3be88e00ee921dbe51539a64de75c4a6
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
hj kim [Mon, 19 Feb 2018 10:15:54 +0000 (19:15 +0900)]
Remove deprecated API in test code
Change-Id: I2f87f0e39453a65b8c527a1ad9fd40aa03bff9fe
hj kim [Mon, 19 Feb 2018 10:12:20 +0000 (19:12 +0900)]
Apply new mm_util_crop_image()
Change-Id: I094f22e9c8a35c416e7587778fbc39654a78cf00
Jiyong Min [Tue, 13 Feb 2018 00:51:48 +0000 (09:51 +0900)]
Add mm-common due to build error of contacts-service and browser-profile apps
Change-Id: I43f22f4c0a6d4976d61b4d9c765379798e9fc6d9
Jiyong Min [Mon, 12 Feb 2018 23:20:09 +0000 (08:20 +0900)]
Fix build error due to CMakefile
Change-Id: Ifb0649616437e1d003d2ceb96600f91c34a79acc
Jiyong Min [Thu, 8 Feb 2018 06:42:38 +0000 (15:42 +0900)]
Code Refactoring: apply unified color format
- Add 'mmutil_common' library to use color interface from libmm-utility
- Apply unified color format
Change-Id: I0115413d99935e646e06c7e583da3dc44dc84642
Jiyong Min [Wed, 7 Feb 2018 07:14:41 +0000 (16:14 +0900)]
Remove dependency of unused package
Change-Id: Id63671f81c25dd3bec2403308a494d03e42b9ae8
hj kim [Thu, 25 Jan 2018 00:06:30 +0000 (09:06 +0900)]
Fix doxgyen mistakes
Change-Id: I418cb6ca08435acfbba14f88d477ec5760fc7b57
hj kim [Wed, 24 Jan 2018 07:58:02 +0000 (16:58 +0900)]
Fix wrong description for IMAGE_UTIL_ERROR_PERMISSION_DENIED
Change-Id: I03ae9b7b37fb980bd0f9a15d3157270beec68fa1