platform/core/uifw/lottie-player.git
10 months agoAdd LOTTIE_RASTER_THREAD option. 58/294558/2 accepted/tizen/unified/20230628.023652
joogab.yun [Wed, 21 Jun 2023 06:36:42 +0000 (15:36 +0900)]
Add LOTTIE_RASTER_THREAD option.
default value is false.
It does not use threads when rasterizing.

Change-Id: I0a1488b5bed575164249a41c2a40ff5f32fa0c25

10 months agoPass combinedAlpha when not complexContent. 98/294298/4 accepted/tizen/unified/20230620.022449
joogab.yun [Wed, 14 Jun 2023 06:03:09 +0000 (15:03 +0900)]
Pass combinedAlpha when not complexContent.

Change-Id: I3daaca93a6fa6bb3a71ccd4d98d263ae966b61ee

10 months agoraster: added default task name 93/294093/1
Michal Szczecinski [Tue, 13 Jun 2023 04:33:04 +0000 (06:33 +0200)]
raster: added default task name

Change-Id: I73b902c89de179e1cce86dd98ab0d9f411d39cc5

11 months agolottieitem: Added alpha in Fill::updateContent method. 77/293377/1 accepted/tizen/unified/20230528.171050
Michal Szczecinski [Thu, 25 May 2023 07:15:02 +0000 (09:15 +0200)]
lottieitem: Added alpha in Fill::updateContent method.

use parent alpha in the Fill::updateContent method to calculate combined
alpha.

Change-Id: Id56f4cd9680c7c906219001ac4f1e632f7c569f7

11 months agoUpdate color blending style in LottieItem 48/292848/1
joogab.yun [Tue, 16 May 2023 01:06:32 +0000 (10:06 +0900)]
Update color blending style in LottieItem

Change-Id: I277dea0212759d01c3dd69cf39fd854b9a5f19b3

12 months agoRevert "Update color blending style in LottieItem" 88/292088/1
joogab.yun [Thu, 27 Apr 2023 06:01:13 +0000 (15:01 +0900)]
Revert "Update color blending style in LottieItem"

This reverts commit 74c65db99ab841039dfba50dc72dc2b165aac49b.

Change-Id: I370ab2755d6971422637ed85a9fdba8cd260bce3

12 months agoUpdate color blending style in LottieItem 16/291016/2
Michal Szczecinski [Thu, 6 Apr 2023 11:16:35 +0000 (13:16 +0200)]
Update color blending style in LottieItem

This commit modifies the LottieItem rendering process to match Adobe
After Effects blending style. Initially, the entire content of the layer
is rendered to an intermediate buffer. Then, the buffer is rendered with
applied alpha layer.

Change-Id: Ic145daa83c7d8f3007e46f08cdfcc063d22526ae

