platform/core/uifw/lottie-player.git
6 years agolottie/optimization: Refactored to reduced number of allocation per task. 68/185068/1
subhransu mohanty [Thu, 26 Jul 2018 00:58:44 +0000 (09:58 +0900)]
lottie/optimization: Refactored to reduced number of allocation per task.

Change-Id: I380e0b6c720c698e84e9d157678c8abf6ac83191

6 years agolottie: updated library dependancy to c++14 65/185065/1
subhransu mohanty [Thu, 26 Jul 2018 00:43:36 +0000 (09:43 +0900)]
lottie: updated library dependancy to c++14

Change-Id: I6262065f30393830ea5192d0f549491f2c42677e

6 years agolottie: support library version in cmake build system. 63/185063/1
subhransu mohanty [Thu, 26 Jul 2018 00:33:20 +0000 (09:33 +0900)]
lottie: support library version in cmake build system.

Change-Id: I494a29cc02ddd5dbba6014f08d27f11da62ecfb3

6 years agolottie: Support tizen gbs build . 41/185041/1
subhransu mohanty [Wed, 25 Jul 2018 10:24:53 +0000 (19:24 +0900)]
lottie: Support tizen gbs build .

Change-Id: I516206ba3cc83d80770888b1d1c21e37780c3e45

6 years agolottie: add pc file for lottie player 40/185040/1
subhransu mohanty [Wed, 25 Jul 2018 10:23:57 +0000 (19:23 +0900)]
lottie: add pc file for lottie player

Change-Id: Ic44b84b756b0ae7939a016cddd1e51eec7d3a3bc

6 years agolottie: added cmake build system for lottie 14/185014/1
subhransu mohanty [Wed, 25 Jul 2018 07:55:40 +0000 (16:55 +0900)]
lottie: added cmake build system for lottie

Change-Id: I8e03709ae668bc221c4ec936317cf579d326876f

6 years agolottie/vector: refactor vraster to optimize number of memory allocation. 22/184922/2
subhransu mohanty [Tue, 24 Jul 2018 00:57:20 +0000 (09:57 +0900)]
lottie/vector: refactor vraster to optimize number of memory allocation.

Change-Id: I55ffb29d9a039a458830200a56ff3a6a057ff361

6 years agolottie/vector: change addPolystar* method to addPolystar/addPolygon 21/184921/1
Youngbok Shin [Tue, 24 Jul 2018 09:00:25 +0000 (18:00 +0900)]
lottie/vector: change addPolystar* method to addPolystar/addPolygon

It also move its implemented code to VPath::VPathData from VPath.

Change-Id: Idc6f04e04930f1863bb78fd1a05ba86c573e328b

6 years agolottie/vector: use callback version of intersect() for performance. 83/184783/3
subhransu mohanty [Mon, 23 Jul 2018 06:10:51 +0000 (15:10 +0900)]
lottie/vector: use callback version of intersect() for performance.

Change-Id: I194f1da65b766e59c4c5230040b8a329a39fa95b

6 years agolottie/vector: avoid copy-elision by using move on temporary object. 63/184763/3
subhransu mohanty [Mon, 23 Jul 2018 03:48:52 +0000 (12:48 +0900)]
lottie/vector: avoid copy-elision by using move on temporary object.

Change-Id: I6b54951dab7d15966760d5ec682d151e9745da63

6 years agolottie/vector: Implement intersect function with callback. 82/184782/3
subhransu mohanty [Mon, 23 Jul 2018 06:02:45 +0000 (15:02 +0900)]
lottie/vector: Implement  intersect function with callback.

Change-Id: I8d5e3be9d4a77c246ef174e716c22c8766fc82a1

6 years agolottie: give a make_unique wrapper till we move to c++14 54/184754/3
sub.mohanty@samsung.com [Sat, 21 Jul 2018 08:07:00 +0000 (17:07 +0900)]
lottie: give a make_unique wrapper till we move to c++14

Change-Id: I09061f807f6bf9ad5eea631f206d89705e3ae1bc

