subhransu mohanty
fa9a48c375
Fixed regression in VPath::Clone() api and updated test cases
2019-05-27 10:34:00 +09:00
subhransu mohanty
cfe844fde9
rlottie: make sure rle object shared between 2 threads always keeps refcount 1 to avoid copy
2019-05-24 16:16:53 +09:00
subhransu mohanty
e6a7d9fbe7
rlottie/vector: Added unique(), refcount and clone api to VRle class
2019-05-24 16:01:33 +09:00
subhransu mohanty
4f5830c31b
lottie/model: refactor LOTAnimatable to optimize size.
2019-05-24 13:03:19 +09:00
subhransu mohanty
55eee7113a
rlottie/model: refactor repeater object model to optimize size.
2019-05-23 19:02:10 +09:00
subhransu mohanty
281d3f3a00
rlottie/trim: Fix trim segment calculation.
...
In AE start and end value can naver be -ve. but the final
start and end value after applting interpolator curve could be -ve.
So refactor to always take the -ve value into account.
2019-05-23 09:58:42 +09:00
subhransu mohanty
0fa16936d1
rlottie/parser: Fix float data parsing when data in array form.
...
Take only the 1st element and discard the rest.
2019-05-22 12:37:50 +09:00
subhransu mohanty
57eea32d4d
rlottie/model: Fix repeater processing when its part of an asset layer.
2019-05-22 10:02:47 +09:00
subhransu mohanty
7bcbea3a50
rlottie/meson: Add neon code only if building for arm system
2019-05-20 16:27:29 +09:00
subhransu mohanty
30e2ab6897
vector: fixed build error with gcc7 using fallthrough
2019-05-20 15:55:09 +09:00
subhransu mohanty
947cac4ad8
Revert "vector: fix a compile error of strict fallthrough case check."
...
This reverts commit e1cf42ba8c .
The fall through code is as per design.
2019-05-20 15:07:16 +09:00
subhransu mohanty
3ea10ecbc9
lottie/parser: Fixed regression of interpolator string handling.
...
With older bodymovin pluggins the interpolator cache string sometimes
dosen't match with the in and out tangent results into wrong animation.
So parse the interpolator string whenever available.
2019-05-20 14:39:18 +09:00
Hermet Park
e1cf42ba8c
vector: fix a compile error of strict fallthrough case check.
2019-05-20 13:26:20 +09:00
sub.mohanty@samsung.com
23115b9092
rlottie: always propagate update for precomp layer.
...
Precomp layers can be static with more than 1 frame inside it.
so always propagate update to all its child layers.
2019-05-20 10:25:08 +09:00
subhransu mohanty
9a670acaf1
rlottie: Fixed wrong calculation of duration.
...
When lottie file is static but has more than 1 frame of static data
we should return the duration() value correctly.
2019-05-20 10:21:15 +09:00
subhransu mohanty
c88f050582
vector: refactor vraster to remove naked new and delete call
2019-05-17 14:22:25 +09:00
subhransu mohanty
7986b659b1
rlottie: remove remaining warnings
2019-05-14 09:45:28 +09:00
subhransu mohanty
323b07c37f
rlottie: added support of lambda expression in setValue.
2019-05-14 08:44:49 +09:00
Hermet Park
231e82d0f8
lottie: shutdown a static analizyer tool warning.
...
initialize a member variable properly.
2019-05-13 17:09:42 +09:00
subhransu mohanty
cb26cf4225
rlottie: refactor with standard algorithms
2019-05-09 09:55:42 +09:00
Mihai Serban
a6b054a157
vector: build for ARM NEON
2019-05-08 20:35:36 +09:00
Hermet Park
6d9c9b249a
lottie: resolve c++11 compatible problem.
...
no logical changes.
2019-05-08 20:05:02 +09:00
subhransu mohanty
c2457d8532
rlottie: mask item shouldn't inherit parent opacity
2019-05-07 15:25:49 +09:00
subhransu mohanty
9e56f12850
rlottie/header: fixed issue with public header dependency of c++14
...
c++11 only supports static constexpr function with one return statement.
so our maptype() function is valid in c++14 but not on c++11.
to work around used the explicit class instantiation to map property type to value type.
2019-04-30 17:07:26 +09:00
subhransu mohanty
a4eb94adf9
rlottie/parser: refactor to optimize code size
2019-04-25 14:11:06 +09:00
subhransu mohanty
6e0436f60f
rlottie/parser: refactor keyframe parsing
2019-04-25 13:13:46 +09:00
subhransu mohanty
409d775f41
rlottie: added sync version of render function in capi
2019-04-25 10:56:42 +09:00
subhransu mohanty
792e781423
added missing header
2019-04-24 18:01:49 +09:00
subhransu mohanty
8bfe01a91c
rlottie/parser: Fixed issue with latest bodymovin update
2019-04-24 17:24:44 +09:00
subhransu mohanty
90affa8bd1
rlottie: Added dynamic property change feature
...
The keypath can handle globe(**) and wildchar(*) reg ex.
Currently only support fillcolor , fill opacity , stroke color , stroke opacity and stroke width property.
2019-04-24 13:40:03 +09:00
subhransu mohanty
055326ee6e
lottie: Added proxymodel to support dynamic property change.
2019-04-19 09:54:31 +09:00
subhransu mohanty
fb1b68146a
lottie: fixed issue with anchor property in repeater transformation
2019-04-19 09:26:56 +09:00
subhransu mohanty
7e8884fc00
rlottie: Fix issue with repeater object.
...
Below issues are fixed
1. when repeater has 0 copies.
2. when "copies" property has animation.
3. Wrong matrix computation when repeater transformation has anchor value.
Fixed abstract_circle.json resource.
2019-04-18 16:07:44 +09:00
Hermet Park
e0d60eb058
vector: + exception handling
...
prevent a case of dividing by zero.
2019-04-15 14:18:51 +09:00
Hermet Park
f31cb8c968
lottieanimation: + exceptional handling.
...
prevent just in case of dividing by zero.
2019-04-15 14:14:27 +09:00
JunsuChoi
ea8ca121b2
rlottie: Fix issue with intersect mask
...
When do an Intersect mask, it need to initialize rle like a Subtract.
2019-04-02 10:58:01 +09:00
sub.mohanty@samsung.com
5e3221de18
rlottie: added compilation switch to build imageloader as part of rlottie library.
2019-04-02 10:45:42 +09:00
sub.mohanty@samsung.com
f672dead57
rlottie: enable conditional compilation of logging support.
2019-04-01 18:47:01 +09:00
subhransu mohanty
6dbb4afec9
rlottie: refactor thread support to make it configurable at compile time.
2019-04-01 18:00:05 +09:00
Hermet Park
bb64c5e7c8
lottie: a small optimization.
...
reserve mask size as possible in advance, reduce data copies.
2019-03-27 15:40:54 +09:00
Hermet Park
5e2192c0f3
capi: code rectoring
...
keep code consistency of mask with matte.
2019-03-27 15:20:16 +09:00
subhransu mohanty
65ab139848
rlottie/vector: remove unused version of vCompare to avoid warning.
2019-03-25 16:42:33 +09:00
yuangu
797be5cdba
Win support
2019-03-25 16:27:00 +09:00
subhransu mohanty
4af06dc09c
rlottie: fix the issue with trim(start,end) update when offset is -ve.
2019-03-25 16:11:57 +09:00
subhransu mohanty
5056b34db8
rlotti/model: Fix issue with trim offset calculation.
2019-03-22 13:26:07 +09:00
subhransu mohanty
94fd87b3d9
rlottie/vector: support subsurface rendering with arbitrary offset.
2019-03-21 15:46:45 +09:00
subhransu mohanty
2b9991540c
[rlottie]: Added layers() api to return the layer info list of the composition.
2019-03-19 13:03:31 +09:00
Hermet Park
9bd4062efb
cmake: fix cmake error for install command on windows
...
For DLL platforms (all Windows-based systems including Cygwin),
the DLL import library is treated as an ARCHIVE target.
https://github.com/Samsung/rlottie/issues/14#issue-421341587
2019-03-18 16:34:33 +09:00
subhransu mohanty
56dc3247d2
rlottie: Use opacity value when rendering gradient.
2019-03-14 18:44:50 +09:00
subhransu mohanty
445cc344cb
[rlottie]: clear any existing brush data before drawing bitmap.
2019-03-13 16:04:45 +09:00