19 months agoexample: lottieviewer - fixed frame no (#528) 40/281440/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062227 accepted/tizen/7.0/unified/hotfix/20221116.110152 accepted/tizen/unified/20220921.091755 tizen_7.0_m2_release
Michal Maciola [Mon, 19 Sep 2022 02:03:33 +0000 (04:03 +0200)]
example: lottieviewer - fixed frame no (#528)

There is a problem (issue #527) with totalFrame() in rlottie.
As lottieviewer didn't showed the actual frame number, but calculated it from
progress, it camouflaged the problem. Now the actual frame number and the
total number of frames are displayed.

Change-Id: I051a07c5c0d28bb7c8474eb55a9af31c031c9d1d
Signed-off-by: jykeon <jykeon@samsung.com>
19 months agoFix one frame missing (#529) 39/281439/1
Michal Maciola [Mon, 19 Sep 2022 02:03:23 +0000 (04:03 +0200)]
Fix one frame missing (#529)

As mStartFrame and mEndFrame was counted from 0 and totalFrame() was
calculated as a difference, there were always one frame missing and
the animation rescaled. This patch adds one to the total frames count.

issue: #527
Change-Id: I82f7d85ba6f932b2e47a4be68bf91dcc97da5b0a

20 months agoDelete accidentally committed Vim swap file accepted/tizen/unified/20220825.135039 submit/tizen/20220824.044823
Nicholas Guriev [Sun, 29 May 2022 19:42:00 +0000 (19:42 +0000)]
Delete accidentally committed Vim swap file

2 years agoCheck border of color table while generating gradient 20/273520/1 accepted/tizen/unified/20220412.100306 submit/tizen/20220408.011942
Nicholas Guriev [Tue, 4 Jan 2022 17:15:50 +0000 (20:15 +0300)]
Check border of color table while generating gradient

Change-Id: I40bacd737acb73ee22dda8fbfaee76afecfe50a7
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoIgnore animations with objects of unspecified type 19/273519/1
Nicholas Guriev [Tue, 4 Jan 2022 17:13:43 +0000 (20:13 +0300)]
Ignore animations with objects of unspecified type

Change-Id: Idc20b0b41f293d092cfd6b9dff9764c9703bc285
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoadd formal parameter void to lottie_init() and lottie_shutdown() 18/273518/1
wangxuedong [Tue, 14 Dec 2021 07:33:12 +0000 (15:33 +0800)]
add formal parameter void to lottie_init() and lottie_shutdown()

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
Change-Id: I40dbe4b07f9581e5042e468d3860e135622580c8
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoAdd lottie_init() and lottie_shutdown() c api. 17/273517/1
Subhransu Mohanty [Fri, 10 Dec 2021 04:30:07 +0000 (13:30 +0900)]
Add lottie_init() and lottie_shutdown() c api.

To support dynamic loading and unloading of rlottie library safely
we need to deallocate the resource cache as well as safely shutdown all the
worker threads.
current patch only stops the Render and Rle task schedulers when lottie_shutdown is called.

Things yet to be implemented during shutdown phase
- Unload image loader if loaded dynamically.
- Check if we can release some cache resources.
- Currently multiple load and unload of rlottie library will not work as we are not starting the
  scheduler again when lottie_init() called multiple time in the same process.

Change-Id: Ifacf3882c4aec3ce87e9840d76f445e727a74f58
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoreplace unsigned int with uint32_t in Int() 16/273516/1
wangxuedong [Thu, 9 Dec 2021 08:51:34 +0000 (16:51 +0800)]
replace unsigned int with uint32_t in Int()

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
Change-Id: I4390c12fcf3aefccfe20290436b0dad96877008c
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoreplace uint ushort and uchar typedefs with uint32 uint16 and uint8 15/273515/1
Subhransu Mohanty [Thu, 9 Dec 2021 03:05:26 +0000 (12:05 +0900)]
replace uint ushort and uchar typedefs with uint32 uint16 and uint8
-- added format script to run clang format on latest commit.

Change-Id: I23f7fad4b75ef6c40e984766480876bf1bcb88a2
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoReject reversed frames 14/273514/1
Nicholas Guriev [Fri, 28 May 2021 12:34:42 +0000 (15:34 +0300)]
Reject reversed frames

Change-Id: I162cfaf0a68967f2e248a3c3af4a0fbb2ce30a54
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agoFinite loop in VBezier::tAtLength() 13/273513/1
Nicholas Guriev [Fri, 28 May 2021 12:33:22 +0000 (15:33 +0300)]
Finite loop in VBezier::tAtLength()

Change-Id: I47205f80830d273ac395488f23200fefa1f86d5b
Signed-off-by: jykeon <jykeon@samsung.com>
2 years agolottiemodel: Improve opacity calculation for gradient stop 97/267697/1 accepted/tizen/unified/20211216.155840 submit/tizen/20211215.050000
JunsuChoi [Thu, 9 Dec 2021 00:50:46 +0000 (09:50 +0900)]
lottiemodel: Improve opacity calculation for gradient stop

Basically, Graeidnt stop's color and opacity are provided as separate arrays.
Stop position and opacity position do not match each other.
Existing code is a sequential approach. It caused problems in various cases of positions.
The improved logic repeats the loop, but no exceptions are raised. It's not complicated, it's simple.

This code referenced the lottie-android library.
https://github.com/airbnb/lottie-android/blob/master/lottie/src/main/java/com/airbnb/lottie/parser/GradientColorParser.java

Change-Id: Ib23064f7f91ee35ecec2afa41a0a1ccb57c8373a

2 years agorlottie/capi: Add missing multiply for Path accepted/tizen/6.5/unified/20211028.121457 accepted/tizen/unified/20210818.124603 submit/tizen/20210817.055625 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
JunsuChoi [Wed, 4 Aug 2021 06:31:16 +0000 (15:31 +0900)]
rlottie/capi: Add missing multiply for Path

mPath is std::vector array of VPointF as a VPath type.
Since the list of points is passed to the capi structure as a float*,
the size of the capi point list is twice the length of the vector array.

Change-Id: Ieaf1faf29323d3e17af51d3ec8a8cf7e431571ec

2 years agoCheck Layer.mExtra and Transform.mExtra before dereferencing accepted/tizen/unified/20210625.170433 submit/tizen/20210621.044901
Nicholas Guriev [Sun, 23 May 2021 11:04:14 +0000 (14:04 +0300)]
Check Layer.mExtra and Transform.mExtra before dereferencing

Change-Id: I830ddb91a1ab81d3848633512ef1c23b37654883

2 years agoAvoid access to last element of empty mChildren vector
Nicholas Guriev [Fri, 21 May 2021 19:36:10 +0000 (22:36 +0300)]
Avoid access to last element of empty mChildren vector

Change-Id: I590b2bdf25424161d25ddc1a4311b393d08b9a96

2 years agoremove RAPIDJSON_ASSERT() by placing the parser in error state
Subhransu Mohanty [Wed, 26 May 2021 02:32:40 +0000 (11:32 +0900)]
remove RAPIDJSON_ASSERT() by placing the parser in error state

Change-Id: I2ef64d4a50feb0ca769f19ce38b5bcabb83fd181

2 years agoFix dereferencing of null pointer in model::Layer::solidColor() getter
Nicholas Guriev [Thu, 27 May 2021 12:01:58 +0000 (15:01 +0300)]
Fix dereferencing of null pointer in model::Layer::solidColor() getter

Also remove unnecessarily check of mExtra->mAsset in the asset() getter.

Change-Id: Ic17532314309e331be28bd09d9af63208ac0690b

2 years agoSkip dash array of size one or zero accepted/tizen/unified/20210610.141304 submit/tizen/20210531.030446 submit/tizen/20210531.031901
Nicholas Guriev [Tue, 25 May 2021 11:12:31 +0000 (14:12 +0300)]
Skip dash array of size one or zero

An attempt to fix CVE-2021-31317, not tested yet.

Change-Id: Ib9a061ddc6c2136082f9f79ff35101fb6d5cf0b5

2 years agoadd the /inc folder as an include path at build time
Simon Schmeisser [Sat, 1 May 2021 16:55:37 +0000 (18:55 +0200)]
add the /inc folder as an include path at build time

Change-Id: I496fb88a3a11e23da1c560ff93347f6c95720ab1

2 years agoImprove matte rendering performance for simple layer
Subhransu Mohanty [Tue, 25 May 2021 07:17:18 +0000 (16:17 +0900)]
Improve matte rendering performance for simple layer

Change-Id: I58902f2c7a30056e605cc2884d834451edc947e8

2 years agoCMake: fix MSVC warnings
Yuhang Zhao [Thu, 25 Mar 2021 05:56:08 +0000 (13:56 +0800)]
CMake: fix MSVC warnings

MSVC can't recognize these parameters.

Change-Id: I6be8de53b1ae0ee84eaef4ae47113d5376634b44
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
3 years agofix compileing error accepted/tizen/unified/20210407.010220 submit/tizen/20210329.022359 submit/tizen/20210406.060747
xspeed1989 [Wed, 24 Mar 2021 06:44:50 +0000 (14:44 +0800)]
fix compileing error

Change-Id: Ie3f23bb218f2052eaf657132ee2dccc4996c7130

3 years agoOn windows, stbi__fopen opens a path containing non-English characters or symbols...
xspeed1989 [Wed, 24 Mar 2021 06:39:11 +0000 (14:39 +0800)]
On windows, stbi__fopen opens a path containing non-English characters or symbols will fail due to encoding problems, so the filename parameter is assumed to be utf-8 and converted to utf-16, and then call _wfopen_s or _wfopen

3 years agoadd lottie_configure_model_cache_size() c api accepted/tizen/unified/20210316.151332 submit/tizen/20210315.060811
Subhransu Mohanty [Thu, 25 Feb 2021 01:59:33 +0000 (10:59 +0900)]
add lottie_configure_model_cache_size() c api

Change-Id: I56e51ae7651f9a966d56f70ebb304408d973cfae

3 years agoFix comparison
Johan Mattsson [Wed, 17 Feb 2021 19:55:39 +0000 (20:55 +0100)]
Fix comparison

Change-Id: I25d5d40de5ab47cb73456a240a6a436fb102c3a5

3 years agoMT and MTd
nokeya [Wed, 23 Sep 2020 14:53:46 +0000 (17:53 +0300)]
MT and MTd

Change-Id: I1c403595104c92425fc48ecd501034b6cae74b03

3 years agoRemove link warnings on MSVC
Michael R. P. Ragazzon [Fri, 1 Jan 2021 16:57:51 +0000 (17:57 +0100)]
Remove link warnings on MSVC

Change-Id: If65f7c96bd2fac65593b2888080fb4dce7f146b7

3 years agoI'm writing a wrapper library around rlottie and rust-bindgen won't accept local...
Sunny Gonnabathula [Mon, 21 Dec 2020 02:49:52 +0000 (20:49 -0600)]
I'm writing a wrapper library around rlottie and rust-bindgen won't accept local includes with angle braces, only quotes. Not a C/C++ programmer, so I hope this doesn't break anything and is an acceptable change.

Change-Id: I20a3826b1344de5f37e619e2264d127701a2124a

3 years agoFix CMake build in subdirectory
crizan [Wed, 23 Dec 2020 17:59:14 +0000 (18:59 +0100)]
Fix CMake build in subdirectory

Change-Id: Ia1df562057a87ef3a51201f62ba7145c456ce744

3 years agoFix crash when path animation data is empty
Subhransu Mohanty [Mon, 25 Jan 2021 01:47:25 +0000 (10:47 +0900)]
Fix crash when path animation  data is empty

Change-Id: I31c61d053af4dafbf536e5e214cbee4885c26647

3 years agoAdded support for RoundedCornor objects. accepted/tizen/unified/20201124.123025 submit/tizen/20201122.211513
Subhransu Mohanty [Mon, 16 Nov 2020 06:39:16 +0000 (15:39 +0900)]
Added support for RoundedCornor objects.

- Currently RoundedCorner object only affects Rect object round property.
- yet to implement for Shape object.

3 years agorlottie: draw line if width or height is 0 accepted/tizen/unified/20201116.220345 submit/tizen/20201108.215920 submit/tizen/20201115.212153
Shinwoo Kim [Tue, 3 Nov 2020 02:22:18 +0000 (11:22 +0900)]
rlottie: draw line if width or height is 0

If width or heigth is 0 rlottie returned without drawing rect.
But it makes sense to draw line even if width or height is 0.

3 years agoresource: polish player png image.
Hermet Park [Mon, 2 Nov 2020 07:08:38 +0000 (16:08 +0900)]
resource: polish player png image.

observed a dirty pixel. removed them.

3 years agoresource: add rlottie_player image.
Hermet Park [Mon, 2 Nov 2020 07:01:19 +0000 (16:01 +0900)]
resource: add rlottie_player image.

This image is referenced by rlottie web viewer

3 years agoFixed build with GCC 11. accepted/tizen/unified/20201102.124239 submit/tizen/20201101.231042
Vitaly Zaitsev [Sat, 17 Oct 2020 14:12:07 +0000 (16:12 +0200)]
Fixed build with GCC 11.

Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
3 years agovs2019: Add release build option
JunsuChoi [Wed, 28 Oct 2020 06:24:27 +0000 (15:24 +0900)]
vs2019: Add release build option

Add project configuration for release build
+ add ignore warning 4996

3 years agoupdated AUTHORS
Hermet Park [Tue, 20 Oct 2020 08:43:16 +0000 (17:43 +0900)]
updated AUTHORS

3 years agoupdated AUTHORS
Hermet Park [Tue, 20 Oct 2020 06:33:45 +0000 (15:33 +0900)]
updated AUTHORS

3 years agowasm: Add extra functions for lottie animation to use them in rlottie viewer
Chae Lin Shin [Tue, 20 Oct 2020 06:30:58 +0000 (15:30 +0900)]
wasm: Add extra functions for lottie animation to use them in rlottie viewer

Added following functions for lottie animation
- FillColor, FillOpacity, StrokeColor, StrokeOpacity, StrokeWidth, TrPosition, TrRotation, TrAnchor, TrScale, TrOpacity

3 years agoupdated AUTHORS
Hermet Park [Tue, 6 Oct 2020 06:38:04 +0000 (15:38 +0900)]
updated AUTHORS

3 years agoexample/win32Player: removed unnecessary files.
Hermet Park [Tue, 6 Oct 2020 06:33:29 +0000 (15:33 +0900)]
example/win32Player: removed unnecessary files.

3 years agoadd app executables
start1a [Tue, 6 Oct 2020 06:25:03 +0000 (15:25 +0900)]
add app executables

3 years agorename directory rlottiePlayer to win32Player
start1a [Tue, 6 Oct 2020 06:21:16 +0000 (15:21 +0900)]
rename directory rlottiePlayer to win32Player

3 years agofix openJSONFileDialog
start1a [Mon, 28 Sep 2020 13:09:21 +0000 (22:09 +0900)]
fix openJSONFileDialog

Resolving problem that did not update the background when running and
terminating the dialog while playing a smaller canvas animation

3 years agofix animation replace error
start1a [Mon, 28 Sep 2020 09:47:45 +0000 (18:47 +0900)]
fix animation replace error

3 years agofix animation bitmap size to be set dynamically
start1a [Mon, 28 Sep 2020 08:09:34 +0000 (17:09 +0900)]
fix animation bitmap size to be set dynamically

3 years agomove function prototype to animation.h
start1a [Mon, 28 Sep 2020 07:52:32 +0000 (16:52 +0900)]
move function prototype to animation.h
To prevent function prototype duplicate code in source.cpp.

3 years agoadd an example of win32 app that play rlottie animation by vs2019
start1a [Sun, 27 Sep 2020 10:02:18 +0000 (19:02 +0900)]
add an example of win32 app that play rlottie animation by vs2019

3 years agoadd rlottiePlayer Project
start1a [Sat, 26 Sep 2020 04:43:11 +0000 (13:43 +0900)]
add rlottiePlayer Project

3 years agoModify: Update .gitignore accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113123 accepted/tizen/6.0/unified/hotfix/20201103.001003 accepted/tizen/unified/20200928.072822 submit/tizen/20200927.213403 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
msnodeve [Wed, 23 Sep 2020 16:01:08 +0000 (01:01 +0900)]
Modify: Update .gitignore

- Add the text 'builddir_wasm' in .gitignore

3 years agoDocs: Fix README typo
sjh7141 [Wed, 23 Sep 2020 08:23:56 +0000 (17:23 +0900)]
Docs: Fix README typo

- with -> width
- Scale -> Rotation

3 years agoupdated license in spec file. accepted/tizen/unified/20200923.024105 submit/tizen/20200920.213436
Hermet Park [Thu, 17 Sep 2020 03:22:43 +0000 (12:22 +0900)]
updated license in spec file.

rlottie newly use MPL license code at vInterpolator

Change-Id: I7c0513949f9f355df20f3ba80fa23769025a9a8e

3 years agoDocs: Fix README typo
서지훈 [Sun, 13 Sep 2020 16:02:18 +0000 (01:02 +0900)]
Docs: Fix README typo

Change-Id: Iad58c140db68a3e0778209bb664682555e91485d

3 years agoUpdate README.md accepted/tizen/unified/20200914.131351 submit/tizen/20200913.215058
Hermet Park [Thu, 10 Sep 2020 01:54:58 +0000 (10:54 +0900)]
Update README.md

3 years agoFixed README typo
신채린 [Sun, 6 Sep 2020 17:47:46 +0000 (02:47 +0900)]
Fixed README typo

3 years agofixed readme typo accepted/tizen/unified/20200907.045101 submit/tizen/20200830.214225 submit/tizen/20200901.214039 submit/tizen/20200906.212734
Moein Mohammadian [Sat, 29 Aug 2020 23:25:11 +0000 (03:55 +0430)]
fixed readme typo

3 years agoci: upgrade windows build chain to VS2017 accepted/tizen/unified/20200824.134430 submit/tizen/20200823.213148
Subhransu Mohanty [Fri, 21 Aug 2020 05:23:08 +0000 (14:23 +0900)]
ci: upgrade windows build chain to VS2017

3 years agofixed sign extension warning
Subhransu Mohanty [Thu, 20 Aug 2020 01:28:56 +0000 (10:28 +0900)]
fixed sign extension warning

3 years agobuild: use shared_module instead of shared_library
Vincent Torri [Wed, 19 Aug 2020 04:55:22 +0000 (06:55 +0200)]
build: use shared_module instead of shared_library

3 years agorelease: prepare for 0.2 release
Subhransu Mohanty [Wed, 19 Aug 2020 02:50:33 +0000 (11:50 +0900)]
release: prepare for 0.2 release

3 years agofix warnings
Subhransu Mohanty [Wed, 19 Aug 2020 01:36:54 +0000 (10:36 +0900)]
fix warnings

3 years agovector: refactor vrle class
Subhransu Mohanty [Tue, 18 Aug 2020 01:53:57 +0000 (10:53 +0900)]
vector: refactor vrle class

3 years agorender: fix issue with mask opacity handling
Subhransu Mohanty [Tue, 18 Aug 2020 04:10:40 +0000 (13:10 +0900)]
render: fix issue with mask opacity handling

3 years agoexample: added a perf test to keep track of performance accepted/tizen/unified/20200820.034626 submit/tizen/20200817.223215
sub.mohanty@samsung.com [Mon, 17 Aug 2020 07:11:47 +0000 (16:11 +0900)]
example: added a perf test to keep track of performance

3 years agovs2019: up-to-date some missed file list.
Hermet Park [Sat, 15 Aug 2020 05:16:08 +0000 (14:16 +0900)]
vs2019: up-to-date some missed file list.

3 years agovs2019: fix all visible configuration errors & warnings.
Hermet Park [Sat, 15 Aug 2020 03:30:54 +0000 (12:30 +0900)]
vs2019: fix all visible configuration errors & warnings.

3 years agorender: keep a path object in solid and image layer for reuse
Subhransu Mohanty [Fri, 14 Aug 2020 09:10:56 +0000 (18:10 +0900)]
render: keep a path object in solid and image layer for reuse

3 years agoignore ds_store
nokeya [Fri, 14 Aug 2020 09:03:01 +0000 (12:03 +0300)]
ignore ds_store

3 years agovector/vrle: added free function for + and & operator
Subhransu Mohanty [Fri, 14 Aug 2020 07:54:35 +0000 (16:54 +0900)]
vector/vrle: added free function for + and & operator

- removed unused functions.

3 years agorlottie: fix mask logic when inverted flag is set.
Subhransu Mohanty [Fri, 14 Aug 2020 06:44:29 +0000 (15:44 +0900)]
rlottie: fix mask logic when inverted flag is set.

Added the test resource that is fixed by this patch.

3 years agoparser: remove dead code
Subhransu Mohanty [Thu, 13 Aug 2020 08:15:56 +0000 (17:15 +0900)]
parser: remove dead code

3 years agolottie: mark render classes final when possible
Subhransu Mohanty [Thu, 13 Aug 2020 07:02:06 +0000 (16:02 +0900)]
lottie: mark render classes final when possible

3 years agooptimization: optimize VBezier::length()
Subhransu Mohanty [Wed, 12 Aug 2020 04:51:09 +0000 (13:51 +0900)]
optimization: optimize VBezier::length()
- force VLine::length() function to be inline.

3 years agovector: added V_ALWAYS_INLINE macro.
Subhransu Mohanty [Wed, 12 Aug 2020 04:29:28 +0000 (13:29 +0900)]
vector: added V_ALWAYS_INLINE macro.

3 years agooptimization: refactor Property class for size optimization.
Subhransu Mohanty [Wed, 12 Aug 2020 02:09:44 +0000 (11:09 +0900)]
optimization: refactor Property class for size optimization.

As only Property<VPointF> in Transform object has the tangent info
added a tag in Property to differentiate form other property.
This will add tangent info to only property that require them.

3 years agobuild: change LOT_BUILD to RLOTTIE_BUILD
Subhransu Mohanty [Tue, 11 Aug 2020 09:25:01 +0000 (18:25 +0900)]
build: change LOT_BUILD to RLOTTIE_BUILD

3 years agoimprove README
nokeya [Tue, 11 Aug 2020 08:39:06 +0000 (11:39 +0300)]
improve README

3 years agoexample: updated test example.
Subhransu Mohanty [Tue, 11 Aug 2020 08:02:32 +0000 (17:02 +0900)]
example: updated test example.

3 years agoexample: update test example with fps info
Subhransu Mohanty [Tue, 11 Aug 2020 06:29:36 +0000 (15:29 +0900)]
example: update test example with fps info

3 years agorlottie/rapidjson: updated to latest rapidjson
Subhransu Mohanty [Tue, 11 Aug 2020 02:15:33 +0000 (11:15 +0900)]
rlottie/rapidjson: updated to latest rapidjson

3 years agoparser: Fix the keyframe cache logic.
Subhransu Mohanty [Tue, 11 Aug 2020 04:40:49 +0000 (13:40 +0900)]
parser: Fix the keyframe cache logic.

For some keyframes the cache function was not getting called.
so move the cache logic to outer function and call it when the property
is fully parsed.

3 years agoparser: optimize zero length path keyframes
Subhransu Mohanty [Tue, 11 Aug 2020 03:32:19 +0000 (12:32 +0900)]
parser: optimize zero length path keyframes

3 years agorlottie: mark all user defined destructor's as noexcept
sub.mohanty@samsung.com [Sun, 9 Aug 2020 03:48:25 +0000 (12:48 +0900)]
rlottie: mark all  user defined destructor's as noexcept

3 years agoAttention, rlottie now has a MIT license. 90/240590/1
Hermet Park [Thu, 6 Aug 2020 11:43:45 +0000 (20:43 +0900)]
Attention, rlottie now has a MIT license.

We switch rlottie base license from LGPL2 to MIT
since we hope our project is more freely used by other projects for better world.

Change-Id: Ibb3023c628cc9d683bc5e577790e016605523f7b

3 years agofix msvc 2019 build accepted/tizen/unified/20200810.123124 submit/tizen/20200809.214919
Александр Першин [Fri, 7 Aug 2020 09:42:14 +0000 (12:42 +0300)]
fix msvc 2019 build

3 years agoparser: Refactor cache computation to fix the issue when no start value provided
sub.mohanty@samsung.com [Sun, 9 Aug 2020 00:10:12 +0000 (09:10 +0900)]
parser: Refactor cache computation to fix the issue when no  start value provided

3 years agoperf: added tAtLength(len, totalLength) api to Bezier.
Subhransu Mohanty [Fri, 7 Aug 2020 02:08:09 +0000 (11:08 +0900)]
perf: added tAtLength(len, totalLength) api to Bezier.

When length of the bezier is known , then pass it to tAtLength function
to avoid doing expensive length() operation again.

3 years agorlottie: rename LOT_EXPORT to RLOTTIE_API
Subhransu Mohanty [Fri, 7 Aug 2020 01:40:05 +0000 (10:40 +0900)]
rlottie: rename LOT_EXPORT to RLOTTIE_API

3 years agorlottie: update license in source and header files
Subhransu Mohanty [Fri, 7 Aug 2020 01:12:34 +0000 (10:12 +0900)]
rlottie: update license in source and header files

3 years agoparser: cache some comutaion during parsing
Subhransu Mohanty [Thu, 6 Aug 2020 03:56:48 +0000 (12:56 +0900)]
parser: cache some comutaion during parsing

3 years agorlottie: remove Qt license as we are no more using any code form Qt
Subhransu Mohanty [Tue, 4 Aug 2020 02:18:46 +0000 (11:18 +0900)]
rlottie: remove Qt license as we are no more using any code form Qt

3 years agolottie/model: Refactor filter model
Subhransu Mohanty [Mon, 3 Aug 2020 04:25:54 +0000 (13:25 +0900)]
lottie/model: Refactor filter model

3 years agobuild: provide cross file for arm build accepted/tizen/unified/20200729.165610 submit/tizen/20200728.225405
Subhransu Mohanty [Mon, 27 Jul 2020 05:24:24 +0000 (14:24 +0900)]
build: provide cross file for arm build