6 years agolottie/vector: refactor vpath class to use vcow_ptr 61/184761/2
subhransu mohanty [Mon, 23 Jul 2018 00:33:56 +0000 (09:33 +0900)]
lottie/vector: refactor vpath class to use vcow_ptr

Change-Id: Ib16da52a8a97bbee87766ee362e1d6e5678ac305

6 years agolottie/vector: added cow_ptr class to support copy_on_write class in vector. 60/184760/2
subhransu mohanty [Mon, 23 Jul 2018 00:24:36 +0000 (09:24 +0900)]
lottie/vector: added cow_ptr class to support copy_on_write class in vector.

Change-Id: I485637da44d44ce473dc760aaf484b0377bdcda1

6 years agolottie: fixed miscellaneous things regarding trim operation 11/184711/2
Jaeun Choi [Fri, 20 Jul 2018 08:59:34 +0000 (17:59 +0900)]
lottie: fixed miscellaneous things regarding trim operation

 - check if path operator is there before applying it
 - fixed comment
 - fixed indentation

Change-Id: I2b491423cea3a40e5c28436686b24f92d1e6bcfd

6 years agovector: bug fix in vpathmesure 09/184709/1
Jaeun Choi [Fri, 20 Jul 2018 08:40:50 +0000 (17:40 +0900)]
vector: bug fix in vpathmesure

Change-Id: I4936c9fe5b7db80fe6d99908086c3ebc9dab1398

6 years agolottie/example: add polystar_line_clockwise_trim.json file for testing polystar with... 92/184692/1
Youngbok Shin [Fri, 20 Jul 2018 07:48:42 +0000 (16:48 +0900)]
lottie/example: add polystar_line_clockwise_trim.json file for testing polystar with trim

Change-Id: I0a1db3400b284f973a959a194919221d28871d42

6 years agolottie/vector: apply direction to polystar path 86/184686/2
Youngbok Shin [Fri, 20 Jul 2018 07:16:40 +0000 (16:16 +0900)]
lottie/vector: apply direction to polystar path

When the given direction is counter clockwise,
it calculates polystar with reversed angle changes.

Change-Id: Iee833a946f67f0bd967369258d3df820cf3779da

6 years agolottie/vector: make the pathmesure class thread safe. 80/184680/1
subhransu mohanty [Fri, 20 Jul 2018 06:44:58 +0000 (15:44 +0900)]
lottie/vector: make the pathmesure class thread safe.

Change-Id: I10dc4e0a0c6c050bc573c792f819cf91c2982f03

6 years agolottie/example: add polystar_anim.json file for testing polystar 67/184667/2
Youngbok Shin [Fri, 20 Jul 2018 04:21:40 +0000 (13:21 +0900)]
lottie/example: add polystar_anim.json file for testing polystar

It has animation for changing its number of points. (3.0 to 15.0)

Change-Id: I133c19dc0b37380804da43ac8256f6c86085a536

6 years agolottie/example: workaround to render at 60fps. 68/184668/2
subhransu mohanty [Fri, 20 Jul 2018 05:04:33 +0000 (14:04 +0900)]
lottie/example: workaround to render at 60fps.

Change-Id: I6e2ad981467679357a75310027d9482a28e1bc94

6 years agolottie/example: updated example to use async rendering . 56/184656/2
subhransu mohanty [Fri, 20 Jul 2018 01:30:03 +0000 (10:30 +0900)]
lottie/example: updated example to use async rendering .

Change-Id: I6929f00bb6a26f18f7276890c40993329d94ae03

6 years agolottie/vector: refactor the vregion class 70/184670/2
subhransu mohanty [Fri, 20 Jul 2018 05:38:18 +0000 (14:38 +0900)]
lottie/vector: refactor the vregion class

Change-Id: I093000d097cee2045b32b04ef8774b1aaa2706d8

6 years agolottie/render: implement render_scheduler to enable multithreading render job. 55/184655/2
subhransu mohanty [Fri, 20 Jul 2018 01:25:06 +0000 (10:25 +0900)]
lottie/render: implement render_scheduler to enable multithreading render job.

