platform/core/multimedia/libheif.git
10 months agoFix build error on GCC 13.1.0 04/294904/1 accepted/tizen_8.0_unified accepted/tizen_unified accepted/tizen_unified_dev tizen tizen_8.0 accepted/tizen/8.0/unified/20231005.093429 accepted/tizen/unified/20230630.124044 accepted/tizen/unified/dev/20230726.115507 tizen_8.0_m2_release
Seungbae Shin [Wed, 28 Jun 2023 10:43:20 +0000 (19:43 +0900)]
Fix build error on GCC 13.1.0

error: conflicting types for 'heif_itemtable_get_image_mirror_mode' due to enum/integer mismatch;
 have 'int(void *, heif_mirror_mode_e *)' [-Werror=enum-int-mismatch]

Change-Id: Idbde4788d1e584366e6f2c8f159cb22d827877ef

16 months agoFix build error due to upgrade to ffmpeg 5.1.2 70/285070/1 accepted/tizen/unified/20221221.165258
hj kim [Tue, 6 Dec 2022 01:25:55 +0000 (10:25 +0900)]
Fix build error due to upgrade to ffmpeg 5.1.2

Change-Id: I269a0313d51c9cdeae625b228f9d0a492e91f029

17 months agoBug fix: Fix potential double-free 11/284611/2 accepted/tizen/unified/20221128.014945
jiyong.min [Tue, 22 Nov 2022 00:59:04 +0000 (09:59 +0900)]
Bug fix: Fix potential double-free

 - If an error occurred on 517 line after 'tile_image' is released
   on line 537, double-free may occur.

Change-Id: I1bfe863caaa06ffb3560960238e7aac39c71475e

17 months agoAdd missing typecast 42/284442/1
jiyong.min [Thu, 17 Nov 2022 07:00:33 +0000 (16:00 +0900)]
Add missing typecast

Change-Id: Id4662d889a75ebf6d4f3886b6b272a84ea0b6bbb

18 months agoFix aarch64 build error 01/283701/1 accepted/tizen/unified/20221103.165752
jiyong.min [Wed, 2 Nov 2022 03:42:33 +0000 (12:42 +0900)]
Fix aarch64 build error

Change-Id: I1af6be83c05ef5cb5f4df03a52df73fcd7fcfcdf

18 months agoAdd typecast to prevent overflow of arithmatic results 67/283067/3
jiyong.min [Tue, 18 Oct 2022 00:08:02 +0000 (09:08 +0900)]
Add typecast to prevent overflow of arithmatic results

Change-Id: I97665ec4d67ecae523eb236667f538cbc78e033c

2 years agofix resource leak 00/271500/3 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/hotfix/20221116.105404 accepted/tizen/unified/20220303.131821 submit/tizen/20220302.013359 tizen_7.0_m2_release
jiyong.min [Tue, 22 Feb 2022 06:33:36 +0000 (15:33 +0900)]
fix resource leak

 If 'pkt_buf' is not allocated, '_pkt' variable leaks.

Change-Id: I0cc81d29df0edbffc828d322204c96af3fb00dc1

2 years agoreplace g_memdup() to g_memdup2() 88/267888/3 accepted/tizen/unified/20211222.230728 submit/tizen/20211212.233427
Jiyong Min [Mon, 13 Dec 2021 03:47:49 +0000 (12:47 +0900)]
replace g_memdup() to g_memdup2()

  - g_memdup() was removed in glib2

Change-Id: Ib6cb801c6cc146ef7a8781930486170e911f33af

2 years agoreplace 'av_init_packet' to 'av_packet_alloc' 84/267784/4 accepted/tizen/unified/20211213.133626 submit/tizen/20211209.083747
Jiyong Min [Fri, 10 Dec 2021 00:23:33 +0000 (09:23 +0900)]
replace 'av_init_packet' to 'av_packet_alloc'

 - 'av_init_packet' function was deprecated since ffmpeg 4.4.1

Change-Id: I2a2e4ed6afb4cba9a81ae15ade40b0777ba21679

2 years agoremove duplicate codes and unused headers 14/266814/2
Jiyong Min [Fri, 19 Nov 2021 03:07:49 +0000 (12:07 +0900)]
remove duplicate codes and unused headers

Change-Id: I27efd59dacb934ebe3d812e663467cc25bdd8fd5

2 years agofix memory leak on testsuite 48/265548/1 submit/tizen/20211115.041112
Jiyong Min [Wed, 20 Oct 2021 02:11:14 +0000 (11:11 +0900)]
fix memory leak on testsuite

