Karl Andersson
e3b747f044
fix: removed LV_ATTRIBUTE_FAST_MEM function attribute from prototypes ( #5467 )
2024-01-25 09:40:40 +01:00
Ju1He1
97aef2bfa5
fix(cmake): declspecs usage for msvc ( #5190 )
2024-01-09 11:44:49 +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
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
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
Gabor Kiss-Vamosi
9264b50c18
docs: update API comments
2023-12-15 12:16:06 +01:00
Gabor Kiss-Vamosi
d5daccdd48
docs: update API comments
2023-12-13 22:23:03 +01:00
terry.rong
0471034a73
perf(gif): add mve(helium) support ( #4819 )
...
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-18 15:58:44 +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
d4613aecbe
feat(draw): add lv_draw_sw_rgb565_swap
2023-11-06 15:22:33 +01:00
Neo Xu
44912f290f
chore(color): add A1/2/4 format bpp info ( #4722 )
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-10-29 16:58:21 +01:00
Neo Xu
c8987aa4d8
chore(color): use lv_color_fomat_get_bpp instead of get_size ( #4668 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-10-19 10:14:29 +02:00
Zoltan Janosy
4f541cf523
feat(observer): implemented an observer pattern ( #4541 )
...
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-10-09 23:20:29 +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
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
Benign X
e0d71d1039
chore: delete dup codes ( #4400 )
...
Signed-off-by: xinbingnan<xinbingnan@xiaomi.com>
2023-07-24 17:34:40 +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
Neo Xu
dd967ffccc
chore: add OPA mix macro ( #4354 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-07-10 20:05:46 +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
Kevin Schlosser
e485dd8bb4
feat(docs): migrate from .md to .rst ( #4129 )
2023-04-27 14:42:02 +02:00
Gabor Kiss-Vamosi
17691cc3ae
fix warnings
...
related #4035
2023-03-16 17:49:05 +01:00
Gabor Kiss-Vamosi
c3194188c9
fix(color): fix warning
...
fixes #4035
2023-03-06 05:57:08 +01:00
Gabor Kiss-Vamosi
124f9b0f9f
arch(driver): new driver architecture with new color format support
2023-02-20 20:50:58 +01:00
domologic
8b6f71a8a7
feat(color): added option to overwrite lv_color_mix ( #3998 )
...
Co-authored-by: komelov <e.komelov@domologic.de>
2023-02-20 11:52:30 +01:00
ckielstra
c069cf18fb
chore(doc) fix spelling in source comments and add missing parameter descriptions ( #3607 )
2022-08-22 09:21:25 -04:00
Gabor Kiss-Vamosi
453ac21254
arch(color): define generic color formats and add draw_ctx->buffer_convert
2022-07-21 07:28:19 +02:00
Gabor Kiss-Vamosi
6104855491
fix(conf): fix a lot of new config realted issues
2022-07-19 17:21:19 +02:00
Gabor Kiss-Vamosi
42d9c07eeb
fix(color): compensate rounding error during blending
...
fixes #3362
2022-05-18 23:08:12 +02:00
Gabor Kiss-Vamosi
523062b9ee
fix(color): color mix rounding error
...
fixes : #3362
2022-05-18 07:57:48 +02:00
Gabor Kiss-Vamosi
318146a2c2
feat(draw): support transforming widgets and improfe sw transform
...
For details see: https://docs.lvgl.io/master/overview/style.html
2022-04-26 10:45:12 +02:00
ckielstra
f79e2838cb
chore(doc): spelling ( #3172 )
...
* Spelling: 'an unicode' -> 'a unicode'
* fix(changelog) spelling
* Remove double spaces
* Spelling
2022-03-16 10:19:19 +01:00
X-Ryl669
0564b93d0e
perf(color): add faster lv_color_hex function ( #2864 )
...
* Add faster lv_color_hex method to convert from ARGB32 to lv_color_t, bypassing lv_color_make and component extraction
* Update src/misc/lv_color.h
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-12-03 10:22:13 +01:00
Xiang Xiao
ddfdccac3c
fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable ( #2766 )
...
* fix(config): check macro equal one correctly
1.remove all tabs from lv_conf_internal_gen.py
2.make the generated code align each other
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 14:40:08 +01:00
Xiang Xiao
dfb036e42c
fix(misc): correct the comment and code style ( #2769 )
...
and remove the redundant inclusion
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-08 11:28:52 +01:00
Xiang Xiao
a4978d0913
fix(color): minor fixes( #2767 )
...
* fix(color): move LV_UDIV255 to lv_math.h
since lv_math.h is better place for the computation function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(color): replace the inifite loop with LV_ASSERT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 10:54:13 +01:00
eudoxos
58ea2787b4
expose LV_COLOR_DEPTH and LV_COLOR_16_SWAP in micropython ( #2679 )
2021-10-18 13:39:04 +02:00
Gabor Kiss-Vamosi
d67dd943ca
format run code-formtter.sh
...
related to #2543
2021-09-13 14:06:26 +02:00
Gabor Kiss-Vamosi
f3342269f2
fix(color) fox color premult precision with 16 bit color depth
2021-09-02 13:41:30 +02:00
Kevin Thibedeau
4d74194e0d
fix(color) Bad cast in lv_color_mix() caused UB with 16bpp or less ( #2509 )
2021-08-30 16:46:41 +02:00
Gabor Kiss-Vamosi
5b3d3dc8b3
perf(draw) reimplement rectangle drawing algorithms
...
No functionalty has changed only make them more readable and faster.
2021-08-02 15:45:14 +02:00
Gabor Kiss-Vamosi
637b706ddc
perf(draw) reimplement circle drawing algorithms ( #2374 )
...
* perf(draw) reimplement circle drawing algorithms
Imporve the speed of circle drawing
Add circle draw caching
Various other speed improvements
* docs describe how to use masks
* fix(draw) add missing GC root usage
2021-07-27 19:16:00 +02:00
Themba Dube
157534cdbf
fix(color) remove extraneous cast for 8-bit color
...
This brings it in line with the corresponding macros for other BPP values.
This issue was found via CI added in the following commit.
2021-07-15 17:11:53 -04:00
embeddedt
d79ca388ef
fix(color) remove extraneous _LV_COLOR_MAKE_TYPE_HELPER ( #2372 )
...
This updates it to match the other `LV_COLOR_MAKEXX` (where XX is the color depth) lines.
2021-07-15 17:57:30 +02:00
Gabor Kiss-Vamosi
1cb57494df
revert attempts to make struct private
...
feat/priate-struct was create as snapshot before this commit
2021-05-30 15:15:43 +02:00
Gabor Kiss-Vamosi
4554f5d9c3
fix try a different approach to make structs private
2021-05-29 09:32:19 +02:00
Gabor Kiss-Vamosi
d527ca019a
Revert "fix how the private struct are handled in function pointer typedefs"
...
This reverts commit b1bcff6f8f1f23d7e07b7cf20b0c1e0f1746df87.
2021-05-29 09:11:41 +02:00
Gabor Kiss-Vamosi
b1bcff6f8f
fix how the private struct are handled in function pointer typedefs
...
Do no use '_' for compatibility with Micropython binding.
2021-05-29 07:26:24 +02:00
Gabor Kiss-Vamosi
e29c96e975
fix export missing constants and defines to make them available in Micropython binding.
2021-05-13 16:04:32 +02:00
Gabor Kiss-Vamosi
638682de4a
fix(tlsf) add missing include
2021-04-24 17:43:33 +02:00