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
Hermet Park [Tue, 12 Mar 2019 04:50:23 +0000 (13:50 +0900)]
capi: update doc.
add missing parameter description.
Change-Id: I01795768914a77b62ce47218d7f2aae5834cfa63
subhransu mohanty [Wed, 6 Mar 2019 06:46:09 +0000 (15:46 +0900)]
[rlottie] Added setDrawRegion api to Surface for supporting subsurface rendering.
Change-Id: Ia0d740625858931116103303e1eb398d7f7a00fa
subhransu mohanty [Mon, 4 Mar 2019 04:19:47 +0000 (13:19 +0900)]
rlottie: now loadFromData() api takes resourcePath for loading external resource
Change-Id: Ide58a5b1282a91d099785c4b63976a75dd267775
subhransu mohanty [Mon, 4 Mar 2019 08:05:01 +0000 (17:05 +0900)]
rlottie: remove dependancy of -stdc++14 flag to link against rlottie library.
Change-Id: I7254b04daebbd1a796b3195a63fcc1de8df5da9d
JunsuChoi [Wed, 27 Feb 2019 06:47:53 +0000 (15:47 +0900)]
example : Change keyframe_set/get to progress_set/get APIs
Change-Id: Ic5e5a7bf91c73d2d43ec5a6e02c2afbaa4747434
Hermet Park [Thu, 21 Feb 2019 01:58:44 +0000 (10:58 +0900)]
vector stb: check oom for safety.
Change-Id: I35d9eff0dde7b9ba2b2d5a1a6a9b1f85a14261c3
Hermet Park [Mon, 11 Feb 2019 12:17:27 +0000 (21:17 +0900)]
updated READE file.
Change-Id: Ic668f95534504d1b221391beaff6b3b1b0494b23
JunsuChoi [Fri, 8 Feb 2019 05:51:11 +0000 (14:51 +0900)]
lottieitem: Add alpha property in LOTMask
Change-Id: I929839c5a0a1677a530b5197e45ec230ea145dd1
Hermet Park [Fri, 8 Feb 2019 02:08:08 +0000 (11:08 +0900)]
fix typo.
Package name must be lottie-player,
Also, we could have an internal name rlottie.
Change-Id: Id8670e85d1905062133b12c871bee37d10e496ec
subhransu mohanty [Fri, 25 Jan 2019 05:31:30 +0000 (14:31 +0900)]
lottie/parser: only keep the 1st interpolatr string from the array and discard rest.
Fixed issue with resource peli-canon.json
Change-Id: If0ab2a6b6227b25ae193749a9618b81a08361bbd
subhransu mohanty [Thu, 24 Jan 2019 09:02:00 +0000 (18:02 +0900)]
lottie: Add image_loader plugin for cmake build.
Change-Id: I21217f6c1b8f45d4183bf58f9c86c0de62bd7a44
subhransu mohanty [Wed, 23 Jan 2019 08:20:17 +0000 (17:20 +0900)]
lottie: Added support for rendering embedded image resource
Change-Id: I330ee46e7bccabbebe2b15b54d21582212c1f020
JunsuChoi [Thu, 24 Jan 2019 08:05:38 +0000 (17:05 +0900)]
Spec: fix pc file
Change-Id: I98532f5ddd26d9792a4ba3401b577284f5c61a82
subhransu mohanty [Thu, 24 Jan 2019 02:28:50 +0000 (11:28 +0900)]
lottie: final changes to rename from lottie-player to rlottie
Change-Id: Ie2ed4d7c3fb08abd3f8fe484021d478e90bc9d91
Hermet Park [Wed, 23 Jan 2019 11:07:45 +0000 (20:07 +0900)]
remove lottie player naming usage.
Change-Id: Id2549402e8aa6d8db328e14908f1d4f62ca05603
Hermet Park [Wed, 23 Jan 2019 11:04:40 +0000 (20:04 +0900)]
packaging: rename lottie-player to rlottie.
This is a trial-error test that could be accepted by server test.
Change-Id: Ib7ccc4f5d5282df9d119b1efb1de51ffb3cbb0b9
Hermet Park [Wed, 23 Jan 2019 08:17:58 +0000 (17:17 +0900)]
example: update new header name of efl animation_view.
Change-Id: I6f2b73fc13808027e42122bed58052f99dc67a7c
Hermet Park [Wed, 23 Jan 2019 08:15:20 +0000 (17:15 +0900)]
lottie-player: remove old capi headers.
efl now looks at rlottie headers.
Change-Id: I6b2acfa5423c5ddceafdc85b64d551d2417ad565
Hermet Park [Wed, 23 Jan 2019 05:46:34 +0000 (14:46 +0900)]
Revert "lottie: rename lottie-player to rlottie for cmake and gbs build, update namespace to rlottie."
This reverts commit
569f16a7e999ad697008900948192b13c0e27f4f.
subhransu mohanty [Tue, 22 Jan 2019 04:45:07 +0000 (13:45 +0900)]
lottie: rename lottie-player to rlottie for cmake and gbs build, update namespace to rlottie.
Change-Id: I51f85201c06be4cb42c2036a0162b9124149e781
sub.mohanty@samsung.com [Sat, 19 Jan 2019 00:22:16 +0000 (09:22 +0900)]
lottie: rename lottie-player to rlottie in meson build
Change-Id: Ie19ea2d849af95b348417e826dcc2fb7e6ded86b
sub.mohanty@samsung.com [Fri, 18 Jan 2019 10:31:54 +0000 (19:31 +0900)]
lottie: rename public headers to rlottie namesapce.
Change-Id: Ib8d3df2600eef84927c95eb6794de9f9074d6253
subhransu mohanty [Wed, 16 Jan 2019 03:20:30 +0000 (12:20 +0900)]
lottie: Fix incorrect return value of totalFrame() api.
Change-Id: I930e5b9624b87b512394951d616e73531b2d5b9d
subhransu mohanty [Tue, 15 Jan 2019 08:12:40 +0000 (17:12 +0900)]
lottie/example: Added image_test.json(resource with image resource )
Change-Id: If79f5892347be0dcc850380f1520dfd0f2c70724
subhransu mohanty [Tue, 15 Jan 2019 07:06:52 +0000 (16:06 +0900)]
lottie/render: Support rendering lottie image object.
Change-Id: I1b15263cd27248ccef57eff1d771b627cf0f59d8
subhransu mohanty [Tue, 15 Jan 2019 06:54:12 +0000 (15:54 +0900)]
lottie/vector: Added transform image rendering support in the render backend.
Change-Id: I84ae9229446b1f46a91b28544641c62dee96a23f
subhransu mohanty [Tue, 15 Jan 2019 06:52:04 +0000 (15:52 +0900)]
lottie/vector: Added texture and transformation support in brush.
Change-Id: I4e433a8f09342051a9ec062f45184709e578fd98
subhransu mohanty [Mon, 14 Jan 2019 01:31:03 +0000 (10:31 +0900)]
lottie/vector: added image loading support in vector.
Change-Id: I37fd0c436ec396b186f78dfe1f0c0304204a942b
subhransu mohanty [Tue, 15 Jan 2019 04:33:17 +0000 (13:33 +0900)]
lottie/example : added segmented animation support in lottieview
Change-Id: I7af3109576217e3b92a6a6d9fd9492b5fb4c6bcb
subhransu mohanty [Tue, 15 Jan 2019 00:52:31 +0000 (09:52 +0900)]
lottie/parser: added support for image asset parsing.
Change-Id: Ib7a4ec1b7d6d7f5c9357e451c3908d88c671bc37
subhransu mohanty [Mon, 14 Jan 2019 01:50:04 +0000 (10:50 +0900)]
lottie/stb: fixed warning regarding unused function.
Change-Id: I4558829cc73135bcf5d454e97e13db5925df1655
subhransu mohanty [Mon, 14 Jan 2019 01:17:55 +0000 (10:17 +0900)]
lottie/vector: create a wraper library of stb_image loader
Change-Id: If3ebb5d399d81c4435419c6f728f2f73b0cb7faa
Hermet Park [Fri, 11 Jan 2019 05:13:15 +0000 (14:13 +0900)]
copying: fix wrong path.
Change-Id: I47ad76591dd8b5cba24361f110028a476723feb0
subhransu mohanty [Fri, 11 Jan 2019 06:01:52 +0000 (15:01 +0900)]
lottie/parser: fix a crash when the color string is empty.
Change-Id: Ic9b17764b322e5d6528759dad8e29e1accea9c2a
subhransu mohanty [Fri, 11 Jan 2019 01:16:07 +0000 (10:16 +0900)]
lottie/render: Refactor matte rendering to support luma matte.
Change-Id: I25d0855815fb3b4a3c5786c2b85692eac8220eb6
subhransu mohanty [Thu, 10 Jan 2019 07:31:39 +0000 (16:31 +0900)]
lottie/vector: added updateLuma() api to convert RGBA value to HSL
Change-Id: Icacfe4ffdf957d10e7bd654878895b856e045136
subhransu mohanty [Wed, 9 Jan 2019 08:01:46 +0000 (17:01 +0900)]
lottie/vector: image fill support in drawhelper
Change-Id: I678b1af37c4939d0006b33ddcb2b40f59d426169
subhransu mohanty [Fri, 4 Jan 2019 06:23:56 +0000 (15:23 +0900)]
lottie/render: added drawBitmap api to painter class.
Change-Id: I07fc5f90c9988e02182f69672eeef9608aa51a2a
subhransu mohanty [Wed, 9 Jan 2019 07:52:47 +0000 (16:52 +0900)]
lottie/vector: added destIn and destOut comp function.
Change-Id: I50a0cf16f5a8438006c8e82074f72da46c87a108
subhransu mohanty [Wed, 9 Jan 2019 04:29:44 +0000 (13:29 +0900)]
lottie/vector: add depth() and const data() api to VBitmap class.
Change-Id: I22f16b7c9e9b38c3c115d6b16f093bfbf492afb1
subhransu mohanty [Mon, 7 Jan 2019 05:07:02 +0000 (14:07 +0900)]
lottie/vector: don't use startFrame() of a layer when it has time remap.
Change-Id: I62230a2f5d9447bf7fa7ff3c9ebeed7aaa90dfa3
subhransu mohanty [Fri, 4 Jan 2019 06:21:30 +0000 (15:21 +0900)]
lottie/vector: added intersected() and size() api to vrect class.
Change-Id: Ibb4c764e8a12bc3b95cbd601b42c73b777793afd
subhransu mohanty [Mon, 7 Jan 2019 01:20:05 +0000 (10:20 +0900)]
lottie/example : build example only when the dependancy is resolved.
Change-Id: Ifbdd6aa4fd1f9626af2211c1873cecb3ec6065c3
subhransu mohanty [Thu, 3 Jan 2019 05:27:29 +0000 (14:27 +0900)]
lottie: reuse rendertask object to optimize memory allocation.
Change-Id: I028f1ea5abec38511bf8413d00d94e425a1ae8db
subhransu mohanty [Fri, 4 Jan 2019 04:22:33 +0000 (13:22 +0900)]
lottie/vector: refactor VBitmap class to use shared_ptr for refcount implementation.
Change-Id: I2a5bca2cd6a86a1f3ac69eb7799ee46b784f61cf
subhransu mohanty [Thu, 3 Jan 2019 07:57:50 +0000 (16:57 +0900)]
lottie/capi: updated cliper info in layernode.
Change-Id: I338dc65c6ccf2a1952f2c457ba9168faa242e08c
subhransu mohanty [Thu, 3 Jan 2019 07:41:15 +0000 (16:41 +0900)]
lottie/render: Added Clipper for nested composition layer.
Change-Id: Ic9a9b390863dc05a0391a3f17acc80ab912d172a
subhransu mohanty [Thu, 3 Jan 2019 06:17:55 +0000 (15:17 +0900)]
lottie/parser: parse precomp layer's with and height attribute.
Change-Id: Ib975f753424acae422889b2ade611d664fe07392
Hermet Park [Wed, 2 Jan 2019 09:10:36 +0000 (18:10 +0900)]
packaging: packaging licensing properly.
As fedora guidelines, %license is the reserved keyword
to install copyright files.
We don't need to copy them manually.
Change-Id: I21d353f0fdecb86e1a662f8e336db8d84753da87
Hermet Park [Fri, 28 Dec 2018 09:13:12 +0000 (18:13 +0900)]
updated licenses info.
Change-Id: Ib157ad848a98c34e6e7d67c4672b36447966addc
Hermet Park [Thu, 27 Dec 2018 07:23:44 +0000 (16:23 +0900)]
updated licenses info
Change-Id: Idcee492bb9f823ab2a3c7c28a150bd406ce8aa4f
Hermet Park [Thu, 27 Dec 2018 06:03:07 +0000 (15:03 +0900)]
example: remove a resouce that may have a license.
Change-Id: If7e5a70eb3547a686fccefa6c5b6725725aa862d
Hermet Park [Thu, 27 Dec 2018 05:40:16 +0000 (14:40 +0900)]
add missing copyright.
Change-Id: I244bb60e6315153a2bb15f67b648b9f62f5f6904
subhransu mohanty [Thu, 27 Dec 2018 03:48:00 +0000 (12:48 +0900)]
lottie/vector: move pixman code to separate pixman folder.
Change-Id: Ic2d59825403814849f46cad8496a7b409b6d3fda
Hermet Park [Wed, 26 Dec 2018 12:01:40 +0000 (21:01 +0900)]
fix to packaging license files properly.
Change-Id: I3107051f975c867e757cf6f0b60f2d415b712a03
Hermet Park [Wed, 26 Dec 2018 11:11:49 +0000 (20:11 +0900)]
Initialize member variables to resolve unnannoying report from static analizer tool(SVACE)
Change-Id: I32dc2372f83ef1b8185bd5a2f14862eae7616206
Hermet Park [Wed, 26 Dec 2018 11:08:11 +0000 (20:08 +0900)]
remove sneaked inserting unicodes, zero-width no-break space.
Change-Id: Ida61de8e5f014d53bc0e08556ce778f5c055e925
subhransu mohanty [Wed, 26 Dec 2018 09:54:11 +0000 (18:54 +0900)]
lottie/parser: fixed SVACE warning regarding uninitialized member variable.
Change-Id: I0a295b50349a34f08443386cbf540b507f0f67bf
Hermet Park [Wed, 26 Dec 2018 10:22:29 +0000 (19:22 +0900)]
fix typo.
Change-Id: I6333c27d41d6f9e5eb64ce88c9a93678259a1706