Commit Graph

69 Commits

Author SHA1 Message Date
Zoltan Janosy
abc8a7292a feat(draw/sw): added support for LV_COLOR_FORMAT_L8 (#5800)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Signed-off-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: VIFEX <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Niklas Fiekas <niklas.fiekas@sartorius.com>
Co-authored-by: qinshijing <51692568+qinshijing@users.noreply.github.com>
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
2024-04-20 13:14:25 +02:00
Gabor Kiss-Vamosi
bbab604278 fix(image): set the draw_task area correctly for tiled image (#6029)
Co-authored-by: Neo Xu <neo.xu1990@gmail.com>
2024-04-17 13:17:49 +02:00
Gabor Kiss-Vamosi
bcb8dbb736 feat(mask): add support for image file bitmap masks (#5911) 2024-03-26 17:28:09 +08:00
Gabor Kiss-Vamosi
10978c94c2 feat(image, layer): add bitmap mask feature (#5545) 2024-02-10 20:57:46 +01:00
Gabriel Wang
78a6b2f425 chore(cmsis-pack): prepare for LVGL9 release (#5323)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-01-15 19:50:03 +01:00
_VIFEXTech
8701dece65 refact(layer): use draw_buf to replace raw pointers (#5254)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-14 13:47:20 +01:00
Gabriel Wang
ab1182b1b2 feat(draw-sw): add Helium (transform) acceleration to sw-draw-image-core (#5231)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-01-14 12:36:42 +01:00
Neo Xu
b902600b83 feat(decoder): remove img_data and use decoded draw buffer instead (#4985)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2024-01-03 20:08:38 +08:00
Benign X
a34f490394 feat(cache): new cache framework (#5049)
Co-authored-by: _VIFEXTech <vifextech@foxmail.com>
2023-12-25 11:37:59 +08:00
Gabor Kiss-Vamosi
9264b50c18 docs: update API comments 2023-12-15 12:16:06 +01:00
Gabor Kiss-Vamosi
0d60129469 feat(draw): add generic draw image helpers (#5008) 2023-12-14 18:46:42 +01:00
Neo Xu
99b80ec089 feat(png): use draw_buf for decoded image (#4968)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-12 10:04:23 +01:00
Gabor Kiss-Vamosi
450d81a856 fix(draw): fix tiled image drawing 2023-12-06 14:46:14 +01:00
Neo Xu
0c8a1f22a4 fix(draw): use half of RGB stride as alpha map stride for RGB565A8 (#4842)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-21 19:46:58 +01:00
Neo Xu
695f4e9247 feat(decoder): add decoder open args (#4834)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-21 19:30:31 +01:00
Neo Xu
534768ed27 chore(draw): use byte as stride unit for draw_transform (#4843)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-21 17:44:21 +01:00
Neo Xu
511feb39be chore(image): remove explicit initialization to always_zero (#4796)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-18 08:10:22 +01:00
Gabor Kiss-Vamosi
6cda061c65 fix(draw): make SW render work with any stride and add stride=64 to CI 2023-11-14 22:19:56 +01:00
Gabor Kiss-Vamosi
d286a9da47 fix(draw): fix recoloring lower limit in SW image draw 2023-11-13 17:07:17 +01:00
Viktor Szépe
cc6581ae03 ci: upgrade astyle tool (#4776)
Install from source to use the latest version
2023-11-10 15:37:23 +01:00
Gabor Kiss-Vamosi
d02562b796 feat(image): add lv_image_align_t to stretch, tile, and align images
related to #4733
2023-11-08 00:34:22 +01:00
Gabor Kiss-Vamosi
235190d00a fix(debug): fix LV_USE_PARALLEL_DRAW_DEBUG 2023-11-06 11:33:11 +01:00
Gabor Kiss-Vamosi
386250a336 fix(draw): stride handling in case of layers 2023-11-06 09:55:43 +01:00
Gabor Kiss-Vamosi
16302e9c7b chore: rename zoom_x/y paramters and local variables to scale_x/y 2023-10-31 20:19:12 +01:00
Gabor Kiss-Vamosi
a5a58e39d2 refactor: replace lv_coord_t with int32_t 2023-10-31 19:25:01 +01:00
Neo Xu
a0624983cc chore(draw): add mask_stride to blend_dsc (#4723)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-10-29 16:59:08 +01:00
Benign X
178297bbc8 fix: fix compile errors with zoom (#4697) 2023-10-24 09:27:18 +02:00
Gabor Kiss-Vamosi
ea847a3830 fix(draw): fix image recoloring with partial update
fixes #4692
2023-10-23 17:07:51 +02:00
Gabor Kiss-Vamosi
85798af3cd feat(draw): add non uniform scale (scale_x and scale_y) 2023-10-20 23:29:22 +02:00
Benign X
aa0e82ca43 fix: compile error (#4675) 2023-10-19 13:36:24 +02:00
Gabor Kiss-Vamosi
8deea70049 refactor(draw_buf): remove lv_draw_buf_t and make all functions work on void * buffer directly 2023-10-11 21:33:23 +02:00
Gabor Kiss-Vamosi
a7d03e09ef fix(draw): use lv_draw_buf_malloc in lv_draw_sw_img 2023-10-05 20:25:49 +02:00
Gabor Kiss-Vamosi
fe72ac512b chore(draw): fix typo 2023-10-03 13:50:02 +02:00
Gabor Kiss-Vamosi
2debd1d169 fix(draw_sw): fix crash with RGB565A8 transformation 2023-10-03 13:31:08 +02:00
Gabor Kiss-Vamosi
9d8570aa3f fix(draw) fix stride realted bugs in SW render 2023-09-28 12:22:49 +02:00
PGNetHun
8c2fc7ec4b chore: code and documentation cleanups, renames and fixes (#4607) 2023-09-27 12:23:40 +02:00
Gabor Kiss-Vamosi
0721884ee9 refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale 2023-09-18 22:57:30 +02:00
Gabor Kiss-Vamosi
ca55b2ed8d arch(img_decoder): replace read_liine_c with get_area_cb
also remove sjpeg support as get_area_cb can de quite same (some optimization is still needed to not decode the out of bounds chunks)
2023-09-18 21:19:00 +02:00
Gabor Kiss-Vamosi
757877b1fc feat(cache): rework cache
- based in cache size instead of entry count
- not only for images
- needs to be called manually in decoders (and not the cache manages the decoders)
2023-09-14 23:23:29 +02:00
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +02:00
Gabor Kiss-Vamosi
490f3da4e7 feat(img): replace image decider read_line_cb with get_area_cb 2023-09-01 13:38:58 +02:00
Gabor Kiss-Vamosi
c3e2120616 feat(img): add img.header.stride
see https://github.com/lvgl/lvgl/pull/4414#issuecomment-1698538169
2023-08-31 19:54:36 +02:00
Neo Xu
b6c5ab3954 chore: remove not needed "expression ? true : false" (#4485)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-25 22:58:21 +02:00
Gabor Kiss-Vamosi
9064e121ba feat(draw_buf): add lv_draw_buf_get_buf to properly handle mem align 2023-08-13 20:56:31 +02:00
Gabor Kiss-Vamosi
7fb3d7eb38 fix(img_draw): fix recoloring of RGB565A8 images 2023-08-11 19:40:42 +02:00
Gabor Kiss-Vamosi
45aa59a473 feat(draw_buf): add lv_draw_buf_t for stride support (#4423) 2023-07-31 18:44:02 +02:00
Peter Bee
9beca819fb fix(draw): Check for decoder result in sw_draw_img (#4416)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-07-31 12:46:33 +02:00
Neo Xu
4e00e62846 chore: specify color format value in enum (#4352)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-07-13 20:43:14 +02:00
Gabor Kiss-Vamosi
f753265a79 arch(draw): add parallel rendering architecture
BREAKING CHANGE

This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00
Benign X
42d24403c3 chore: change anlge and zoom to lv_coord (#4247) 2023-05-29 10:18:48 +02:00