Lines Matching refs:to
12 LVGL provides the interface to `Samsung/rlottie <https://github.com/Samsung/rlottie>`__ library's C
13 API. That is the actual Lottie player is not part of LVGL, it needs to
38 And finally add the ``-lrlottie`` flag to your linker.
40 On embedded systems you need to take care of integrating Rlottie to the
52 first you need to enable :c:macro:`LV_USE_RLOTTIE` in ``lv_conf.h``.
64 lv_obj_t * lottie = lv_rlottie_create_from_file(parent, width, height, "path/to/lottie.json");
79 ``lvgl/scripts/filetohex.py`` can be used to convert a Lottie file a hex
84 ./filetohex.py path/to/lottie.json --filter-character --null-terminate > out.txt
86 …cters and ``--null-terminate`` makes sure that a trailing zero is appended to properly close the s…
107 LVGL provides two functions to control the animation mode:
116 // Pause to a specific frame
132 you can cast the :c:struct:`lv_obj_t` instance to a :c:struct:`lv_rlottie_t` instance
141 Rlottie can be expensive to render on embedded hardware. Lottie
142 animations tend to use a large amount of CPU time and can use large
143 portions of RAM. This will vary from lottie to lottie but in general for
147 - Where possible, try to avoid bezier type animations
153 To give a better idea on this, lets assume you want to render a 240x320
156 In order to pass initialization of the lv_rlottie_t object, you need
159 taking chunks out). So while you can probably start to render a 50x50
162 Additionally, while you might be able to pass initialization of the
163 lv_rlottie_t object, as rlottie renders frame to frame, this consumes
166 seconds could very easily crash due to lack of memory as rlottie
176 wonderful utility to LVGL on embedded LCDs and can look really good when
182 - Build the lottie animation to be sized for the intended size
203 some additional changes and a CMakeLists file to tell the IDF how to
210 to be disabled as the IDF doesn't play nice with dynamic linking.
213 ``/env_support/esp/rlottie/0001-changes-to-compile-with-esp-idf.patch``
215 Apply the patch file to your rlottie submodule.
223 Copy this CMakeLists file to
226 In addition to the component CMakeLists file, you'll also need to tell
227 your project level CMakeLists in your IDF project to require rlottie:
233 From here, you should be able to use lv_rlottie objects in your ESP-IDF
244 From here, you can use the relevant LVGL lv_rlottie functions to create
258 https://github.com/espressif/esp-box is a great starting point to adding
261 You will need to enable :c:macro:`LV_USE_RLOTTIE` through **idf.py** menuconfig under
264 Additional changes to make use of SPIRAM
268 of lottie animations, it is recommended to shift as much out of internal
269 DRAM into SPIRAM as possible. In order to do so, SPIRAM will need to be
273 recommendation is to make local modifications to the lvgl component in