Commit Graph

50 Commits

Author SHA1 Message Date
John Preston 76630528f7 Show animated thumbnails in sets box. 2019-07-02 15:20:04 +02:00
John Preston 3b645422ff Implement animated stickerset thumbnails. 2019-07-02 14:43:17 +02:00
John Preston ead212f31b Fix lottie caching. 2019-07-01 17:57:40 +02:00
John Preston 5375e7958c Implement pause/unpause for Lottie::MultiPlayer. 2019-07-01 17:57:39 +02:00
John Preston 1da5d1c64f Fix multi player with same frame rates. 2019-07-01 17:57:39 +02:00
John Preston f6bfbbb805 Add some profiling logs to lottie player. 2019-07-01 17:57:39 +02:00
John Preston 2c461b9df3 Remove profiling logs. 2019-07-01 17:57:39 +02:00
John Preston 53a3d0038c Fix build for Xcode. 2019-07-01 17:57:38 +02:00
John Preston 09c9f4ef9a Implement Lottie::MultiPlayer. 2019-07-01 17:57:38 +02:00
John Preston cbffeca8d5 Extract some Lottie::Animation code to Lottie::Player. 2019-07-01 17:57:37 +02:00
John Preston 4a7b5a8e01 Fix caching for large sticker area. 2019-07-01 17:57:37 +02:00
John Preston 808583c5ae Store cached frames in media local cache. 2019-07-01 17:57:37 +02:00
John Preston 5628c1eee6 Encode cached frames to YUV420P. 2019-07-01 17:57:36 +02:00
John Preston 0b8aa880e5 Decide if we XOR frames for each frame. 2019-07-01 17:57:36 +02:00
John Preston 059a24bcdf Use lz4 compression for cached frames. 2019-07-01 17:57:36 +02:00
John Preston a026aec786 Trivial in-memory frame caching. 2019-07-01 17:57:35 +02:00
John Preston 56e137b20f Move some common code to lib_ffmpeg. 2019-07-01 17:57:35 +02:00
John Preston 10772f4ac5 Started Lottie::CacheState class. 2019-07-01 17:57:34 +02:00
John Preston 35bc2cc2a5 Prepare lottie animations caching. 2019-07-01 17:57:34 +02:00
John Preston f20d9395d1 Unpack lottie gzip to std::string for rlottie. 2019-07-01 17:57:34 +02:00
John Preston aa3a079853 Remove QtLottie and rapidjson. 2019-07-01 17:57:34 +02:00
John Preston b10e6b3508 Render animated stickers using rlottie. 2019-07-01 17:57:33 +02:00
John Preston 65b949d36b Fix crash in lottie animations. 2019-06-05 17:49:12 +03:00
John Preston a968e112e8 Fix crash on invalid lottie file selection. 2019-05-30 18:09:44 +03:00
John Preston 8b804d1995 Allow sending animated stickers. 2019-05-28 17:45:30 +02:00
John Preston ff0ff1d99c Fix stickers lagging on macOS. 2019-05-28 13:39:38 +02:00
John Preston fa245099b6 Fix build with GCC 8. 2019-05-27 17:32:06 +02:00
John Preston 0f08342533 Fix QtLottie build for old OS X versions. 2019-05-27 16:54:28 +02:00
John Preston 68fb9b8b67 Remove benchmarks. 2019-05-27 14:11:27 +02:00
John Preston 4ab3c2dfcb Add support for gzip-ed animated stickers. 2019-05-27 14:11:27 +02:00
John Preston 973c3f8838 QtLottie: Migrate from Qt JSON to rapidjson. 2019-05-27 14:11:27 +02:00
John Preston a03d42daa8 Add rapidjson submodule. 2019-05-27 14:11:27 +02:00
John Preston 0c84fc1271 QtLottie: Remove unnecessary includes. 2019-05-27 14:11:27 +02:00
John Preston 26c29f6af7 QtLottie: Move everything to Lottie namespace. 2019-05-27 14:11:27 +02:00
John Preston ab82ff0fb7 QtLottie: Completely detach from upstream. 2019-05-27 14:11:27 +02:00
John Preston c1ae825d98 Add some benchmarks. 2019-05-27 14:11:27 +02:00
John Preston 67739ae3fd Don't try to keep up if animation got late. 2019-05-27 14:11:27 +02:00
John Preston 236513943c Fix animated sticker selection. 2019-05-27 14:11:26 +02:00
John Preston cfff744cb1 Parse and render lottie in the background. 2019-05-27 14:11:26 +02:00
John Preston 642deecbbb Allow loading lottie animations from memory. 2019-05-27 14:11:26 +02:00
John Preston 3f1ec52e6c QtLottie: Fix precomp layer start time. 2019-05-27 14:11:26 +02:00
John Preston 2c422dcd73 QtLottie: Add BMScene root class. 2019-05-27 14:11:26 +02:00
John Preston 6abf74530d QtLottie: Check each layer for visibility by frame. 2019-05-27 14:11:26 +02:00
John Preston 38427aa52a Fix build in Xcode. 2019-05-27 14:11:26 +02:00
John Preston d1518da1ad Provide animation duration. 2019-05-27 14:11:26 +02:00
John Preston 2f02198ac7 QtLottie: Add support for precomp layer. 2019-05-27 14:11:26 +02:00
John Preston 2caa3e3def QtLottie: Add precomp assets parsing. 2019-05-27 14:11:26 +02:00
John Preston 78d3bdfe3a Fix build in Xcode. 2019-05-27 14:11:26 +02:00
John Preston 33b3fa68f0 QtLottie: Rebase onto upstream/dev. 2019-05-27 14:11:26 +02:00
John Preston 22c2054dcf First attempt to use QtLottie. 2019-05-27 14:11:26 +02:00