/lvgl-latest/tests/src/test_cases/draw/ |
D | test_draw_sw_post_process.c | 88 uint8_t srcArray[3 * 2 * 3] = { in test_rotate90_RGB888() 92 uint8_t dstArray[2 * 3 * 3] = {0}; in test_rotate90_RGB888() 94 uint8_t expectedArray[2 * 3 * 3] = { in test_rotate90_RGB888() 112 uint8_t srcArray[3 * 2 * 3] = { in test_rotate180_RGB888() 116 uint8_t dstArray[3 * 2 * 3] = {0}; in test_rotate180_RGB888() 118 uint8_t expectedArray[3 * 2 * 3] = { in test_rotate180_RGB888() 135 uint8_t srcArray[3 * 2 * 3] = { in test_rotate270_RGB888() 139 uint8_t dstArray[2 * 3 * 3] = {0}; in test_rotate270_RGB888() 141 uint8_t expectedArray[2 * 3 * 3] = { in test_rotate270_RGB888() 230 uint8_t srcArray[3 * 2] = { in test_rotate90_L8() [all …]
|
/lvgl-latest/tests/src/test_libs/rnd_unicodes/rnd_unicodes/src/ |
D | library.c | 92 buf[buf_index++] = (uint8_t) unicode; in unicode_to_uft8() 95 buf[buf_index++] = (uint8_t)(0xc0 | (unicode >> 6)); in unicode_to_uft8() 96 buf[buf_index++] = (uint8_t)(0x80 | (unicode & 0x3f)); in unicode_to_uft8() 99 buf[buf_index++] = (uint8_t)(0xe0 | (unicode >> 12)); in unicode_to_uft8() 100 buf[buf_index++] = (uint8_t)(0x80 | ((unicode >> 6) & 0x3f)); in unicode_to_uft8() 101 buf[buf_index++] = (uint8_t)(0x80 | (unicode & 0x3f)); in unicode_to_uft8() 104 buf[buf_index++] = (uint8_t)(0xf0 | (unicode >> 18)); in unicode_to_uft8() 105 buf[buf_index++] = (uint8_t)(0x80 | ((unicode >> 12) & 0x3f)); in unicode_to_uft8() 106 buf[buf_index++] = (uint8_t)(0x80 | ((unicode >> 6) & 0x3f)); in unicode_to_uft8() 107 buf[buf_index++] = (uint8_t)(0x80 | (unicode & 0x3f)); in unicode_to_uft8() [all …]
|
/lvgl-latest/src/libs/tjpgd/ |
D | tjpgd.h | 22 typedef uint8_t jd_yuv_t; 55 uint8_t * dptr; /* Current data read ptr */ 56 uint8_t * inbuf; /* Bit stream input buffer */ 57 uint8_t dbit; /* Number of bits available in wreg or reading bit mask */ 58 uint8_t scale; /* Output scaling ratio */ 59 uint8_t msx, msy; /* MCU size in unit of block (width, height) */ 60 uint8_t qtid[3]; /* Quantization table ID of each component, Y, Cb, Cr */ 61 uint8_t ncomp; /* Number of color components 1:grayscale, 3:color */ 67 uint8_t * huffbits[2][2]; /* Huffman bit distribution tables [id][dcac] */ 69 uint8_t * huffdata[2][2]; /* Huffman decoded data tables [id][dcac] */ [all …]
|
/lvgl-latest/src/misc/ |
D | lv_color.h | 102 uint8_t blue; 103 uint8_t green; 104 uint8_t red; 114 uint8_t blue; 115 uint8_t green; 116 uint8_t red; 117 uint8_t alpha; 122 uint8_t s; 123 uint8_t v; 127 uint8_t lumi; [all …]
|
D | lv_color.c | 43 uint8_t lv_color_format_get_bpp(lv_color_format_t cf) in lv_color_format_get_bpp() 137 lv_color_t lv_color_hsv_to_rgb(uint16_t h, uint8_t s, uint8_t v) in lv_color_hsv_to_rgb() 143 uint8_t r, g, b; in lv_color_hsv_to_rgb() 145 uint8_t region, remainder, p, q, t; in lv_color_hsv_to_rgb() 195 lv_color_hsv_t lv_color_rgb_to_hsv(uint8_t r8, uint8_t g8, uint8_t b8) in lv_color_rgb_to_hsv() 251 uint8_t lv_color_format_get_size(lv_color_format_t cf) in lv_color_format_get_size() 258 uint8_t * tmp = (uint8_t *) &c; in lv_color_to_int() 281 lv_color_t lv_color_make(uint8_t r, uint8_t g, uint8_t b) in lv_color_make() 290 lv_color32_t lv_color32_make(uint8_t r, uint8_t g, uint8_t b, uint8_t a) in lv_color32_make() 302 …return lv_color_make((uint8_t)(((c >> 4) & 0xF0) | ((c >> 8) & 0xF)), (uint8_t)((c & 0xF0) | ((c &… in lv_color_hex3() [all …]
|
/lvgl-latest/src/libs/qrcode/ |
D | qrcodegen.h | 123 uint8_t * data; 172 bool qrcodegen_encodeText(const char * text, uint8_t tempBuffer[], uint8_t qrcode[], 194 bool qrcodegen_encodeBinary(uint8_t dataAndTemp[], size_t dataLen, uint8_t qrcode[], 213 enum qrcodegen_Ecc ecl, uint8_t tempBuffer[], uint8_t qrcode[]); 232 … int minVersion, int maxVersion, int mask, bool boostEcl, uint8_t tempBuffer[], uint8_t qrcode[]); 269 struct qrcodegen_Segment qrcodegen_makeBytes(const uint8_t data[], size_t len, uint8_t buf[]); 275 struct qrcodegen_Segment qrcodegen_makeNumeric(const char * digits, uint8_t buf[]); 283 struct qrcodegen_Segment qrcodegen_makeAlphanumeric(const char * text, uint8_t buf[]); 290 struct qrcodegen_Segment qrcodegen_makeEci(long assignVal, uint8_t buf[]); 301 int qrcodegen_getSize(const uint8_t qrcode[]); [all …]
|
D | qrcodegen.c | 57 testable void appendBitsToBuffer(unsigned int val, int numBits, uint8_t buffer[], int * bitLen); 59 testable void addEccAndInterleave(uint8_t data[], int version, enum qrcodegen_Ecc ecl, uint8_t resu… 63 testable void calcReedSolomonGenerator(int degree, uint8_t result[]); 64 testable void calcReedSolomonRemainder(const uint8_t data[], int dataLen, 65 const uint8_t generator[], int degree, uint8_t result[]); 66 testable uint8_t finiteFieldMultiply(uint8_t x, uint8_t y); 68 testable void initializeFunctionModules(int version, uint8_t qrcode[]); 69 static void drawWhiteFunctionModules(uint8_t qrcode[], int version); 70 static void drawFormatBits(enum qrcodegen_Ecc ecl, enum qrcodegen_Mask mask, uint8_t qrcode[]); 71 testable int getAlignmentPatternPositions(int version, uint8_t result[7]); [all …]
|
/lvgl-latest/src/indev/ |
D | lv_indev_private.h | 39 uint8_t long_pr_sent : 1; 40 uint8_t reset_query : 1; 41 uint8_t enabled : 1; 42 uint8_t wait_until_release : 1; 43 uint8_t stop_processing_query : 1; 58 uint8_t scroll_limit; 61 uint8_t scroll_throw; 64 uint8_t gesture_min_velocity; 67 uint8_t gesture_limit; 96 uint8_t short_click_streak; [all …]
|
/lvgl-latest/src/libs/gif/ |
D | gifdec.h | 15 uint8_t colors[0x100 * 3]; 20 uint8_t tindex; 21 uint8_t disposal; 31 uint8_t is_file; 42 uint16_t tw, uint16_t th, uint8_t cw, uint8_t ch, 43 uint8_t fg, uint8_t bg 48 uint8_t bgindex; 49 uint8_t * canvas, * frame; 51 uint8_t *lzw_cache; 59 void gd_render_frame(gd_GIF * gif, uint8_t * buffer);
|
D | gifdec_mve.h | 41 static inline void _gifdec_fill_bg_mve(uint8_t * dst, uint16_t w, uint16_t h, uint16_t stride, uint… in _gifdec_fill_bg_mve() 42 uint8_t opa) in _gifdec_fill_bg_mve() 70 static inline void _gifdec_render_frame_mve(uint8_t * dst, uint16_t w, uint16_t h, uint16_t stride,… in _gifdec_render_frame_mve() 71 uint8_t * pattern, uint16_t tindex) in _gifdec_render_frame_mve()
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgSwCommon.h | 107 Array<uint8_t> types; //curve type 116 uint8_t coverage; 168 uint8_t* tags; 231 uint8_t* buf8; //for explicit 8bits grayscale 237 uint8_t channelSize; 243 typedef uint8_t(*SwMask)(uint8_t s, uint8_t d, uint8_t a); //src, dst, alpha 244 typedef uint32_t(*SwBlender)(uint32_t s, uint32_t d, uint8_t a); //src, dst, alpha 245 typedef uint32_t(*SwJoin)(uint8_t r, uint8_t g, uint8_t b, uint8_t a); //color channel join 246 typedef uint8_t(*SwAlpha)(uint8_t*); //blending alpha 300 static inline uint32_t JOIN(uint8_t c0, uint8_t c1, uint8_t c2, uint8_t c3) in JOIN() [all …]
|
D | tvgRender.h | 41 enum RenderUpdateFlag : uint8_t {None = 0, Path = 1, Color = 2, Gradient = 4, Stroke = 8, Transform… 44 enum ColorSpace : uint8_t 59 uint8_t* buf8; //for explicit 8bits grayscale 65 uint8_t channelSize = 0; 89 uint8_t opacity; 109 uint8_t color[4] = {0, 0, 0, 0}; 193 uint8_t color[4] = {0, 0, 0, 0}; //r, g, b, a 202 void fillColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) const in fillColor() 224 bool strokeColor(uint8_t* r, uint8_t* g, uint8_t* b, uint8_t* a) const in strokeColor() 285 uint8_t direction; //0: both, 1: horizontal, 2: vertical [all …]
|
D | tvgSwRaster.cpp | 45 …void operator()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, SwMask op,… in operator ()() 50 …id operator()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* cmp… in operator ()() 55 …)(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender op, uint8_t a) in operator ()() 60 …nt32_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* cmp, SwAlpha alpha, uint8_t csize, uin… in operator ()() 65 … fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender op, SwBlender op2, uint8_t a) in operator ()() 74 …void operator()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, SwMask op,… in operator ()() 79 …id operator()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* cmp… in operator ()() 84 …)(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender op, uint8_t a) in operator ()() 89 …nt32_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* cmp, SwAlpha alpha, uint8_t csize, uin… in operator ()() 94 … fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender op, SwBlender op2, uint8_t a) in operator ()() [all …]
|
/lvgl-latest/tests/makefile_uefi/ |
D | test.c | 13 const uint8_t * ct_8 = (const uint8_t *) ct; in memcpy() 14 uint8_t * s_8 = (uint8_t *) s; in memcpy() 26 uint8_t * s_8 = (uint8_t *)s; in memset() 29 *s_8++ = (uint8_t)c; in memset()
|
/lvgl-latest/libs/nema_gfx/include/ |
D | nema_font.h | 57 uint8_t width; 58 uint8_t xAdvance; 62 uint8_t kern_length; 67 uint8_t width; 68 uint8_t xAdvance; 83 const uint8_t *bitmap; 85 uint8_t xAdvance; //default xAdvance 86 uint8_t yAdvance; 87 uint8_t max_ascender; 88 uint8_t bpp;
|
D | nema_vg_context.h | 128 void nema_vg_set_fill_rule(uint8_t fill_rule); 142 void nema_vg_stroke_set_cap_style(uint8_t start_cap_style, uint8_t end_cap_style); 149 void nema_vg_stroke_set_join_style(uint8_t join_style); 165 void nema_vg_masking(uint8_t masking); 188 void nema_vg_set_quality(uint8_t quality); 211 void nema_vg_handle_large_coords(uint8_t enable, uint8_t allow_internal_alloc);
|
/lvgl-latest/src/drivers/display/lcd/ |
D | lv_lcd_generic_mipi.c | 26 static void send_cmd(lv_lcd_generic_mipi_driver_t * drv, uint8_t cmd, uint8_t * param, size_t param… 27 static void send_color(lv_lcd_generic_mipi_driver_t * drv, uint8_t cmd, uint8_t * param, size_t par… 34 static void flush_cb(lv_display_t * disp, const lv_area_t * area, uint8_t * px_map); 96 uint8_t mad = drv->madctl_reg & ~(LV_LCD_MASK_RGB_ORDER); in lv_lcd_generic_mipi_set_address_mode() 107 void lv_lcd_generic_mipi_set_gamma_curve(lv_display_t * disp, uint8_t gamma) in lv_lcd_generic_mipi_set_gamma_curve() 110 send_cmd(drv, LV_LCD_CMD_SET_GAMMA_CURVE, (uint8_t[]) { in lv_lcd_generic_mipi_set_gamma_curve() 115 void lv_lcd_generic_mipi_send_cmd_list(lv_display_t * disp, const uint8_t * cmd_list) in lv_lcd_generic_mipi_send_cmd_list() 119 uint8_t cmd = *cmd_list++; in lv_lcd_generic_mipi_send_cmd_list() 120 uint8_t num = *cmd_list++; in lv_lcd_generic_mipi_send_cmd_list() 146 static void send_cmd(lv_lcd_generic_mipi_driver_t * drv, uint8_t cmd, uint8_t * param, size_t param… in send_cmd() [all …]
|
D | lv_lcd_generic_mipi.h | 142 …id (*lv_lcd_send_cmd_cb_t)(lv_display_t * disp, const uint8_t * cmd, size_t cmd_size, const uint8_… 153 …oid (*lv_lcd_send_color_cb_t)(lv_display_t * disp, const uint8_t * cmd, size_t cmd_size, uint8_t *… 165 uint8_t madctl_reg; /* current value of MADCTL register */ 166 uint8_t colmod_reg; /* current value of COLMOD register */ 218 void lv_lcd_generic_mipi_set_gamma_curve(lv_display_t * disp, uint8_t gamma); 225 void lv_lcd_generic_mipi_send_cmd_list(lv_display_t * disp, const uint8_t * cmd_list);
|
/lvgl-latest/src/draw/sw/blend/ |
D | lv_draw_sw_blend_to_i1.c | 55 const uint8_t src_px_size); 62 …e void /* LV_ATTRIBUTE_FAST_MEM */ lv_color_8_8_mix(const uint8_t src, uint8_t * dest, uint8_t mix… 64 static inline void /* LV_ATTRIBUTE_FAST_MEM */ blend_non_normal_pixel(uint8_t * dest_buf, int32_t d… 69 static inline void /* LV_ATTRIBUTE_FAST_MEM */ set_bit(uint8_t * buf, int32_t bit_idx); 71 static inline void /* LV_ATTRIBUTE_FAST_MEM */ clear_bit(uint8_t * buf, int32_t bit_idx); 73 static inline uint8_t /* LV_ATTRIBUTE_FAST_MEM */ get_bit(const uint8_t * buf, int32_t bit_idx); 212 uint8_t src_color = lv_color_luminance(dsc->color) / (I1_LUM_THRESHOLD + 1); in lv_draw_sw_blend_color_to_i1() 213 uint8_t * dest_buf = dsc->dest_buf; in lv_draw_sw_blend_color_to_i1() 238 uint8_t * dest_bit = &dest_buf[(x + bit_ofs) / 8]; in lv_draw_sw_blend_color_to_i1() 239 uint8_t current_bit = (*dest_bit >> (7 - ((x + bit_ofs) % 8))) & 0x01; in lv_draw_sw_blend_color_to_i1() [all …]
|
/lvgl-latest/src/widgets/textarea/ |
D | lv_textarea_private.h | 47 uint8_t show : 1; /**< Cursor is visible now or not (Handled by the library) */ 48 uint8_t click_pos : 1; /**< 1: Enable positioning the cursor by clicking the text area */ 53 uint8_t text_sel_in_prog : 1; /**< User is in process of selecting */ 54 uint8_t text_sel_en : 1; /**< Text can be selected on this text area */ 56 uint8_t pwd_mode : 1; /**< Replace characters with '*' */ 57 uint8_t one_line : 1; /**< One line mode (ignore line breaks) */
|
/lvgl-latest/src/font/ |
D | lv_font_fmt_txt.c | 43 …static void decompress(const uint8_t * in, uint8_t * out, int32_t w, int32_t h, uint8_t bpp, bool … 44 static inline void decompress_line(uint8_t * out, int32_t w); 45 static inline uint8_t get_bits(const uint8_t * in, uint32_t bit_pos, uint8_t len); 46 static inline void rle_init(const uint8_t * in, uint8_t bpp); 47 static inline uint8_t rle_next(void); 54 static const uint8_t opa4_table[16] = {0, 17, 34, 51, 61 static const uint8_t opa3_table[8] = {0, 36, 73, 109, 146, 182, 218, 255}; 64 static const uint8_t opa2_table[4] = {0, 85, 170, 255}; 81 uint8_t * bitmap_out = draw_buf->data; in lv_font_get_bitmap_fmt_txt() 97 const uint8_t * bitmap_in = &fdsc->glyph_bitmap[gdsc->bitmap_index]; in lv_font_get_bitmap_fmt_txt() [all …]
|
D | lv_font_fmt_txt.h | 32 uint8_t box_w; /**< Width of the glyph's bounding box*/ 33 uint8_t box_h; /**< Height of the glyph's bounding box*/ 137 …const uint8_t * left_class_mapping; /**< Map the glyph_ids to classes: index -> glyph_id -> clas… 138 …const uint8_t * right_class_mapping; /**< Map the glyph_ids to classes: index -> glyph_id -> clas… 139 uint8_t left_class_cnt; 140 uint8_t right_class_cnt; 154 const uint8_t * glyph_bitmap;
|
D | lv_binfont_loader.c | 22 uint8_t byte_value; 38 uint8_t index_to_loc_format; 39 uint8_t glyph_id_format; 40 uint8_t advance_width_format; 41 uint8_t bits_per_pixel; 42 uint8_t xy_bits; 43 uint8_t wh_bits; 44 uint8_t advance_width_bits; 45 uint8_t compression_id; 46 uint8_t subpixels_mode; [all …]
|
/lvgl-latest/examples/porting/ |
D | lv_port_lcd_stm32_template.c | 44 static void lcd_send_cmd(lv_display_t * disp, const uint8_t * cmd, size_t cmd_size, const uint8_t *… 46 static void lcd_send_color(lv_display_t * disp, const uint8_t * cmd, size_t cmd_size, uint8_t * par… 74 uint8_t * buf1 = NULL; 75 uint8_t * buf2 = NULL; 127 static void lcd_send_cmd(lv_display_t * disp, const uint8_t * cmd, size_t cmd_size, const uint8_t *… 144 HAL_SPI_Transmit(&hspi1, (uint8_t *)param, (uint16_t)param_size, BUS_SPI1_POLL_TIMEOUT); 153 static void lcd_send_color(lv_display_t * disp, const uint8_t * cmd, size_t cmd_size, uint8_t * par…
|
/lvgl-latest/tests/src/test_cases/ |
D | test_font_loader.c | 50 extern uint8_t const test_font_1_buf[6876]; 51 extern uint8_t const test_font_2_buf[7252]; 52 extern uint8_t const test_font_3_buf[4892]; 219 (uint8_t *)cmaps1->unicode_list, in compare_fonts() 220 (uint8_t *)cmaps2->unicode_list, in compare_fonts() 231 uint8_t * ids1 = (uint8_t *)cmaps1->glyph_id_ofs_list; in compare_fonts() 232 uint8_t * ids2 = (uint8_t *)cmaps2->glyph_id_ofs_list; in compare_fonts() 250 (uint8_t *)kern1->left_class_mapping, in compare_fonts() 251 (uint8_t *)kern2->left_class_mapping, in compare_fonts() 256 (uint8_t *)kern1->right_class_mapping, in compare_fonts() [all …]
|