subhransu mohanty [Fri, 31 May 2019 01:26:27 +0000 (10:26 +0900)]
vector: refactor gradient cache
subhransu mohanty [Fri, 31 May 2019 00:40:08 +0000 (09:40 +0900)]
vector: keep a shared reference to cached color table
subhransu mohanty [Thu, 30 May 2019 23:48:02 +0000 (08:48 +0900)]
rlottie/example: Fixed asan warning of unintialized pointer access
Hermet Park [Thu, 30 May 2019 11:33:32 +0000 (20:33 +0900)]
updated AUTHORS
subhransu mohanty [Thu, 30 May 2019 05:10:55 +0000 (14:10 +0900)]
rlottie: Use optimization level -Os to further reduce library size
subhransu mohanty [Thu, 30 May 2019 04:40:57 +0000 (13:40 +0900)]
rlottie: Optimize library size by disabling exception table generation (.eh_frame section)
subhransu mohanty [Thu, 30 May 2019 01:07:32 +0000 (10:07 +0900)]
rlottie: Optimize library size when logging is disabled
subhransu mohanty [Thu, 30 May 2019 00:22:24 +0000 (09:22 +0900)]
rlottie: disable RTTI use to optimize library size
subhransu mohanty [Thu, 30 May 2019 00:17:13 +0000 (09:17 +0900)]
refactor to remove all dynamic_cast usage
subhransu mohanty [Wed, 29 May 2019 23:23:46 +0000 (08:23 +0900)]
rlottie: Added no-exception flag to build
Hermet Park [Wed, 29 May 2019 08:40:59 +0000 (17:40 +0900)]
lottie2gif: support set background color as an extra argument.
If lottie contents were designed in white color, gif result is invisible.
we can generate gif with a specified bg color.
lottie2gif [lottieFileName]
lottie2gif [lottieFileName] [bgColor]
example:
lottie2gif sample.json //white bg color in default.
lottie2gif sample.json ff0000 //red bg color
subhransu mohanty [Wed, 29 May 2019 07:53:35 +0000 (16:53 +0900)]
added more json resource to example
subhransu mohanty [Wed, 29 May 2019 07:50:15 +0000 (16:50 +0900)]
vector/raster: check for 0 size stroke width
subhransu mohanty [Wed, 29 May 2019 07:06:19 +0000 (16:06 +0900)]
rlottie/parser: refactor image asset parsing.
- generate bitmap while parsing the image asset and store it there.
- remove storing the imagedata in the asset.
- share the bitmap across multiple layers who wants to use the image.
Hermet Park [Wed, 29 May 2019 01:53:56 +0000 (10:53 +0900)]
README: correct a usage of words in a sentence.
subhransu mohanty [Wed, 29 May 2019 01:26:52 +0000 (10:26 +0900)]
rlottie: updated showcase gif file
subhransu mohanty [Wed, 29 May 2019 01:19:59 +0000 (10:19 +0900)]
rlottie/pareser: remove unused property
JunsuChoi [Fri, 24 May 2019 10:12:16 +0000 (19:12 +0900)]
example : Fix resource path in efl_animation
JunsuChoi [Mon, 27 May 2019 06:32:24 +0000 (15:32 +0900)]
lottieitem: Add image property in LOTNode
The image properties are image data, size, and matrix information.
If the lottie item is an image item, the image property is stored in the Nodelist.
subhransu mohanty [Wed, 29 May 2019 00:21:43 +0000 (09:21 +0900)]
rlottie/parser: Don't create transform object for root layer
subhransu mohanty [Tue, 28 May 2019 09:55:59 +0000 (18:55 +0900)]
rlottie/parser: Refactor static property handling of layer object.
Hermet Park [Tue, 28 May 2019 02:46:56 +0000 (11:46 +0900)]
example: update image object pixels properly.
image object requests the updated pixels in its own designed interface.
Hermet Park [Tue, 28 May 2019 02:22:35 +0000 (11:22 +0900)]
example: fix lottieviwer to properly resizable.
Don't touch object's in evas render stage.
This has also tiny edc code refactoring.
Subhransu [Mon, 27 May 2019 04:36:02 +0000 (13:36 +0900)]
Update README.md
Updated cmake build instruction
subhransu mohanty [Mon, 27 May 2019 04:27:03 +0000 (13:27 +0900)]
rlottie/test: Fix test cases
subhransu mohanty [Mon, 27 May 2019 01:32:27 +0000 (10:32 +0900)]
Fixed regression in VPath::Clone() api and updated test cases
subhransu mohanty [Mon, 27 May 2019 01:05:42 +0000 (10:05 +0900)]
cmake: if LIB_INSTALL_DIR is not set default it to /usr/lib
subhransu mohanty [Fri, 24 May 2019 07:15:18 +0000 (16:15 +0900)]
rlottie: make sure rle object shared between 2 threads always keeps refcount 1 to avoid copy
subhransu mohanty [Fri, 24 May 2019 07:00:15 +0000 (16:00 +0900)]
rlottie/vector: Added unique(), refcount and clone api to VRle class
subhransu mohanty [Thu, 23 May 2019 05:54:47 +0000 (14:54 +0900)]
lottie/model: refactor LOTAnimatable to optimize size.
Hermet Park [Fri, 24 May 2019 03:11:31 +0000 (12:11 +0900)]
license: keep standard lgpl2 license text
subhransu mohanty [Thu, 23 May 2019 08:10:55 +0000 (17:10 +0900)]
rlottie/model: refactor repeater object model to optimize size.
subhransu mohanty [Thu, 23 May 2019 00:54:16 +0000 (09:54 +0900)]
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.
Hermet Park [Wed, 22 May 2019 04:09:47 +0000 (13:09 +0900)]
example: fix screwed code by upstream merge.
Change-Id: If96a02fcd2dc5aa77f5c4e8d0c9e705fa88cd5e3
subhransu mohanty [Wed, 22 May 2019 03:36:04 +0000 (12:36 +0900)]
rlottie/parser: Fix float data parsing when data in array form.
Take only the 1st element and discard the rest.
Change-Id: If02f520cf72c26f70c152746b80e33a84b11c346
subhransu mohanty [Wed, 22 May 2019 00:55:59 +0000 (09:55 +0900)]
rlottie/model: Fix repeater processing when its part of an asset layer.
subhransu mohanty [Mon, 20 May 2019 07:20:15 +0000 (16:20 +0900)]
rlottie/meson: Add neon code only if building for arm system
Change-Id: Iaffeaba964be6721b7d52602db30d973756c99cd
subhransu mohanty [Mon, 20 May 2019 06:50:59 +0000 (15:50 +0900)]
vector: fixed build error with gcc7 using fallthrough
subhransu mohanty [Mon, 20 May 2019 05:53:02 +0000 (14:53 +0900)]
Revert "vector: fix a compile error of strict fallthrough case check."
This reverts commit
e1cf42ba8c1628f6c06cbb6acb78b0ac81521c8f.
The fall through code is as per design.
subhransu mohanty [Mon, 20 May 2019 05:28:20 +0000 (14:28 +0900)]
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.
Hermet Park [Mon, 20 May 2019 04:24:34 +0000 (13:24 +0900)]
vector: fix a compile error of strict fallthrough case check.
subhransu mohanty [Mon, 20 May 2019 04:10:43 +0000 (13:10 +0900)]
example:refactor to remove naked malloc and RAII warning
Change-Id: Idab2ed2cd98fa4fbf127f5c49097c00b8d2111cf
subhransu mohanty [Mon, 20 May 2019 04:18:12 +0000 (13:18 +0900)]
buildfix: make it build with c++11
subhransu mohanty [Mon, 20 May 2019 04:10:43 +0000 (13:10 +0900)]
example:refactor to remove naked malloc and RAII warning
sub.mohanty@samsung.com [Sun, 19 May 2019 04:29:24 +0000 (13:29 +0900)]
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.
subhransu mohanty [Mon, 20 May 2019 01:02:45 +0000 (10:02 +0900)]
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.
subhransu mohanty [Fri, 17 May 2019 05:09:46 +0000 (14:09 +0900)]
vector: refactor vraster to remove naked new and delete call
subhransu mohanty [Tue, 14 May 2019 01:00:00 +0000 (10:00 +0900)]
rlottie: updated compiler flags to treat warning as error
subhransu mohanty [Tue, 14 May 2019 00:43:11 +0000 (09:43 +0900)]
rlottie: remove remaining warnings
subhransu mohanty [Tue, 14 May 2019 00:37:33 +0000 (09:37 +0900)]
lottie/example: remove all warnings in example
subhransu mohanty [Mon, 13 May 2019 00:30:56 +0000 (09:30 +0900)]
rlottie: added support of lambda expression in setValue.
Hermet Park [Tue, 14 May 2019 08:19:10 +0000 (17:19 +0900)]
Revert "vector: build for ARM NEON"
This reverts commit
f47cb7388a4c14f18b9d47d142b54b614db6777b.
This occurs build break in tizen. Plan to commit after fixing it.
Change-Id: I1a1055622c0378088b8e10955e003ed50f9c1aa3
Hermet Park [Mon, 13 May 2019 08:07:21 +0000 (17:07 +0900)]
lottie: shutdown a static analizyer tool warning.
initialize a member variable properly.
subhransu mohanty [Thu, 9 May 2019 07:59:13 +0000 (16:59 +0900)]
updated travis for clang build
subhransu mohanty [Thu, 9 May 2019 06:05:50 +0000 (15:05 +0900)]
rlottie: updated demo section of the README
subhransu mohanty [Thu, 9 May 2019 06:28:54 +0000 (15:28 +0900)]
added missing cmake file
subhransu mohanty [Thu, 9 May 2019 05:36:36 +0000 (14:36 +0900)]
added lottie2gif converter for both cmake and meson build
subhransu mohanty [Thu, 9 May 2019 00:52:33 +0000 (09:52 +0900)]
rlottie: refactor with standard algorithms
Mihai Serban [Tue, 7 May 2019 07:12:15 +0000 (10:12 +0300)]
vector: build for ARM NEON
Hermet Park [Wed, 8 May 2019 11:04:36 +0000 (20:04 +0900)]
lottie: resolve c++11 compatible problem.
no logical changes.
Change-Id: I5ebeb046824801bead33d8dad75f469eef53ecc2
subhransu mohanty [Tue, 7 May 2019 06:20:31 +0000 (15:20 +0900)]
rlottie: mask item shouldn't inherit parent opacity
Change-Id: I1b1ca0d951f394b509cfa0cc746412a2f081c234
subhransu mohanty [Tue, 30 Apr 2019 07:52:46 +0000 (16:52 +0900)]
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.
Change-Id: Ife6b6d6a1de81b43f231d577e35c88f8d3b2407c
subhransu mohanty [Mon, 29 Apr 2019 05:39:46 +0000 (14:39 +0900)]
rlottie/example: added rlottie example app to convert json to GIF
Change-Id: I009113adc97b8da2e35d6fef11b234230bf7839f
kimcinoo [Fri, 26 Apr 2019 07:54:00 +0000 (16:54 +0900)]
Update style of README
Change-Id: I88a20da4b7f5ac41e29aa7d571e978866fb92817
subhransu mohanty [Fri, 26 Apr 2019 07:39:36 +0000 (16:39 +0900)]
updated quick start guide in readme file
Change-Id: I512ce7ccd59580b1f671a99741fd31efa96bee26
subhransu mohanty [Fri, 26 Apr 2019 06:02:47 +0000 (15:02 +0900)]
update README with showcase gif and online viewer section
Change-Id: I80c07ca5a4c24f8835ac62e05834757ffa08f864
subhransu mohanty [Fri, 26 Apr 2019 05:38:12 +0000 (14:38 +0900)]
Organized Readme Page of lottie
Change-Id: I2e5922b9c96d5f33d7b3bd9779197e7dc8bed154
subhransu mohanty [Thu, 25 Apr 2019 04:54:43 +0000 (13:54 +0900)]
rlottie/parser: refactor to optimize code size
Change-Id: I9a4e4568c63083d0a9656b1142b14b9fa53ba05c
subhransu mohanty [Thu, 25 Apr 2019 04:10:34 +0000 (13:10 +0900)]
rlottie/parser: refactor keyframe parsing
Change-Id: I062a6c0f7c6627f2a55b8eaaa16d50e66c33ea4c
subhransu mohanty [Thu, 25 Apr 2019 01:16:02 +0000 (10:16 +0900)]
rlottie: added sync version of render function in capi
subhransu mohanty [Wed, 24 Apr 2019 09:00:40 +0000 (18:00 +0900)]
added missing header
subhransu mohanty [Wed, 24 Apr 2019 07:56:51 +0000 (16:56 +0900)]
rlottie/parser: Fixed issue with latest bodymovin update
subhransu mohanty [Tue, 23 Apr 2019 05:59:50 +0000 (14:59 +0900)]
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.
Hermet Park [Fri, 19 Apr 2019 04:46:18 +0000 (13:46 +0900)]
update README
Hermet Park [Fri, 19 Apr 2019 04:36:59 +0000 (13:36 +0900)]
updated README
subhransu mohanty [Tue, 16 Apr 2019 06:04:53 +0000 (15:04 +0900)]
lottie: Added proxymodel to support dynamic property change.
Change-Id: Ifcde0e3d65656d4f55028151e5f302f75997fc86
subhransu mohanty [Fri, 19 Apr 2019 00:25:47 +0000 (09:25 +0900)]
lottie: fixed issue with anchor property in repeater transformation
Change-Id: I6fb4a56d0b3b125c0d9b9bd2c217ffc974f25c51
subhransu mohanty [Thu, 18 Apr 2019 07:03:21 +0000 (16:03 +0900)]
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.
Change-Id: Iaef475b1bc98bf7b4b68076fb9078d11bac362a3
subhransu mohanty [Wed, 17 Apr 2019 07:47:11 +0000 (16:47 +0900)]
example: refactor lottieview to test both c and cpp api
Change-Id: Ie1c9e2f5a25b620cec0d14ed593095d8696a727c
Hermet Park [Mon, 15 Apr 2019 05:18:51 +0000 (14:18 +0900)]
vector: + exception handling
prevent a case of dividing by zero.
Change-Id: I6e99d6b97bda1f395042e2704953e65bb14758aa
Hermet Park [Mon, 15 Apr 2019 05:14:27 +0000 (14:14 +0900)]
lottieanimation: + exceptional handling.
prevent just in case of dividing by zero.
Change-Id: Ib8b803b4048cf492e1908636a7cc073d63c1f586
sub.mohanty@samsung.com [Mon, 1 Apr 2019 14:08:35 +0000 (23:08 +0900)]
rlottie: added compilation switch to build imageloader as part of rlottie library.
sub.mohanty@samsung.com [Fri, 29 Mar 2019 11:19:40 +0000 (20:19 +0900)]
rlottie: enable conditional compilation of logging support.
subhransu mohanty [Fri, 29 Mar 2019 06:44:21 +0000 (15:44 +0900)]
rlottie: refactor thread support to make it configurable at compile time.
Hermet Park [Wed, 27 Mar 2019 06:35:37 +0000 (15:35 +0900)]
lottie: a small optimization.
reserve mask size as possible in advance, reduce data copies.
Hermet Park [Wed, 27 Mar 2019 06:17:01 +0000 (15:17 +0900)]
capi: code rectoring
keep code consistency of mask with matte.
JunsuChoi [Tue, 2 Apr 2019 01:31:45 +0000 (10:31 +0900)]
rlottie: Fix issue with intersect mask
When do an Intersect mask, it need to initialize rle like a Subtract.
Change-Id: I931835b8845ffa23d2032cbd70026ddee5cb7882
subhransu mohanty [Wed, 27 Mar 2019 01:21:53 +0000 (10:21 +0900)]
rlottie: added travis ci support.
subhransu mohanty [Wed, 27 Mar 2019 02:08:29 +0000 (11:08 +0900)]
rlottie: added travis build badge to the rlottie main page.
subhransu mohanty [Mon, 25 Mar 2019 07:40:29 +0000 (16:40 +0900)]
rlottie/vector: remove unused version of vCompare to avoid warning.
yuangu [Fri, 22 Mar 2019 10:53:50 +0000 (18:53 +0800)]
Win support
subhransu mohanty [Mon, 25 Mar 2019 07:09:36 +0000 (16:09 +0900)]
rlottie: fix the issue with trim(start,end) update when offset is -ve.
subhransu mohanty [Fri, 22 Mar 2019 04:23:17 +0000 (13:23 +0900)]
rlotti/model: Fix issue with trim offset calculation.
Change-Id: I30298c3354d8afaf6a6d540d9a12e90e51dc0853
subhransu mohanty [Thu, 21 Mar 2019 06:35:58 +0000 (15:35 +0900)]
rlottie/vector: support subsurface rendering with arbitrary offset.
Change-Id: I16c26dc3e7bf8ca57438fd0d3e785c8951f142c5
subhransu mohanty [Thu, 21 Mar 2019 06:32:15 +0000 (15:32 +0900)]
rlottie: fix typo.
Change-Id: I137c66df39efcdf1d1cfcd457a38b09417ac053b
subhransu mohanty [Fri, 15 Mar 2019 08:01:12 +0000 (17:01 +0900)]
[rlottie]: Added layers() api to return the layer info list of the composition.
Change-Id: I0158d2296dc2486f8d371bd469ff53cec4188d07
Hermet Park [Mon, 18 Mar 2019 07:34:33 +0000 (16:34 +0900)]
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
Change-Id: I463e024cd2569859502d4138200d29e72a8d2756
subhransu mohanty [Thu, 14 Mar 2019 08:34:03 +0000 (17:34 +0900)]
rlottie: Use opacity value when rendering gradient.
Change-Id: I73d663bf9236ac7899eb6d781cf7cfbb9f9f9728
subhransu mohanty [Wed, 13 Mar 2019 10:13:15 +0000 (19:13 +0900)]
rlottie/example: sort the resource list before displaying.
Change-Id: Ida87b1a7f4f353b236b0009f8538a436cfee5014
subhransu mohanty [Wed, 13 Mar 2019 06:57:03 +0000 (15:57 +0900)]
[rlottie]: clear any existing brush data before drawing bitmap.
Change-Id: I13328147ffd29d09dd8bfc8a9b374bbf20fea4a4