Change-Id: If3ab28cd7fab0e16703fae5b8f3d158bf40a77e3

6 years agolottie: handle trim path 33/184633/3
Jaeun Choi [Thu, 19 Jul 2018 11:20:32 +0000 (20:20 +0900)]
lottie: handle trim path

Change-Id: I05f1daec3c7e0c4cbb953c5c0a076d81e82d8e30

6 years agovector: implement vpathmesure 32/184632/3
Jaeun Choi [Thu, 19 Jul 2018 10:22:19 +0000 (19:22 +0900)]
vector: implement vpathmesure

Change-Id: I562df481e72b4e356821b1a44b7749c29ea0b1ca

6 years agolottie/vector: make all copy_on_write class in vector thread safe. 52/184652/1
subhransu mohanty [Thu, 19 Jul 2018 23:36:43 +0000 (08:36 +0900)]
lottie/vector: make all copy_on_write class in vector thread safe.

Change-Id: Ibf3781775d0d26c0240970b720a59fbfed43f6b2

6 years agolottie/render: fixed memory leak regression from last refactoring. 11/184611/1
subhransu mohanty [Thu, 19 Jul 2018 07:10:41 +0000 (16:10 +0900)]
lottie/render: fixed memory leak regression from last refactoring.

Change-Id: I67c83f67a8efe1f367070c05497ec419da2753cb

6 years agolottie/example: update the example to do stress test. 07/184607/1
subhransu mohanty [Thu, 19 Jul 2018 06:50:48 +0000 (15:50 +0900)]
lottie/example: update the example to do stress test.

Change-Id: I701fa71d0a05be453c26c252e57ab1ce3b110b0d

6 years agolottie/render: start all preprocess task at once before rendering the frame. 96/184596/1
subhransu mohanty [Thu, 19 Jul 2018 06:04:57 +0000 (15:04 +0900)]
lottie/render: start all preprocess task at once before rendering the frame.

Change-Id: I6c625a3ed069c40d4f42fbb3579120ffbcc30d54

6 years agolottie/parser: update the static property of gradient model properly. 93/184493/2
subhransu mohanty [Wed, 18 Jul 2018 08:50:01 +0000 (17:50 +0900)]
lottie/parser: update the static property of gradient model properly.

Change-Id: I28bca148869b3a063926bfe56bb8b5adc33000c6

6 years agolottie: fixed valgrind warning for unintialized variable 59/184459/2
subhransu mohanty [Wed, 18 Jul 2018 05:36:47 +0000 (14:36 +0900)]
lottie: fixed valgrind warning for unintialized variable

Change-Id: I90e80585f3b217df86e948650e5f6128aef65ac3

6 years agolottie:render: added task stealing scheduler for async rle generation. 52/184452/2
subhransu mohanty [Wed, 18 Jul 2018 05:03:23 +0000 (14:03 +0900)]
lottie:render: added task stealing scheduler for async rle generation.

Change-Id: Ie5a48bb018db8bccef499aac5cb7788de5df5b61

6 years agolottie/vector: added taskqueue class in preparation for multithreaded backend 28/184428/4
subhransu mohanty [Wed, 18 Jul 2018 03:27:53 +0000 (12:27 +0900)]
lottie/vector: added taskqueue class in preparation for multithreaded backend

Change-Id: I0b5e5cab84b383bc48f846f99807870178672a1f

6 years agolottie/render: refactor rle generation to enable multi thread. 13/184413/2
subhransu mohanty [Wed, 18 Jul 2018 01:46:44 +0000 (10:46 +0900)]
lottie/render: refactor rle generation to enable multi thread.

Change-Id: Ia3bda91545241ef64919c9a1674ad1fa94dabea9

6 years agolottie/example: update example to handle window resize. 78/184478/2
subhransu mohanty [Wed, 18 Jul 2018 07:37:12 +0000 (16:37 +0900)]
lottie/example: update example to handle window resize.

