platform/core/api/image-util.git
4 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 years agoDefine new decode_s to use for decoding 96/191096/2
hj kim [Thu, 11 Oct 2018 08:24:40 +0000 (17:24 +0900)]
Define new decode_s to use for decoding

Change-Id: Ic6937b8c350f6e80f20bdd6f305a2ed1464c4174

5 years agoJust update debug msg 85/191085/1
hj kim [Thu, 11 Oct 2018 07:46:57 +0000 (16:46 +0900)]
Just update debug msg

Change-Id: I65f6801678867f33a4104263b78eb9bec24b8679

5 years agoRemove __mm_util_transform & __mm_util_create_thread 49/191049/5
jiyong.min [Thu, 11 Oct 2018 04:06:20 +0000 (13:06 +0900)]
Remove __mm_util_transform & __mm_util_create_thread

Change-Id: Ied7783f5a338deaa3a79b1da417b47b30f75e726

5 years agoFix memory leak 38/191038/1
hj kim [Thu, 11 Oct 2018 00:14:08 +0000 (09:14 +0900)]
Fix memory leak

Change-Id: I3e1199762b5ca5f413c877208475c9fa598532c8

5 years agoRemove unused variable 'is_completed' 37/191037/1
jiyong.min [Wed, 10 Oct 2018 23:07:45 +0000 (08:07 +0900)]
Remove unused variable 'is_completed'

Change-Id: I00cd784952d45be9356373db6a99acdbd9557b4e

5 years agoReplace simple internal APIs 99/190999/1
hj kim [Wed, 10 Oct 2018 09:30:00 +0000 (18:30 +0900)]
Replace simple internal APIs

Change-Id: I73b54e6dca5103aef6776a93e864dfb80976e975

5 years agoRemove mm_util_s. because this is same as transformation_s 97/190997/1
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

5 years agoRemove mm_util_imgp_h to remove internal handle 94/190994/1
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

5 years agoRemove mm_util_color_image_h to remove internal handle 91/190991/1
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

5 years agoRemove duplicated mm_util_cb 79/190979/2
hj kim [Wed, 10 Oct 2018 07:12:48 +0000 (16:12 +0900)]
Remove duplicated mm_util_cb

Change-Id: I4728fa5910dd0c449cc317411ff800dd267e1820

5 years agoFix wrong buffer size of media_packet 66/190966/3
jiyong.min [Wed, 10 Oct 2018 04:36:48 +0000 (13:36 +0900)]
Fix wrong buffer size of media_packet

Change-Id: I74c107ec60d6691ed48972ca770d6b502edf3ec4

5 years agoFix wrong buffer size of media_packet 72/190972/1
jiyong.min [Wed, 10 Oct 2018 04:36:48 +0000 (13:36 +0900)]
Fix wrong buffer size of media_packet

Change-Id: I74c107ec60d6691ed48972ca770d6b502edf3ec4

5 years agoGet mm_util_s from libmm-utility. because it is only used here 70/190970/1
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

5 years agoGet transform code from libmm-utility except gstreamer related code 79/190879/2
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

5 years agoRemove unused parameter 51/190851/1
hj kim [Mon, 8 Oct 2018 03:50:16 +0000 (12:50 +0900)]
Remove unused parameter

Change-Id: I241174c0a9834523e712cc589a319da5a931a993

5 years agoRemove duplicated code and paramters in image-util and libmm-utility 66/190766/1
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

5 years agoJust rearragne the codes 25/190625/1
hj kim [Thu, 4 Oct 2018 07:55:52 +0000 (16:55 +0900)]
Just rearragne the codes

Change-Id: I203a46b13dbcd3bd7971e66a372f8ebe340e030e

5 years agoUnify image info structures because All of them have same format 13/190613/1
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

5 years agoRearrange the source code and remove unused macro 29/190129/3 accepted/tizen/5.0/unified/20181102.013217 accepted/tizen/unified/20181001.092525 submit/tizen/20180928.062042 submit/tizen_5.0/20181101.000002
jiyong.min [Thu, 27 Sep 2018 05:40:01 +0000 (14:40 +0900)]
Rearrange the source code and remove unused macro

Change-Id: I748f39c12d16d8944c741ffdf9f4838bb535b396

5 years agoAdd gcov environment 10/189210/1 accepted/tizen/unified/20180920.063841 submit/tizen/20180918.081101 submit/tizen/20180919.063447
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