Change-Id: I6f604872f45cd2bfe15fbac6fbeff537905c43a9

2 years agoRemove unused define 'GMAGICK_DEBUG' 64/264664/1 submit/tizen/20210928.234904
Jiyong Min [Tue, 15 Jun 2021 05:44:17 +0000 (14:44 +0900)]
Remove unused define 'GMAGICK_DEBUG'

Change-Id: I7aa5655e829bc747840ea7d90ea5290df6c8d826

2 years agoFix to check valid pointer before using 'combine_image' 18/259618/4 accepted/tizen_6.5_unified accepted/tizen/6.5/unified/20211028.123034 accepted/tizen/unified/20210614.131730 submit/tizen/20210613.233710 submit/tizen_6.5/20211028.162401 tizen_6.5.m2_release
Jiyong Min [Thu, 10 Jun 2021 08:02:29 +0000 (17:02 +0900)]
Fix to check valid pointer before using 'combine_image'

Change-Id: I8d56b508c98f0cfbd6d2770af9fa901272ef1037

2 years agobug fix. improper use of negative value 17/259617/2
Jiyong Min [Thu, 10 Jun 2021 07:58:27 +0000 (16:58 +0900)]
bug fix. improper use of negative value

  - fix coverity issue
  'av_image_get_buffer_size()' function can return negative value.
  So it is necessary to check negative value before using it.

Change-Id: I24fb99ffb49c1e9d0ae6185460b1c9fe8e0d1878

2 years agofix memory leak of 'nal_unit' and rename it 80/257880/2 accepted/tizen/unified/20210509.123858 submit/tizen/20210507.053543
jiyong.min [Thu, 6 May 2021 00:30:18 +0000 (09:30 +0900)]
fix memory leak of 'nal_unit' and rename it

Change-Id: I5f81e0e3d28f663d6e3cb29b6f898d602dad59b5

3 years agoModify the initial value of fd to '-1' 60/257160/2 accepted/tizen/unified/20210422.090519 submit/tizen/20210421.015919
jiyong.min [Tue, 20 Apr 2021 04:24:23 +0000 (13:24 +0900)]
Modify the initial value of fd to '-1'

[Problem]
 An error may occur in the operation of the application.
[Cause]
 When the 'heif_source_h' was created from buffer, fd was initialized to '0'.
 It caused fd '0' close when the 'heif_source_h' freed.
 It closed fd '0' being used for other purpose.
[Solution]
 The initial value of fd in 'heif_source_h' was modified to '-1'.
 So if fd is not used in 'heif_source_h' then close is not called.

Change-Id: I2ddc44a886ea14ee1fd44603c5a55a11bced869b

3 years agoheif_testsuite: Use 'GraphicsMagick' instead of 'libmm-utility' 71/255071/5 accepted/tizen/unified/20210317.115904 submit/tizen/20210316.062438
jiyong.min [Thu, 11 Mar 2021 01:35:22 +0000 (10:35 +0900)]
heif_testsuite: Use 'GraphicsMagick' instead of 'libmm-utility'

 - To avoid a dependency conflict, 'libmm-utility' is changed to 'GraphicsMagick'.

Change-Id: I5aa1449a91b2a61c2f975d5a48715b0fe912c299

3 years agoRename so library from 'liblibheif' to 'libheif' 46/254846/3 accepted/tizen/unified/20210311.083825 submit/tizen/20210310.235126
jiyong.min [Wed, 10 Mar 2021 04:00:36 +0000 (13:00 +0900)]
Rename so library from 'liblibheif' to 'libheif'

Change-Id: Ib50bb8822ae53ef1b24fd4564f7a28cdd5b58a87

3 years agoapply HEIF library 40/253140/31 accepted/tizen/unified/20210309.140634 submit/tizen/20210309.051823
jiyong.min [Thu, 4 Feb 2021 23:19:52 +0000 (08:19 +0900)]
apply HEIF library

 Multimedia Framework Library for decoding HEIF(ISO/IEC 23008-12) image
 License: Apache 2.0
 Dependency: FFmpeg

 How to test
 1. After building this library by GBS,
   please install the rpm package on a target device or an emulator.
 2. Run test/test.sh
   (You can modify test/test.sh as enviroment)
 3. Check the result images on PC

Change-Id: Ida20d33dd2dce8f45b05d6fc2bc66036fabeede2

3 years agoInitial empty repository master
Tizen Infrastructure [Thu, 4 Feb 2021 08:24:54 +0000 (08:24 +0000)]
Initial empty repository