Searched refs:px_size (Results 1 – 5 of 5) sorted by relevance
186 uint8_t px_size; member333 uint8_t px_size; in _lv_img_buf_transform() local337 px_size = LV_COLOR_SIZE >> 3; in _lv_img_buf_transform()339 pxi = dsc->cfg.src_w * ys_int * px_size + xs_int * px_size; in _lv_img_buf_transform()340 _lv_memcpy_small(&dsc->res.color, &src_u8[pxi], px_size); in _lv_img_buf_transform()343 px_size = LV_IMG_PX_SIZE_ALPHA_BYTE; in _lv_img_buf_transform()344 pxi = dsc->cfg.src_w * ys_int * px_size + xs_int * px_size; in _lv_img_buf_transform()345 _lv_memcpy_small(&dsc->res.color, &src_u8[pxi], px_size - 1); in _lv_img_buf_transform()346 dsc->res.opa = src_u8[pxi + px_size - 1]; in _lv_img_buf_transform()351 px_size = 0; /*unused*/ in _lv_img_buf_transform()[all …]
59 uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf) >> 3; in lv_img_buf_get_px_color() local60 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_get_px_color()187 uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf) >> 3; in lv_img_buf_set_px_alpha() local188 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_set_px_alpha()189 buf_u8[px + px_size - 1] = opa; in lv_img_buf_set_px_alpha()246 uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf) >> 3; in lv_img_buf_set_px_color() local247 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_set_px_color()248 _lv_memcpy_small(&buf_u8[px], &c, px_size); in lv_img_buf_set_px_color()251 uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf) >> 3; in lv_img_buf_set_px_color() local252 uint32_t px = dsc->header.w * y * px_size + x * px_size; in lv_img_buf_set_px_color()[all …]
389 uint8_t px_size = lv_img_cf_get_px_size(cf); in lv_img_decoder_built_in_open() local390 uint32_t palette_size = 1 << px_size; in lv_img_decoder_built_in_open()551 uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf); in lv_img_decoder_built_in_line_true_color() local553 uint32_t pos = ((y * dsc->header.w + x) * px_size) >> 3; in lv_img_decoder_built_in_line_true_color()560 uint32_t btr = len * (px_size >> 3); in lv_img_decoder_built_in_line_true_color()609 uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf); in lv_img_decoder_built_in_line_alpha() local610 uint16_t mask = (1 << px_size) - 1; /*E.g. px_size = 2; mask = 0x03*/ in lv_img_decoder_built_in_line_alpha()673 pos -= px_size; in lv_img_decoder_built_in_line_alpha()675 pos = 8 - px_size; in lv_img_decoder_built_in_line_alpha()695 uint8_t px_size = lv_img_cf_get_px_size(dsc->header.cf); in lv_img_decoder_built_in_line_indexed() local[all …]
97 uint8_t px_size = 0; in lv_img_cf_get_px_size() local102 px_size = 0; in lv_img_cf_get_px_size()106 px_size = LV_COLOR_SIZE; in lv_img_cf_get_px_size()109 px_size = LV_IMG_PX_SIZE_ALPHA_BYTE << 3; in lv_img_cf_get_px_size()113 px_size = 1; in lv_img_cf_get_px_size()117 px_size = 2; in lv_img_cf_get_px_size()121 px_size = 4; in lv_img_cf_get_px_size()125 px_size = 8; in lv_img_cf_get_px_size()128 px_size = 0; in lv_img_cf_get_px_size()132 return px_size; in lv_img_cf_get_px_size()
251 uint32_t px_size = lv_img_cf_get_px_size(ext->dsc.header.cf) >> 3; in lv_canvas_copy_buf() local252 uint32_t px = ext->dsc.header.w * y * px_size + x * px_size; in lv_canvas_copy_buf()256 _lv_memcpy((void *)&ext->dsc.data[px], to_copy8, w * px_size); in lv_canvas_copy_buf()257 px += ext->dsc.header.w * px_size; in lv_canvas_copy_buf()258 to_copy8 += w * px_size; in lv_canvas_copy_buf()