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 [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
Jiyong Min [Thu, 4 Jan 2018 00:48:40 +0000 (09:48 +0900)]
Change the buffer(memory) parameter of the image for decoding
(The buffer is used as 'void *', so 'void **' is changed to 'void *'.)
Change-Id: I1b16358db0cb9b4966c7ce154f9699c002c38dd3
hj kim [Thu, 7 Dec 2017 07:07:43 +0000 (16:07 +0900)]
[ACR-1120]Deprecate unused and doesn't work api image_util_transform_set_hardware_acceleration().
Change-Id: I7265d8b298d0ad7fe0a73fc9b923d0f66ba48651
Jiyong Min [Wed, 6 Dec 2017 05:52:10 +0000 (14:52 +0900)]
Code clean up of modifying typo and removing duplicated code
Change-Id: Icb0730c9c93aa23090b746df45d41422d0dbeb5e
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
hj kim [Thu, 7 Dec 2017 07:50:59 +0000 (16:50 +0900)]
Remove hardware_acceleration related code. that doesn't work anymore
Change-Id: Id91e5ce29be28184d2c875a563449496fda8387b
Jiyong Min [Mon, 4 Dec 2017 03:42:35 +0000 (12:42 +0900)]
Modify the description of encoding incorrectly
Change-Id: Ibe1462c5a4184b24870b3d5bef4598d4d6c645e9
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Jiyong Min [Mon, 4 Dec 2017 01:18:55 +0000 (01:18 +0000)]
Merge "Add custom rotation angles in the test suite" into tizen
hj kim [Wed, 29 Nov 2017 08:58:09 +0000 (17:58 +0900)]
Change hard coded path to get by using tzplatform API
Change-Id: I05eaf38f20f7e7baf7f7166cec2d4918019b51fd
hj kim [Fri, 24 Nov 2017 09:08:03 +0000 (18:08 +0900)]
Add capi-media-tool for Requires
Change-Id: I4db4ab24e0cb2ac017afd0cd2cedad20e7bf2712
Mykola Alieksieiev [Thu, 23 Nov 2017 15:17:50 +0000 (17:17 +0200)]
Add custom rotation angles in the test suite
Change-Id: Ia0eb7e625baefb1f1ebb6d1d8a27826a9d84e293
Signed-off-by: Mykola Alieksieiev <m.alieksieie@samsung.com>
Jiyong Min [Wed, 22 Nov 2017 06:01:10 +0000 (15:01 +0900)]
Replace the interface of libmm-utility from media_packet_h to mm_util_color_image_h
Change-Id: I30b701dad2b23227a9d5078384af7e99a0d492ae
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Jiyong Min [Thu, 9 Nov 2017 04:24:29 +0000 (13:24 +0900)]
Add missing header
Change-Id: Id00f81c545ab472f949475326ed9b245ed8a9fa9
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Jiyong Min [Tue, 31 Oct 2017 23:45:56 +0000 (08:45 +0900)]
Replace 'mm_util_gif_frame **' to 'void *'
Change-Id: Ieba64faa381c614cd7556cb15eb4e0ce20d8e428
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Jiyong Min [Fri, 20 Oct 2017 03:53:44 +0000 (12:53 +0900)]
Remove unneccessary xxx_destroy_image_handle and replace initial value to NULL
Change-Id: I3f66f7c3ccf4296d22202de39c7928bb4a46ab24
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
Jiyong Min [Mon, 16 Oct 2017 09:51:02 +0000 (09:51 +0000)]
Merge "Fix confusing error logging" into tizen
Anastasia Lyupa [Mon, 16 Oct 2017 09:08:38 +0000 (12:08 +0300)]
Fix confusing error logging
Fix _image_util_decode_create_*_handle().
Check image_handle before trying to reallocate it.
Otherwise meaningless error are recorded.
Change-Id: I981176a447099c9ed1f5b8d18c5163a48c561c08
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Haejeong Kim [Wed, 11 Oct 2017 08:41:29 +0000 (17:41 +0900)]
Svace issue fix
Change-Id: Iabdaa768f95515c3eb990006e0e77d6802e6611c