Change-Id: Idb67bff5a1900e5ff779ae283fb2a6b1366d97b9

6 years agolottie/render: fixed Mask substarct implementation. 06/184406/2
subhransu mohanty [Wed, 18 Jul 2018 00:40:04 +0000 (09:40 +0900)]
lottie/render: fixed Mask substarct implementation.

Change-Id: I1fcf0a9da76dc027b0c8b397ae8655cfbff24b00

6 years agolottie/vector: update the available variable only when we find a valid span data. 77/184477/2
subhransu mohanty [Wed, 18 Jul 2018 07:31:03 +0000 (16:31 +0900)]
lottie/vector: update the available variable only when we find a valid span data.

Change-Id: I5cad6ac11d2e8574b01399165cd8fc11909ed226

6 years agolottie/example: delay rendering of view till pre render callback to mimic the evas... 58/184558/2
subhransu mohanty [Thu, 19 Jul 2018 00:13:13 +0000 (09:13 +0900)]
lottie/example: delay rendering of view till pre render callback to mimic the evas rendering pipeline.

Change-Id: I1d7711feda273f9e69712e2bb37c672f76e68515

6 years agolottie/model: convert highlightangle and highlightlength of radial from lottie to... 55/184555/3
subhransu mohanty [Wed, 18 Jul 2018 23:33:50 +0000 (08:33 +0900)]
lottie/model: convert highlightangle and highlightlength of radial from lottie to vector space.

Change-Id: I9874ccb53e3fe85a14c2ecd6394dbdb4d9f42790

6 years agolottie/model: refactored path direction handling. 59/184559/1
subhransu mohanty [Thu, 19 Jul 2018 01:06:05 +0000 (10:06 +0900)]
lottie/model: refactored path direction handling.

Change-Id: I6a41f72e3635f3ad91f188d99868b3e8e44d3174

6 years agolottie/example: removed bad polystar sample file 00/184400/1
subhransu mohanty [Wed, 18 Jul 2018 00:18:08 +0000 (09:18 +0900)]
lottie/example: removed bad polystar sample file

Change-Id: If03001ace0dfbb0a3f359933dfdd8c3a71c0a15d

6 years agolottie/example: add ux sample files 98/184398/1
subhransu mohanty [Wed, 18 Jul 2018 00:14:47 +0000 (09:14 +0900)]
lottie/example: add ux sample files

Change-Id: I7b632fa515411becc26f07dced2cdcc30a9f21cd

6 years agovector: clean up single, double-decision comparison 54/184354/5
Hermet Park [Tue, 17 Jul 2018 10:23:22 +0000 (19:23 +0900)]
vector: clean up single, double-decision comparison

Change-Id: I9ed37192c9c1236103aeeb7f239bbae2dabe6368

6 years agoplayer: update seek behavior. 31/184331/6
Hermet Park [Tue, 17 Jul 2018 08:20:29 +0000 (17:20 +0900)]
player: update seek behavior.

1. set default position 0
2. renamed to setPos()
3. add getter()

Change-Id: Ibf4038f666e686ff00d17066c012e7fb2d8e2709

6 years agolottie/example: added a new example to test ux sample images 51/184351/2
subhransu mohanty [Tue, 17 Jul 2018 09:50:34 +0000 (18:50 +0900)]
lottie/example: added a new example to test ux sample images

Change-Id: Ife2496e90c56e1facb6b83b7bc03b25445c6a018

6 years agolottie/example: remove the evas object when lottivew gets destroyed. 50/184350/2
subhransu mohanty [Tue, 17 Jul 2018 09:48:41 +0000 (18:48 +0900)]
lottie/example: remove the evas object when  lottivew gets destroyed.

Change-Id: Ic14ab134b42377200f439b9a7c50cb654221e7e4

6 years agoloader: replace to logging system. 39/184239/2
Hermet Park [Mon, 16 Jul 2018 12:49:12 +0000 (21:49 +0900)]
loader: replace to logging system.

