Benign X
ccb1bfee37
fix(decoder): fix potential mem leak in image decoder ( #5077 )
2023-12-23 10:24:36 +08:00
jianglianfang
372cbeb934
feat(event): add LV_EVENT_VSYNC ( #4999 )
...
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2023-12-22 22:46:43 +01:00
terry.rong
5ada918ab7
feat(image): add YUV format enum and adapter yuv for vglite GPU ( #5080 )
...
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-12-22 22:26:07 +01:00
Zhang Ji Peng
8f58b8ec26
fix(vector): change draw rectangle rx, ry to float type. ( #5084 )
...
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
2023-12-22 22:18:23 +01:00
Neo Xu
6b7b8dbe67
fix(vector): do not adjust stride for ThorVG to draw image ( #5086 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-22 22:08:06 +01:00
jeremy-baker
d1834fc743
feat(dave2d): add image scaling ( #5088 )
2023-12-22 22:07:18 +01:00
Neo Xu
755810bf8e
feat(bin_decoder): post process decoded image to fulfill decoder's args ( #5082 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-22 21:49:42 +01:00
_VIFEXTech
2fa9847201
fix(vg_lite): unify recolor behavior ( #5085 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-22 22:18:32 +08:00
_VIFEXTech
4b995448bc
refact(anim_timeline): refact anim timeline design ( #5061 )
...
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-22 14:56:36 +08:00
Benign X
d7237d4923
fix(jpeg_turbor_decoder): fix wrong decoded size in cache ( #5073 )
2023-12-22 13:06:30 +08:00
_VIFEXTech
04d906a851
feat(nuttx): add utouch monitor ( #5072 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-21 19:49:37 +08:00
Gabor Kiss-Vamosi
e5be99c0be
fix(tjpgd): always use stdint.h
...
fixes #5070
2023-12-21 10:16:12 +01:00
Gabor Kiss-Vamosi
469c2cfcef
example: remove the MicroPython examples
...
See #4347
2023-12-21 10:02:44 +01:00
Kevin Schlosser
32c6bc5bd7
ci: add MicroPython test ( #4997 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-12-21 09:54:15 +01:00
_VIFEXTech
1d0dd9b28b
fix(vg_lite): remove 'always_zero' fix build break ( #5071 )
...
```
lvgl/src/draw/vg_lite/lv_draw_vg_lite_layer.c: In function ‘lv_draw_vg_lite_layer’:
lvgl/src/draw/vg_lite/lv_draw_vg_lite_layer.c:56:19: error: ‘lv_image_header_t’ {aka ‘struct <anonymous>’} has no member named ‘always_zero’
56 | img_dsc.header.always_zero = 0;
| ^
```
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-21 12:23:40 +08:00
Neo Xu
8e055dee81
fix(lz4): do not expose internal lz4.h ( #5069 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-20 20:25:02 +01:00
Zhongwei Liu
b2447b7b0d
fix(screen): fix crash when starting two screen loads with animations ( #5066 )
2023-12-20 20:22:57 +01:00
Neo Xu
deb43a2333
feat(math): add LV_ALIGN_UP macro ( #5053 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-20 10:07:27 +01:00
jeremy-baker
cdf97139ca
fix(dave2d): use the color format passed in, not the frame buffer format ( #5060 )
2023-12-20 10:02:22 +01:00
bjsylvia
94f0b8eaa0
feat(indev): add lv_indev_set_mode to switch input device's event model ( #4949 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-12-20 09:35:14 +01:00
Gabor Kiss-Vamosi
2f7816b30c
fix(sysmon): separate render and flush time
2023-12-20 09:22:15 +01:00
lion2tomato
9b64df0b74
chore: fix warning ( #5065 )
...
```bash
CC:
lvgl/lvgl/src/draw/lv_draw_buf.c
lvgl/lvgl/src/dev/nuttx/lv_nuttx_entry.c: In function 'lv_global_default':
lvgl/lvgl/src/dev/nuttx/lv_nuttx_entry.c:73:12: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized]
73 | return data;
```
Signed-off-by: lijianjun <lijianjun@xiaomi.com>
Co-authored-by: lijianjun <lijianjun@xiaomi.com>
2023-12-20 15:01:18 +08:00
Benign X
ccc63521d0
fix(lv_canvas): fix undefined behavior ( #5059 )
...
```bash
Left shift of 255 by 24 places cannot be represented in type 'int'
at 0x102d47f44 lv_canvas_fill_bg (lv_canvas.c:310)
at 0x102812b30 canvas_basic_render(unsigned char*, unsigned char, char const*, char const*) (main.cpp:38)
at 0x102811fd4 canvas_blend_test(_lv_obj_t*, _lv_draw_image_dsc_t*, char const*, char const*, unsigned char, unsigned int) (main.cpp:108)
at 0x102814f50 canvas_draw(char const*, unsigned char) (main.cpp:154)
at 0x102814858 test_xrgb8888() (main.cpp:162)
at 0x10281536c main (main.cpp:218)
at 0x18d0790dc
```
2023-12-20 14:17:19 +08:00
Neo Xu
ac3c623abd
chore: fix warning of typedef redefinition ( #5063 )
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-12-20 14:14:23 +08:00
Neo Xu
5e3fb68835
refactor(image): add magic to image header ( #5051 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 12:54:30 +01:00
Neo Xu
08803f9a11
refactor(drawbuf): eliminate clear/copy buffer callbacks ( #5052 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 11:55:59 +01:00
Neo Xu
29f04f5443
chore: rename _unaligned to avoid MSVC compile issue ( #5028 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 11:55:31 +01:00
Neo Xu
76d7b3dd70
chore(image): remove useless check ( #5050 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 11:53:37 +01:00
_VIFEXTech
4a58f6d290
fix(vg_lite): fix build break ( #5048 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-19 13:18:43 +08:00
_VIFEXTech
5c4c41e3d0
Merge pull request #5032 from FASTSHIFT/fix_draw_sw_vector
...
fix(draw_vector): fix build break when thorvg disabled
2023-12-19 10:36:30 +08:00
Gabor Kiss-Vamosi
1152a62ea4
fix(sysmon): fix incorrect render time calcualtion
2023-12-18 21:20:48 +01:00
Gabor Kiss-Vamosi
9b67c5ba67
fix(dave2d): fix various smaller issues ( #5043 )
...
Co-authored-by: Jeremy Baker <jeremy.baker@renesas.com>
See https://github.com/lvgl/lv_renesas/issues/3
2023-12-18 21:15:15 +01:00
Gabor Kiss-Vamosi
1f86e1ed80
fix(dave2d): fix image rendering
2023-12-18 20:46:40 +01:00
Gabor Kiss-Vamosi
34f444e327
chore(draw): optimize lv_draw_sw_rgb565_swap
2023-12-18 20:24:40 +01:00
Neo Xu
347b5eb23d
feat(decoder): use shift and mask to deal with rounding error ( #5042 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:16:33 +01:00
Xu Xingliang
8af0cfa7aa
chore(examples): use draw buffer for canvas
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:13:46 +01:00
pengyiqiang
3ff5f97651
feat(canvas): use draw buffer for canvas
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:13:46 +01:00
Neo Xu
8e7fb71bdb
chore(anim): use const lv_anim_t for get methods ( #5024 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:13:02 +01:00
Gabor Kiss-Vamosi
7b9f9a9f9e
chore: fix false positive warning
2023-12-18 17:25:48 +01:00
Gabor Kiss-Vamosi
a720948aa1
fix(draw): fix off by one scaling issue o nthe left and bottom
...
fixes #4993
2023-12-18 17:06:00 +01:00
_VIFEXTech
9fc6801860
feat(draw): add vg-lite draw unit ( #5010 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-18 14:17:42 +01:00
Gabor Kiss-Vamosi
b172c64a8c
docs: fix syntax
2023-12-18 13:51:35 +01:00
Neo Xu
db905eec15
feat(draw_buf): remove legacy lv_draw_buf_go_to_xy ( #5035 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 13:34:44 +01:00
Gabor Kiss-Vamosi
35d4100bca
chore: fix code formatting
2023-12-18 13:30:40 +01:00
lhdjply
1d170a6be5
chore(api): update lv_api_map.h ( #5038 )
...
Signed-off-by: lhdjply <lhdjply@126.com>
2023-12-18 13:27:40 +01:00
Benign X
a29d11b894
fix(bin_decoder): add missing cache_data_type register ( #5017 )
2023-12-18 13:27:16 +01:00
Gabor Kiss-Vamosi
b54549cae4
chore(demo_benchmark): make the table widget local
...
fixes #5025
2023-12-18 13:21:25 +01:00
_VIFEXTech
15d273be7b
fix(area): fix narrowing conversion error ( #5031 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-18 13:08:29 +01:00
Neo Xu
a8312d2b6c
feat(snapshot): create draw buf for snapshot image ( #5030 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 13:08:09 +01:00
lhdjply
62801b5422
chore(README): follow naming changes in README ( #5036 )
...
Signed-off-by: lhdjply <lhdjply@126.com>
2023-12-18 13:07:28 +01:00