Home
last modified time | relevance | path

Searched refs:img_data (Results 1 – 9 of 9) sorted by relevance

/lvgl-3.7.0/src/extra/libs/png/
Dlv_png.c151 uint8_t * img_data = NULL; in decoder_open() local
173 error = lodepng_decode32(&img_data, &png_width, &png_height, png_data, png_data_size); in decoder_open()
176 if(img_data != NULL) { in decoder_open()
177 lv_mem_free(img_data); in decoder_open()
184 convert_color_depth(img_data, png_width * png_height); in decoder_open()
185 dsc->img_data = img_data; in decoder_open()
196 … error = lodepng_decode32(&img_data, &png_width, &png_height, img_dsc->data, img_dsc->data_size); in decoder_open()
199 if(img_data != NULL) { in decoder_open()
200 lv_mem_free(img_data); in decoder_open()
206 convert_color_depth(img_data, png_width * png_height); in decoder_open()
[all …]
/lvgl-3.7.0/src/extra/libs/ffmpeg/
Dlv_ffmpeg.c305 uint8_t * img_data = ffmpeg_get_img_data(ffmpeg_ctx); in decoder_open() local
309 convert_color_depth(img_data, dsc->header.w * dsc->header.h); in decoder_open()
314 dsc->img_data = img_data; in decoder_open()
351 uint8_t * img_data = ffmpeg_ctx->video_dst_data[0]; in ffmpeg_get_img_data() local
353 if(img_data == NULL) { in ffmpeg_get_img_data()
357 return img_data; in ffmpeg_get_img_data()
/lvgl-3.7.0/src/draw/
Dlv_draw_img.c261 cdsc->dec_dsc.img_data = NULL;
272 else if(cdsc->dec_dsc.img_data) {
298 lv_draw_img_decoded(draw_ctx, draw_dsc, coords, cdsc->dec_dsc.img_data, cf);
Dlv_img_decoder.h118 const uint8_t * img_data; member
Dlv_img_decoder.c156 dsc->img_data = NULL; in lv_img_decoder_open()
368 dsc->img_data = ((lv_img_dsc_t *)dsc->src)->data; in lv_img_decoder_built_in_open()
385 dsc->img_data = fs_buf; in lv_img_decoder_built_in_open()
395 dsc->img_data = ((lv_img_dsc_t *)dsc->src)->data; in lv_img_decoder_built_in_open()
/lvgl-3.7.0/docs/overview/
Dimage.md202 …/*Decode and store the image. If `dsc->img_data` is `NULL`, the `read_line` function will be calle…
203 dsc->img_data = my_png_decoder(src);
216 …* Required only if the "open" function can't open the whole decoded pixel array. (dsc->img_data ==…
254 …u can open the image, a pointer to the decoded *True color* image should be set in `dsc->img_data`.
255 …on't want to decode the entire image (e.g. no memory for it), set `dsc->img_data = NULL` and use `…
259 To indicate that the *line read* function should be used, set `dsc->img_data = NULL` in the open fu…
277 /*Do something with `dsc->img_data`*/
288 …images will be left open, hence LVGL can quickly access them from `dsc->img_data` instead of needi…
/lvgl-3.7.0/src/extra/libs/sjpg/
Dlv_sjpg.c421 dsc->img_data = NULL; in decoder_open()
485 dsc->img_data = NULL; in decoder_open()
601 dsc->img_data = NULL; in decoder_open()
689 dsc->img_data = NULL; in decoder_open()
/lvgl-3.7.0/src/extra/libs/bmp/
Dlv_bmp.c179 dsc->img_data = NULL; in decoder_open()
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_img.c246 if(!dsc->img_data) { in upload_img_texture()
252 void * data = (void *) dsc->img_data; in upload_img_texture()