初级会员
- 积分
- 166
- 金钱
- 166
- 注册时间
- 2018-11-18
- 在线时间
- 55 小时
|
楼主 |
发表于 2020-7-2 19:38:31
|
显示全部楼层
我查到了作者本人的回答,感兴趣的可以去看一下
The most simple way would be:
1. create an lv_img_dsc_t, initialize width, height, color format, etc. (You can see an example in any converted image 4)
2. Create an lv_img object which uses that image_dsc. E.g. lv_img_set_src(img_obj, &img_dsc)
3. Change data in the image_dsc to the frame.
4. Call lv_obj_invalidate(img_obj)
https://forum.lvgl.io/t/how-to-u ... frame-of-video/1629 |
|