483 Commits

Author SHA1 Message Date
subhransu mohanty
89a72b6e9c example:refactor to remove naked malloc and RAII warning 2019-05-20 13:11:53 +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
86fb579e0b rlottie: updated compiler flags to treat warning as error 2019-05-14 10:02:22 +09:00
subhransu mohanty
7986b659b1 rlottie: remove remaining warnings 2019-05-14 09:45:28 +09:00
subhransu mohanty
780a2603ae lottie/example: remove all warnings in example 2019-05-14 09:41:31 +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
906d6b68f3 updated travis for clang build 2019-05-09 17:07:51 +09:00
subhransu mohanty
f2e4b016a6 rlottie: updated demo section of the README 2019-05-09 16:06:59 +09:00
subhransu mohanty
1b4072dd0c added missing cmake file 2019-05-09 16:01:03 +09:00
subhransu mohanty
7d04fa9355 added lottie2gif converter for both cmake and meson build 2019-05-09 14:37:43 +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
6db72aa269 rlottie/example: added rlottie example app to convert json to GIF 2019-04-29 14:43:17 +09:00
kimcinoo
aeba289564 Update style of README 2019-04-26 16:55:37 +09:00
subhransu mohanty
99066768fb updated quick start guide in readme file 2019-04-26 16:40:16 +09:00
subhransu mohanty
bd16d106ad update README with showcase gif and online viewer section 2019-04-26 15:06:12 +09:00
subhransu mohanty
ccf62bd79f Organized Readme Page of lottie 2019-04-26 14:40:20 +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
Hermet Park
2433238033 update README 2019-04-19 13:46:18 +09:00
Hermet Park
6b9fcdf67c updated README 2019-04-19 13:37:40 +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
subhransu mohanty
6efe7e23f5 example: refactor lottieview to test both c and cpp api 2019-04-17 19:27:23 +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
97cf5023d8 rlottie: added travis ci support. 2019-03-27 11:19:16 +09:00
subhransu mohanty
74762d697d rlottie: added travis build badge to the rlottie main page. 2019-03-27 11:12:02 +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