i2c_oled sample
lv_img_decoder_dsc_t
is only used within i2c_oled sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
i2c_oled sample
lv_img_decoder_dsc_t
lv_img_decoder_dsc_t struct
Syntax
Show:
Summary
Declaration
Definition
from
lv_img_decoder.h:44
struct
_lv_img_decoder_dsc_t
;
Implemented in
lv_img_decoder.h:99
Fields
Field
Declared as
Description
_lv_img_decoder_dsc_t::header
lv_img_header_t
Info about the opened image: color format, size, etc. MUST be set in `open` function.
_lv_img_decoder_dsc_t::img_data
const
uint8_t
*
Pointer to a buffer where the image's data (pixels) are stored in a decoded, plain format. MUST be set in `open` function.
_lv_img_decoder_dsc_t::time_to_open
uint32_t
How much time did it take to open the image. [ms] If not set `lv_img_cache` will measure and set the time to open.
_lv_img_decoder_dsc_t::error_msg
const
char
*
A text to display instead of the image when the image can't be opened. Can be set in `open` function or set NULL.
_lv_img_decoder_dsc_t::user_data
void
*
Store any custom data here is required.
_lv_img_decoder_dsc_t::decoder
lv_img_decoder_t
*
The decoder which was able to open the image source.
_lv_img_decoder_dsc_t::src
const
void
*
The image source. A file path like "S:my_img.png" or pointer to an `lv_img_dsc_t` variable.
_lv_img_decoder_dsc_t::color
lv_color_t
Color to draw the image. USed when the image has alpha channel only.
_lv_img_decoder_dsc_t::frame_id
int32_t
Frame of the image, using with animated images.
_lv_img_decoder_dsc_t::src_type
lv_img_src_t
Type of the source: file or variable. Can be set in `open` function if required.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out