5 years agoFix typo 23/187723/1 accepted/tizen/unified/20180829.142759 submit/tizen/20180828.054943
jiyong.min [Tue, 28 Aug 2018 05:19:38 +0000 (14:19 +0900)]
Fix typo

Change-Id: I5e036ec17afcd808778e69dc802c0025209eab6d

5 years agoJust add some debug msg to track error 00/187400/1 accepted/tizen/unified/20180824.062640 submit/tizen/20180823.021953
hj kim [Thu, 23 Aug 2018 02:12:53 +0000 (11:12 +0900)]
Just add some debug msg to track error

Change-Id: I3a4b84d7376cebdfd5bcb7d55c250dea44ebf0fb

5 years agoRemove unneccessary 'image_h' when image is decoded 89/183289/1 accepted/tizen/unified/20180706.062143 submit/tizen/20180704.232304
Jiyong Min [Wed, 4 Jul 2018 06:38:01 +0000 (15:38 +0900)]
Remove unneccessary 'image_h' when image is decoded

Change-Id: I12f70554a7281deb7f7e01426aef745020d48956

5 years agoRename jpeg decoding function 79/183279/1
Jiyong Min [Wed, 4 Jul 2018 05:13:59 +0000 (14:13 +0900)]
Rename jpeg decoding function

Change-Id: I631479986e610b739d0472db3e1782f12ea7f67f

5 years agoJust update Api description 63/182163/2 accepted/tizen/unified/20180625.141517 submit/tizen/20180622.070254
hj kim [Thu, 21 Jun 2018 05:02:05 +0000 (14:02 +0900)]
Just update Api description

Change-Id: I2e7c8419263f1837de0357b903976a6dd8e0b3dc

6 years agoAdd fortify option 24/175624/1 accepted/tizen/unified/20180423.062742 submit/tizen/20180419.231843
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>
6 years agoFix Coverity issue 57/174057/2 accepted/tizen/unified/20180330.060544 submit/tizen/20180328.012050
hj kim [Wed, 28 Mar 2018 00:55:37 +0000 (09:55 +0900)]
Fix Coverity issue

Change-Id: I533b84614f37d7c5f12094fb3fcfb90046f0e2bb

6 years agoFix Coverity issues 34/173634/1 accepted/tizen/unified/20180326.075223 submit/tizen/20180323.043859
hj kim [Fri, 23 Mar 2018 00:24:18 +0000 (09:24 +0900)]
Fix Coverity issues

Change-Id: Iceb522e893bdb57091a58de04be6bfd1cab175cf

6 years agoFix coverity issue 40/173140/3 accepted/tizen/unified/20180321.060755 submit/tizen/20180320.040253
Jiyong Min [Tue, 20 Mar 2018 01:22:50 +0000 (10:22 +0900)]
Fix coverity issue

Change-Id: Id9b70015595a83cde4c6d67c77cf4d36132923b3

6 years agoReplace unsigned long long type 'data_size' to size_t type 21/173121/2
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

6 years agoRename refactoring jpeg function 33/172433/2 accepted/tizen/unified/20180315.061342 submit/tizen/20180314.004633
Jiyong Min [Wed, 14 Mar 2018 03:12:22 +0000 (12:12 +0900)]
Rename refactoring jpeg function

Change-Id: I84cf8c2ba581afa24c8275702d31d34516e318bb

6 years ago[ACR-1123] Remove deprecated APIs 49/163749/13
Jiyong Min [Tue, 13 Mar 2018 05:47:08 +0000 (14:47 +0900)]
[ACR-1123] Remove deprecated APIs

Change-Id: I9a58ebe24ccadb074c36b67ebaf338e752e85f07

6 years agoUse size_t for buffer size 77/171677/3
hj kim [Tue, 6 Mar 2018 10:25:36 +0000 (19:25 +0900)]
Use size_t for buffer size

Change-Id: If18ee9a6062bf921add293af162bf796e4454bdc

6 years agoUnify the type of the buffer size from 'unsigned int'/'unsigned long' to 'size_t' 72/171672/2
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>
6 years agoChange the order of the parameters 85/171585/1
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>
6 years agoCode refactoring change png parameters 63/171563/2 accepted/tizen/unified/20180307.071321 submit/tizen/20180305.053300
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>