Change-Id: I3c81a2c27a0df1e68b1281b0a79d827ada4f11a1

6 years agoplayer: return as soon as possible. 38/184238/2
Hermet Park [Mon, 16 Jul 2018 12:47:57 +0000 (21:47 +0900)]
player: return as soon as possible.

We need to take account of user side, not internal ones.

Change-Id: Ic7bccc343c771870d10b25fc7dec01217a1d4e35

6 years agoplayer: remove missing member functions. 36/184236/2
Hermet Park [Mon, 16 Jul 2018 12:35:25 +0000 (21:35 +0900)]
player: remove missing member functions.

Change-Id: I805e8cfcb99f972019faa88b082948357865a74e

6 years agoplayer: remove constructor that accepts functional arguments. 33/184233/5
Hermet Park [Mon, 16 Jul 2018 12:08:26 +0000 (21:08 +0900)]
player: remove constructor that accepts functional arguments.

it's not good usage than explicitly function call by users,
if the function is possibly failed.

Change-Id: I0e008093f6627ff24e8bc1d2e9ce0979dcca57bd

6 years agolottie/example: move resourcelist generation to evasapp class for reuse. 30/184330/1
subhransu mohanty [Tue, 17 Jul 2018 08:17:43 +0000 (17:17 +0900)]
lottie/example: move resourcelist generation to evasapp class for reuse.

Change-Id: If96683fe079a6484195b87c2fdd96c385114af12

6 years agolottie/example: updated evasapp to handle keyevent propagation. 91/184291/1
subhransu mohanty [Tue, 17 Jul 2018 04:58:17 +0000 (13:58 +0900)]
lottie/example: updated evasapp to handle keyevent propagation.

Change-Id: Iecc3479ef011e64e113a50f3914676e0a6341f49

6 years agolottie: Added default coding style file of clang-format. 82/184282/2
subhransu mohanty [Tue, 17 Jul 2018 02:23:59 +0000 (11:23 +0900)]
lottie: Added default coding style file of clang-format.
     We can modify this file according to tizen coding guideline and
    then run the clang-format tool on the source tree which will do auto formatting.
    clang-format -style=file -i filename

Change-Id: I396e3da778264e822602ab72b7a06039c6fca0a3

6 years agolottie: removed dead code. 64/184264/1
subhransu mohanty [Tue, 17 Jul 2018 01:18:58 +0000 (10:18 +0900)]
lottie: removed dead code.

Change-Id: I3be0e0d9e1d52d76d7be1ce40e7e901d26c8d772

6 years agolottie/mask: refactored mask drawing to take care of nested layer. 63/184263/1
subhransu mohanty [Tue, 17 Jul 2018 01:12:26 +0000 (10:12 +0900)]
lottie/mask: refactored mask drawing to take care of nested layer.

Change-Id: I287d27bcdebb6eda43243e6514bc1167b1e86dbf

6 years agolottie/example: fixed layout issue. 87/184187/2
subhransu mohanty [Mon, 16 Jul 2018 06:56:38 +0000 (15:56 +0900)]
lottie/example: fixed layout issue.

Change-Id: Id8795b63d13cca081d383f4e1303b990bdb723be

6 years agolottie/optimization: update the layer item only when it has change. 86/184186/2
subhransu mohanty [Mon, 16 Jul 2018 06:53:54 +0000 (15:53 +0900)]
lottie/optimization: update the layer item only when it has change.

Change-Id: If62c796f18ebea949fe598f0f5890f09bd8a42b8

6 years agolottie: fix issue of layer static property updation. 85/184185/2
subhransu mohanty [Mon, 16 Jul 2018 06:48:03 +0000 (15:48 +0900)]
lottie: fix issue of layer static property updation.

Layer can have a parent as well as can be part of the precomp layer.
so take both layers static property into consideration while updating the static property.

Change-Id: I59db01a596977896ab1e9c131ee3ff28e694ff0b

6 years agovector: port radial drawing implementation from ector library. 47/184147/4
subhransu sekhar mohanty [Sat, 14 Jul 2018 06:51:47 +0000 (15:51 +0900)]
vector: port radial drawing implementation from ector library.

