Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 29) sorted by relevance

12

/lvgl-3.7.0/src/draw/
Dlv_img_decoder.h54 typedef lv_res_t (*lv_img_decoder_info_f_t)(struct _lv_img_decoder_t * decoder, const void * src,
62 typedef lv_res_t (*lv_img_decoder_open_f_t)(struct _lv_img_decoder_t * decoder, struct _lv_img_deco…
75 typedef lv_res_t (*lv_img_decoder_read_line_f_t)(struct _lv_img_decoder_t * decoder, struct _lv_img…
83 typedef void (*lv_img_decoder_close_f_t)(struct _lv_img_decoder_t * decoder, struct _lv_img_decoder…
99 lv_img_decoder_t * decoder; member
196 void lv_img_decoder_delete(lv_img_decoder_t * decoder);
203 void lv_img_decoder_set_info_cb(lv_img_decoder_t * decoder, lv_img_decoder_info_f_t info_cb);
210 void lv_img_decoder_set_open_cb(lv_img_decoder_t * decoder, lv_img_decoder_open_f_t open_cb);
217 void lv_img_decoder_set_read_line_cb(lv_img_decoder_t * decoder, lv_img_decoder_read_line_f_t read_…
224 void lv_img_decoder_set_close_cb(lv_img_decoder_t * decoder, lv_img_decoder_close_f_t close_cb);
[all …]
Dlv_img_decoder.c60 lv_img_decoder_t * decoder; in _lv_img_decoder_init() local
63 decoder = lv_img_decoder_create(); in _lv_img_decoder_init()
64 LV_ASSERT_MALLOC(decoder); in _lv_img_decoder_init()
65 if(decoder == NULL) { in _lv_img_decoder_init()
70 lv_img_decoder_set_info_cb(decoder, lv_img_decoder_built_in_info); in _lv_img_decoder_init()
71 lv_img_decoder_set_open_cb(decoder, lv_img_decoder_built_in_open); in _lv_img_decoder_init()
72 lv_img_decoder_set_read_line_cb(decoder, lv_img_decoder_built_in_read_line); in _lv_img_decoder_init()
73 lv_img_decoder_set_close_cb(decoder, lv_img_decoder_built_in_close); in _lv_img_decoder_init()
138 lv_img_decoder_t * decoder; in lv_img_decoder_open() local
139 _LV_LL_READ(&LV_GC_ROOT(_lv_img_decoder_ll), decoder) { in lv_img_decoder_open()
[all …]
/lvgl-3.7.0/src/extra/libs/bmp/
Dlv_bmp.c34 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header…
37 static lv_res_t decoder_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc,
72 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header) in decoder_info() argument
74 LV_UNUSED(decoder); in decoder_info()
122 static lv_res_t decoder_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) in decoder_open() argument
124 LV_UNUSED(decoder); in decoder_open()
191 static lv_res_t decoder_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc, in decoder_read_line() argument
194 LV_UNUSED(decoder); in decoder_read_line()
245 static void decoder_close(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) in decoder_close() argument
247 LV_UNUSED(decoder); in decoder_close()
/lvgl-3.7.0/examples/widgets/img/
Dlv_example_img_1.py8 decoder = lv.img.decoder_create() variable
9 decoder.info_cb = get_png_info
10 decoder.open_cb = open_png
Dlv_example_img_4.py8 decoder = lv.img.decoder_create() variable
9 decoder.info_cb = get_png_info
10 decoder.open_cb = open_png
Dlv_example_img_3.py8 decoder = lv.img.decoder_create() variable
9 decoder.info_cb = get_png_info
10 decoder.open_cb = open_png
Dlv_example_img_2.py8 decoder = lv.img.decoder_create() variable
9 decoder.info_cb = get_png_info
10 decoder.open_cb = open_png
/lvgl-3.7.0/examples/libs/png/
Dlv_example_png_1.py7 decoder = lv.img.decoder_create() variable
8 decoder.info_cb = get_png_info
9 decoder.open_cb = open_png
/lvgl-3.7.0/examples/widgets/dropdown/
Dlv_example_dropdown_3.py4 decoder = lv.img.decoder_create() variable
5 decoder.info_cb = get_png_info
6 decoder.open_cb = open_png
/lvgl-3.7.0/examples/widgets/animimg/
Dlv_example_animimg_1.py4 decoder = lv.img.decoder_create() variable
5 decoder.info_cb = get_png_info
6 decoder.open_cb = open_png
/lvgl-3.7.0/examples/styles/
Dlv_example_style_6.py3 decoder = lv.img.decoder_create() variable
4 decoder.info_cb = get_png_info
5 decoder.open_cb = open_png
/lvgl-3.7.0/docs/overview/
Dimage.md57 …ed with one of the built-in color formats and an external [Image decoder](#image-decoder) needs to…
126 ## Image decoder
129 …mats, you need to use external libraries and attach them to LVGL via the *Image decoder* interface.
131 An image decoder consists of 4 callbacks:
139 …IMG_ALPHA_...` formats (essentially, all non-`RAW` formats) are understood by the built-in decoder.
143 …aded and write it as an image "bitmap". You then need to attach an image decoder that will parse t…
147 …ts are considered *True color* by the library. In other words, the image decoder must decode the *…
151 …t first (for example: `LV_IMG_INDEXED_4BITS`) and then call the built-in decoder functions to conv…
156 ### Register an image decoder argument
160 First, you need to create a new image decoder and set some functions to open/close the PNG files. I…
[all …]
/lvgl-3.7.0/src/extra/libs/png/
Dlv_png.c27 static lv_res_t decoder_info(struct _lv_img_decoder_t * decoder, const void * src, lv_img_header_t …
65 static lv_res_t decoder_info(struct _lv_img_decoder_t * decoder, const void * src, lv_img_header_t … in decoder_info() argument
67 (void) decoder; /*Unused*/ in decoder_info()
145 static lv_res_t decoder_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) in decoder_open() argument
148 (void) decoder; /*Unused*/ in decoder_open()
218 static void decoder_close(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) in decoder_close() argument
220 LV_UNUSED(decoder); /*Unused*/ in decoder_close()
/lvgl-3.7.0/examples/widgets/imgbtn/
Dlv_example_imgbtn_1.py4 decoder = lv.img.decoder_create() variable
5 decoder.info_cb = get_png_info
6 decoder.open_cb = open_png
/lvgl-3.7.0/examples/widgets/meter/
Dlv_example_meter_3.py8 decoder = lv.img.decoder_create() variable
9 decoder.info_cb = get_png_info
10 decoder.open_cb = open_png
/lvgl-3.7.0/docs/libs/
Dbmp.md2 # BMP decoder
5 This implementation uses [bmp-decoder](https://github.com/caj-johnson/bmp-decoder) library.
8 If enabled in `lv_conf.h` by `LV_USE_BMP` LVGL will register a new image decoder automatically so B…
Dpng.md2 # PNG decoder
6 If enabled in `lv_conf.h` by `LV_USE_PNG` LVGL will register a new image decoder automatically so P…
Dsjpg.md2 # JPG decoder
19 If enabled in `lv_conf.h` by `LV_USE_SJPG` LVGL will register a new image decoder automatically so …
Dgif.md2 # GIF decoder
/lvgl-3.7.0/examples/others/snapshot/
Dlv_example_snapshot_1.py6 decoder = lv.img.decoder_create() variable
7 decoder.info_cb = get_png_info
8 decoder.open_cb = open_png
/lvgl-3.7.0/examples/widgets/btnmatrix/
Dlv_example_btnmatrix_2.py4 decoder = lv.img.decoder_create() variable
5 decoder.info_cb = get_png_info
6 decoder.open_cb = open_png
/lvgl-3.7.0/src/extra/libs/sjpg/
Dlv_sjpg.c107 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header…
108 static lv_res_t decoder_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc);
109 static lv_res_t decoder_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc, lv_coord_…
111 static void decoder_close(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc);
147 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header) in decoder_info() argument
149 LV_UNUSED(decoder); in decoder_info()
343 static lv_res_t decoder_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) in decoder_open() argument
345 LV_UNUSED(decoder); in decoder_open()
716 static lv_res_t decoder_read_line(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc, lv_coord_… in decoder_read_line() argument
719 LV_UNUSED(decoder); in decoder_read_line()
[all …]
/lvgl-3.7.0/docs/others/
Dimgfont.md4 Supported image formats: determined by LVGL image decoder.
/lvgl-3.7.0/src/extra/libs/ffmpeg/
Dlv_ffmpeg.c72 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header…
261 static lv_res_t decoder_info(lv_img_decoder_t * decoder, const void * src, lv_img_header_t * header) in decoder_info() argument
281 static lv_res_t decoder_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) in decoder_open() argument
324 static void decoder_close(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t * dsc) in decoder_close() argument
/lvgl-3.7.0/docs/widgets/core/
Dimg.md8 Using the [Image decoder interface](/overview/image.html#image-decoder) custom image formats can be…
87 … work only on true color images stored as C array, or if a custom [Image decoder](/overview/images…

12