subhransu mohanty
1297e1162f
lottie: take startFrame of composition layer into account while updating
...
children layers.
Change-Id: I693d18d8ba5757030f8166c263641ad900b8d835
2018-10-31 17:18:55 +09:00
subhransu mohanty
1f09869723
lottie: Added TimeStreatch feature to lottie.
...
Details: still some resources are not working ex:hiking.json need to
find out what other properties also affected by time streatch property.
Change-Id: I5846c74549e86f13606de5dd824fef00e2d5857a
2018-10-31 16:57:55 +09:00
subhransu mohanty
4da0782f60
lottie/feature: Added timeRemap feature implementation.
...
Change-Id: I89df91f3cc709fa8fa392586218676770c0aac84
2018-10-23 09:49:26 +09:00
subhransu mohanty
416adb599e
lottie: make functions inline.
...
Change-Id: I0e9a085071965c95fb4867e313260f8c0b051e24
2018-10-23 09:49:19 +09:00
subhransu mohanty
871251479d
lottie: Add duration() and frameAtPos() api to CompositionData model.
...
Change-Id: I7ff968b8262270dcd7b47a16f1a9549f7ffdb7d5
2018-10-23 09:48:50 +09:00
Hermet Park
a7ec780181
lottieitem : fix wrong matrix computation order.
...
It occured scaled position, now it's fixed.
Change-Id: Id179c32139fb0722a6f4faaaea7044944c2e4c92
2018-10-17 19:45:02 +09:00
subhransu mohanty
c0f50fb89a
lottie: make destructor virtual for proper cleanup of derived object
...
Change-Id: I0c91778834b46365598381e57363e36c2c91de63
2018-10-16 10:19:26 +09:00
Bryce Harrington
1db8d75849
README: Document how to build using cmake
...
Reviewd-By: Hermet Park <hermetpark@gmail.com>
Change-Id: I25056d78d5b540fe0568825a617979b6439f508b
2018-09-27 13:51:08 +09:00
Bryce Harrington
0e0b4671b1
README: Add docs for running testsuite
...
Change-Id: Ifcbdaf1a2aecd1b61e43faf9bac603d6d1151400
2018-09-27 13:49:39 +09:00
Bryce Harrington
571aae0e7c
README: Fix a few typos
...
Change-Id: I6549291543f0c3f5626b0fb3011f712d1d9df34f
2018-09-27 13:48:43 +09:00
Bryce Harrington
3df7886b6d
Fixes a spelling and some minor formatting.
...
Change-Id: Ie6a0f4706eae8cf87335aaeabec2b66050109ef0
2018-09-27 13:46:31 +09:00
subhransu mohanty
e341c2cf57
lottie: make animation class constructor private.
...
we can't use make_unique to create the animation object anymore because the constructor is private.
so used unique_ptr constructor instead.
Change-Id: I23b68c68d1b960085800365662ebb1cc676731cc
2018-09-19 11:29:26 +09:00
subhransu mohanty
cf2d643534
lottie/camke: use ${LIB_INSTALL_DIR} instead of hard coded lib/ path.
...
Change-Id: I10152adb394df81b241afb3ca7ae34169917eb94
2018-09-18 12:12:01 +09:00
sub.mohanty@samsung.com
c5e85c94b4
lottie/build: add sanitizer build to lottie-player library.
...
Change-Id: I51d7d4b21bae19f4b6174ccb8f48ceefcc01f434
2018-09-15 23:03:04 +09:00
subhransu mohanty
b5d4b0d5e9
lottie: add more test resources.
...
Change-Id: I778b7fe0d062043d97cc87d0ec581f2d35451f2b
2018-09-14 13:53:47 +09:00
subhransu mohanty
829533e47c
lottie/parser: fixed a crash when lottie resource has empty path data.
...
Change-Id: I83d04fa6a1034f71e8cf9b6468b192b56a4c8185
2018-09-14 13:41:56 +09:00
subhransu mohanty
7ff9061eae
lottie/resource: added few more resource from internet.
...
Change-Id: I7a22d6b9beb4741fb047f9c7556cea3a38bc21d9
2018-09-13 09:31:27 +00:00
subhransu mohanty
cf21f89ef0
lottie/parser: Fix crash issue when interpolation string is not present in lottie file.
...
For some version of bodymovin file interpolation string is not part of the keyframe
in those case create one and add it to the cache.
Change-Id: I5853bd7a6f46140d16191c2b79622cfa1f6fb074
2018-09-13 18:31:08 +09:00
subhransu mohanty
d0dac93229
lottie: add more info to tree dump.
...
Change-Id: I8565484b16dfb703586af2ba3b893c0c90298107
2018-09-13 10:35:53 +09:00
Youngbok Shin
02cb018c75
lottie/parser: fix code indentations and a duplicated code
...
Change-Id: I01280529f6ada36ded67a31d24833049762f52ca
2018-09-12 16:48:39 +09:00
subhransu mohanty
3756e7cb93
lottie/parser: update the lottie tree dump method.
...
Change-Id: Ie126e11a20493517df69fdd2a03a091bc802a733
2018-09-12 15:59:39 +09:00
subhransu mohanty
4dff9ab5a5
lottie/vector : add a example to test the vector module.
...
Change-Id: I511b2b520b51ec8b9bf278b67a5ca94784af4c76
2018-09-12 04:17:10 +00:00
subhransu mohanty
8fa45756ab
lottie/parser: construct interpolator from correct argument.
...
This is the most annoying bug because of passing argument in wrong order to
the interpolaor constructor.
Change-Id: Idfc307186bc1dd7d6d3849d29985c3e6f493d9d0
2018-09-12 11:34:36 +09:00
subhransu mohanty
6377407e38
lottie: update the loadfromData() api signature.
...
Change-Id: I801f39d06ce67d30be37dc14733ad99ae3a54da2
2018-09-12 10:09:44 +09:00
subhransu mohanty
ad517377ce
lottie: take a copy of the data before parsing.
...
Change-Id: Ic25eea21093d8b533462ffd4c46e86d87f7c6f35
2018-09-11 16:04:40 +09:00
subhransu mohanty
f4f2382964
lottie/optimization: efficient member packing in the VDrawable object.
...
Change-Id: I545f9a33d1cae329bc9ee140c213e07697b8cccf
2018-09-11 13:18:04 +09:00
Hermet Park
10e6788bb2
capi: export one missing api.
...
Change-Id: Iba8d035febdcbbee852aa9d946ae3202ae5433ad
2018-09-10 20:57:28 +09:00
subhransu mohanty
b8df19759f
lottie/test: added new unit test cases for library.
...
Change-Id: I1c9d61d98a1028601a36c4e6118b7109d88b2ace
2018-09-10 15:17:42 +09:00
sub.mohanty@samsung.com
fa645a5227
lottie/vector: fine tune path api.
...
Change-Id: Ic40da16809e5e0b32f5d23cc8b06636d37072037
2018-09-10 04:13:21 +00:00
sub.mohanty@samsung.com
446a18a1e5
lottie/test: refactor unit test suite for lottie library
...
Change-Id: I25097f0c3c637e020c51f9f679082809d0cbdaad
2018-09-09 12:05:49 +09:00
sub.mohanty@samsung.com
9a50268e2c
lottie: rename all isEmpty() api to empty() for consistancy.
...
Change-Id: Id3dddbd920ff00c7beafe0abd17f6da73442195b
2018-09-09 11:57:30 +09:00
sub.mohanty@samsung.com
f14e50305a
lottie/vector: refactor rect class.
...
Change-Id: I553160f74ad06b002cf2d17d1bf55615e71f9853
2018-09-09 11:52:21 +09:00
Hermet Park
1a776b4f61
binding: fix compile error.
...
Change-Id: I3c5b0390f39ca885529475330a73f9af7dee29d0
2018-09-07 20:33:33 +09:00
Hermet Park
5a64553894
binding: fix invalid access of LOTNode data.
...
double-pointer is not an array of pointer.
there could be proper code for fixing this.
Change-Id: Ia79463fa358d485b98cf2fc3cf52d080dd67a574
2018-09-07 20:30:05 +09:00
Hermet Park
2d622094f9
common: changed name prefix.
...
Change-Id: I88c297713e3a899edf2eed667aafae357ea376f4
2018-09-07 19:42:30 +09:00
Hermet Park
97dc0bf2d5
capi: changed file name.
...
Change-Id: Ic1c6b550751041f856814d24b668ab9f97606170
2018-09-07 19:40:02 +09:00
subhransu mohanty
61111eb95e
lottie: added intial documentation in the animation interface.
...
Change-Id: I92d802aa44492cdc83d15c8775dd8830f2cffe9d
2018-09-07 18:21:00 +09:00
Hermet Park
eb9e2cd378
fix build break by 0f5edac6d1595e0fecd8d48bb7d2e5353fe9121f
...
and packaging it properly.
Change-Id: Ib1216034d63beb809fdd652542980e61494e1e91
2018-09-07 15:08:11 +09:00
subhransu mohanty
0f5edac6d1
lottie: refactor lottie interface
...
1. rename namespace player--> animation both cpp and c interface
2. added factory function to create animation object.
3. added render api to c interface.
Change-Id: I31c99a66678b20a0c743c564d399172f4182b0d1
2018-09-07 14:23:34 +09:00
Hermet Park
860ffe847b
add AUTHORS
...
Change-Id: I966f655a2744162d85562594a64a1547d297f278
2018-09-07 01:26:11 +00:00
subhransu mohanty
3611e1cc51
lottie: refactor model class to remove visitor
...
now visitor class will use the lotnode->type to visit the tree
and all the model class don't have to pay the virtual pointer overhead.
Change-Id: Ie98d5e369c9f30c94222898849a6da5d0b82938c
2018-09-06 11:35:10 +00:00
subhransu mohanty
acfadf70a4
lottie: keep the content in back-tofron order in lottie scenegraph.
...
Change-Id: I15090782105c5e30d38e4d2df896d430d6f8cc19
2018-09-06 12:16:59 +09:00
subhransu mohanty
3866241340
lottie/optimization: keep the layers in back-to-front order in scenegraph for cache coherency
...
Change-Id: I31678bc3f4470287a4ebebc8ab88cbd0a38d2f15
2018-09-06 11:17:02 +09:00
Hermet Park
7ac6a6d6ee
lottieplayer: ++ lotplayer_set_data()
...
Change-Id: I8f38f6473213aa2d9904aac0dd68aaa207b1e076
2018-09-06 01:55:37 +00:00
Hermet Park
da0613c3ae
packaging: include c api header.
...
Change-Id: I2b495d978474f7d5e3447fc23dd4126303beaf1e
2018-09-06 01:54:39 +00:00
subhransu mohanty
81b77d5f3a
lottie/vector: optimize VMatrix size requirement.
...
Change-Id: I64efd97336904669d60c6ce99f83d5737f83d9b7
2018-09-05 10:56:29 +00:00
subhransu mohanty
de902032de
lottie: optimize VColor structure.
...
uchar is enough to store 0-255 possible color value.
Change-Id: Iaf6a24dd99158483723e98a930f12478770fac58
2018-09-05 10:56:20 +00:00
subhransu mohanty
6f3dfc1c2d
lottie/render: add neon path srcOver compostion mode for solid src.
...
Change-Id: I711dc309b02911de1155b0e788c6e79b6630fb7a
2018-09-05 19:37:36 +09:00
subhransu mohanty
5eecb9ad36
lottie/example: use loadfromData() api in demo app.
...
Change-Id: I8e5ce194f1795ca30ac8aad319ba25706a6023cf
2018-09-04 19:10:32 +09:00
subhransu mohanty
dbf479dbd5
lottie: added new loadfromdata() api in lottie player.
...
Change-Id: Iadc6e57953190bdb860415cb3a4d4d02a6ac3cf6
2018-09-04 18:41:47 +09:00