Change-Id: I0885d2493a19f71bc82ecf9d03268539a2c98bec

6 years agolottie/vector: move all vector objects to its own namesapce 48/184148/3
subhransu sekhar mohanty [Sun, 15 Jul 2018 02:59:30 +0000 (11:59 +0900)]
lottie/vector: move all vector objects to its own namesapce

Change-Id: I1f7ebc743b45d2ae0857f5d645ca1495e382b3c3

6 years agolottie/vector: fixed typo issue. 75/184175/1
subhransu mohanty [Mon, 16 Jul 2018 05:32:44 +0000 (14:32 +0900)]
lottie/vector: fixed typo issue.

Change-Id: I6e5d811b3f216daff1dbf5ab73d3c2fb97872e56

6 years agovector: convert radial gradient parameter from lottie space to vector space. 46/184146/3
subhransu sekhar mohanty [Sat, 14 Jul 2018 06:48:14 +0000 (15:48 +0900)]
vector: convert radial gradient parameter from lottie space to vector space.

Change-Id: I1894dd03eb0ccd0266fa098eaaae4aa4bf1e1d57

6 years agolottie/example: disable default building of example 45/184145/2
subhransu sekhar mohanty [Fri, 13 Jul 2018 14:20:15 +0000 (23:20 +0900)]
lottie/example: disable default building of example
to enable use meson -Dexample=true build while configuring meson.
or meson configure -Dexample=true in the build directory.

Change-Id: If267e6883fb866a741bf18dbfedd2a7782e21df5

6 years agolottie/player: fixed the regression in playtime() api. 49/184149/1
subhransu mohanty [Mon, 16 Jul 2018 03:22:12 +0000 (12:22 +0900)]
lottie/player: fixed the regression in playtime() api.

Change-Id: I1ce8fc84cb75dbb6a929d9720adc5c57366f35fa

6 years agolottieplayer: add exceptions
Hermet Park [Fri, 13 Jul 2018 12:13:03 +0000 (21:13 +0900)]
lottieplayer: add exceptions

Change-Id: I03de73851867e78de3231131ac92154ca39c3dec

6 years agolottieplayer: remove framerate function.
Hermet Park [Fri, 13 Jul 2018 12:11:03 +0000 (21:11 +0900)]
lottieplayer: remove framerate function.

One of unnecesary functionalities.
Please add this when it really needs.

Change-Id: I1fed313df10c15ea4aca2faa3b15c51154b07f17

6 years agolottieloader: file path for debug info.
Hermet Park [Thu, 12 Jul 2018 12:43:39 +0000 (21:43 +0900)]
lottieloader: file path for debug info.

Change-Id: I551ef127032ac2a2dda36bb14b0bd5ffa2f5762e

6 years agolottie/parser : Fixed proper parsing of opacity stops for gradient. 44/184044/2
subhransu mohanty [Fri, 13 Jul 2018 07:30:44 +0000 (16:30 +0900)]
lottie/parser : Fixed proper parsing of opacity stops for gradient.

Change-Id: I91a2a8f99c253fa0478ec8e8ffc76d5313fafa97

6 years agolottie/model: Fixed hold interpolation issue. 96/183996/1
subhransu mohanty [Fri, 13 Jul 2018 02:26:17 +0000 (11:26 +0900)]
lottie/model: Fixed hold interpolation issue.

Change-Id: I0db56ec46a9f6fec04311d9c96dcea680e29ab5b

6 years agolottie-player : Initial draft for lottie-player library 96/183796/6
subhransu mohanty [Wed, 11 Jul 2018 06:24:42 +0000 (15:24 +0900)]
lottie-player : Initial draft for lottie-player library

Change-Id: I8019e13863ef635fc011f0e7b82c692eaa01201d

6 years agoInitial empty repository
Tizen Infrastructure [Tue, 3 Jul 2018 01:12:25 +0000 (01:12 +0000)]
Initial empty repository