/lvgl-latest/src/draw/ |
D | lv_draw_buf.c | 37 …c uint32_t _calculate_draw_buf_size(uint32_t w, uint32_t h, lv_color_format_t cf, uint32_t stride); 169 uint32_t stride = header->stride; in lv_draw_buf_clear() local 173 lv_memzero(buf, header->h * stride); in lv_draw_buf_clear() 207 buf += stride; in lv_draw_buf_clear() 259 uint32_t dest_stride = dest->header.stride; in lv_draw_buf_copy() 260 uint32_t src_stride = src->header.stride; in lv_draw_buf_copy() 271 …w_buf_init(lv_draw_buf_t * draw_buf, uint32_t w, uint32_t h, lv_color_format_t cf, uint32_t stride, in lv_draw_buf_init() argument 278 if(stride == 0) stride = lv_draw_buf_width_to_stride(w, cf); in lv_draw_buf_init() 279 if(stride * h > data_size) { in lv_draw_buf_init() 280 … LV_LOG_WARN("Data size too small, required: %" LV_PRId32 ", provided: %" LV_PRId32, stride * h, in lv_draw_buf_init() [all …]
|
D | lv_draw_buf.h | 59 .stride = LV_DRAW_BUF_STRIDE(_w, _cf), \ 70 …lv_draw_buf_init(&name, header->w, header->h, (lv_color_format_t)header->cf, header->stride, buf_#… 220 lv_draw_buf_t * lv_draw_buf_create(uint32_t w, uint32_t h, lv_color_format_t cf, uint32_t stride); 237 lv_color_format_t cf, uint32_t stride); 265 …w_buf_init(lv_draw_buf_t * draw_buf, uint32_t w, uint32_t h, lv_color_format_t cf, uint32_t stride, 278 uint32_t stride); 299 lv_result_t lv_draw_buf_adjust_stride(lv_draw_buf_t * src, uint32_t stride);
|
D | lv_image_dsc.h | 80 uint32_t stride: 16; /**< Number of bytes in a row*/ member 95 uint32_t stride: 16; /**< Number of bytes in a row*/ member 102 uint32_t stride; /**< Number of bytes in a row*/ member
|
/lvgl-latest/src/libs/gif/ |
D | gifdec_mve.h | 23 #define GIFDEC_FILL_BG(dst, w, h, stride, color, opa) \ argument 24 _gifdec_fill_bg_mve(dst, w, h, stride, color, opa) 26 #define GIFDEC_RENDER_FRAME(dst, w, h, stride, frame, pattern, tindex) \ argument 27 _gifdec_render_frame_mve(dst, w, h, stride, frame, pattern, tindex) 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() argument 66 [iTargetStride] "r"(stride * sizeof(uint32_t)) 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() argument 131 [stride] "r"(stride), in _gifdec_render_frame_mve()
|
/lvgl-latest/src/draw/nxp/vglite/ |
D | lv_vglite_buf.c | 72 void vglite_set_dest_buf(const void * buf, uint32_t width, uint32_t height, uint32_t stride, in vglite_set_dest_buf() argument 75 vglite_set_buf(&_dest_vgbuf, (void *)buf, width, height, stride, cf); in vglite_set_dest_buf() 78 void vglite_set_src_buf(const void * buf, uint32_t width, uint32_t height, uint32_t stride, in vglite_set_src_buf() argument 81 vglite_set_buf(&_src_vgbuf, (void *)buf, width, height, stride, cf); in vglite_set_src_buf() 85 uint32_t width, uint32_t height, uint32_t stride, in vglite_set_buf() argument 97 vgbuf->stride = (int32_t)stride; in vglite_set_buf()
|
D | lv_draw_buf_vglite.c | 75 uint32_t stride = header->stride; in _invalidate_cache() local 79 uint32_t size = stride * lv_area_get_height(area); in _invalidate_cache() 104 buf_u8 += shift_y * stride; in _invalidate_cache() 115 const void * line_addr = buf_u8 + y * stride; in _invalidate_cache()
|
D | lv_vglite_buf.h | 83 void vglite_set_dest_buf(const void * buf, uint32_t width, uint32_t height, uint32_t stride, 96 void vglite_set_src_buf(const void * buf, uint32_t width, uint32_t height, uint32_t stride, 111 uint32_t width, uint32_t height, uint32_t stride,
|
/lvgl-latest/src/draw/dma2d/ |
D | lv_draw_dma2d_fill.c | 37 …a2d_opaque_fill(lv_draw_dma2d_unit_t * u, void * first_pixel, int32_t w, int32_t h, int32_t stride) in lv_draw_dma2d_opaque_fill() argument 51 .stride = stride in lv_draw_dma2d_opaque_fill() 62 .output_offset = (stride / cf_size) - w, in lv_draw_dma2d_opaque_fill() 70 …draw_dma2d_fill(lv_draw_dma2d_unit_t * u, void * first_pixel, int32_t w, int32_t h, int32_t stride) in lv_draw_dma2d_fill() argument 85 .stride = stride in lv_draw_dma2d_fill() 93 uint32_t output_offset = (stride / cf_size) - w; in lv_draw_dma2d_fill()
|
D | lv_draw_dma2d_img.c | 54 uint32_t image_stride = img_dsc->header.stride; in lv_draw_dma2d_opaque_image() 62 .stride = dest_stride in lv_draw_dma2d_opaque_image() 80 .stride = image_stride in lv_draw_dma2d_opaque_image() 141 uint32_t image_stride = img_dsc->header.stride; in lv_draw_dma2d_image() 149 .stride = dest_stride in lv_draw_dma2d_image() 165 .stride = image_stride in lv_draw_dma2d_image()
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgSwRaster.cpp | 235 auto dbuffer = &surface->buf8[region.min.y * surface->stride + region.min.x]; in _compositeMaskImage() 236 …auto sbuffer = image->buf8 + (region.min.y + image->oy) * image->stride + (region.min.x + image->o… in _compositeMaskImage() 244 dbuffer += surface->stride; in _compositeMaskImage() 245 sbuffer += image->stride; in _compositeMaskImage() 267 static uint32_t _interpUpScaler(const uint32_t *img, TVG_UNUSED uint32_t stride, uint32_t w, uint32… in _interpUpScaler() argument 290 static uint32_t _interpDownScaler(const uint32_t *img, uint32_t stride, uint32_t w, uint32_t h, flo… in _interpDownScaler() argument 303 auto src = img + minx + miny * stride; in _interpDownScaler() 314 src += (stride * inc); in _interpDownScaler() 334 auto cstride = surface->compositor->image.stride; in _rasterCompositeMaskedRect() 353 …ace->compositor->image.buf8 + (region.min.y * surface->compositor->image.stride + region.min.x); … in _rasterDirectMaskedRect() [all …]
|
D | tvgSwPostEffect.cpp | 67 static void _gaussianBlur(uint8_t* src, uint8_t* dst, int32_t stride, int32_t w, int32_t h, const S… in _gaussianBlur() argument 70 src += ((bbox.min.x * stride) + bbox.min.y) << 2; in _gaussianBlur() 71 dst += ((bbox.min.x * stride) + bbox.min.y) << 2; in _gaussianBlur() 73 src += ((bbox.min.y * stride) + bbox.min.x) << 2; in _gaussianBlur() 74 dst += ((bbox.min.y * stride) + bbox.min.x) << 2; in _gaussianBlur() 80 auto p = x * stride; in _gaussianBlur() 170 auto stride = image.stride; in effectGaussianBlur() local 185 _gaussianBlur(front, back, stride, w, h, bbox, k, params->border, false); in effectGaussianBlur() 193 …rasterXYFlip(reinterpret_cast<uint32_t*>(front), reinterpret_cast<uint32_t*>(back), stride, w, h, … in effectGaussianBlur() 199 _gaussianBlur(front, back, stride, h, w, bbox, k, params->border, true); in effectGaussianBlur() [all …]
|
D | tvgSwRasterC.h | 75 auto dst = &surface->buf32[span->y * surface->stride + span->x]; in cRasterTranslucentRle() 87 auto dst = &surface->buf8[span->y * surface->stride + span->x]; in cRasterTranslucentRle() 108 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in cRasterTranslucentRect() 111 auto dst = &buffer[y * surface->stride]; in cRasterTranslucentRect() 118 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in cRasterTranslucentRect() 121 auto dst = &buffer[y * surface->stride]; in cRasterTranslucentRect() 138 for (uint32_t y = 0; y < surface->h; ++y, buffer += surface->stride / 2) { in cRasterABGRtoARGB() 149 for (uint32_t y = 0; y < surface->h; ++y, buffer += surface->stride) { in cRasterABGRtoARGB()
|
/lvgl-latest/examples/assets/ |
D | img_cogwheel_rgb.c | 432 .header.stride = 100, 434 .header.stride = 200, 436 .header.stride = 300, 438 .header.stride = 400,
|
/lvgl-latest/scripts/ |
D | LVGLImage.py | 308 stride: int, 364 def write_binary(f, data, stride): argument 365 stride = 16 if stride == 0 else stride 367 if i % stride == 0: 383 write_binary(f, data[ncolors * 4:], stride) 394 stride: int = 0, 407 self.stride = self.stride_align(align) if stride == 0 else stride 410 stride = self.stride_default 414 stride = (stride + align - 1) // align 415 stride *= align [all …]
|
/lvgl-latest/src/draw/nxp/pxp/ |
D | lv_draw_buf_pxp.c | 70 uint32_t stride = header->stride; in _invalidate_cache() local 74 uint32_t size = stride * lv_area_get_height(area); in _invalidate_cache() 99 buf_u8 += shift_y * stride; in _invalidate_cache() 110 const void * line_addr = buf_u8 + y * stride; in _invalidate_cache()
|
/lvgl-latest/tests/src/test_assets/ |
D | test_img_emoji_F617.c | 243 .header.stride = 72, 245 .header.stride = 144, 247 .header.stride = 288,
|
D | test_arc_bg.c | 328 .header.stride = 200, 330 .header.stride = 300, 332 .header.stride = 400,
|
/lvgl-latest/examples/assets/emoji/ |
D | img_emoji_F617.c | 246 .header.stride = 72, 248 .header.stride = 144, 250 .header.stride = 288,
|
/lvgl-latest/src/widgets/canvas/ |
D | lv_canvas.h | 172 #define LV_CANVAS_BUF_SIZE(w, h, bpp, stride) (((((w * bpp + 7) >> 3) + stride - 1) & ~(stride - 1)… argument 177 uint32_t lv_canvas_buf_size(int32_t w, int32_t h, uint8_t bpp, uint8_t stride);
|
D | lv_canvas.c | 77 uint32_t stride = lv_draw_buf_width_to_stride(w, cf); in lv_canvas_set_buffer() local 78 lv_draw_buf_init(&canvas->static_buf, w, h, cf, stride, buf, stride * h); in lv_canvas_set_buffer() 305 uint32_t stride = header->stride; in lv_canvas_fill_bg() local 310 uint16_t * buf16 = (uint16_t *)(data + y * stride); in lv_canvas_fill_bg() 323 uint32_t * buf32 = (uint32_t *)(data + y * stride); in lv_canvas_fill_bg() 331 uint8_t * buf8 = (uint8_t *)(data + y * stride); in lv_canvas_fill_bg() 342 uint8_t * buf = (uint8_t *)(data + y * stride); in lv_canvas_fill_bg() 353 lv_color16a_t * buf = (lv_color16a_t *)(data + y * stride); in lv_canvas_fill_bg() 407 uint32_t lv_canvas_buf_size(int32_t w, int32_t h, uint8_t bpp, uint8_t stride) in lv_canvas_buf_size() argument 409 return (uint32_t)LV_CANVAS_BUF_SIZE(w, h, bpp, stride); in lv_canvas_buf_size()
|
/lvgl-latest/src/drivers/nuttx/ |
D | lv_nuttx_cache.c | 73 uint32_t stride = draw_buf->header.stride; in draw_buf_to_region() local 76 *start = (lv_uintptr_t)buf + area->y1 * stride; in draw_buf_to_region() 77 *end = *start + h * stride; in draw_buf_to_region()
|
D | lv_nuttx_fbdev.c | 141 uint32_t stride = dsc->pinfo.stride; in lv_nuttx_fbdev_set_file() local 142 uint32_t data_size = h * stride; in lv_nuttx_fbdev_set_file() 143 lv_draw_buf_init(&dsc->buf1, w, h, color_format, stride, dsc->mem, data_size); in lv_nuttx_fbdev_set_file() 152 lv_draw_buf_init(&dsc->buf2, w, h, color_format, stride, dsc->mem2, data_size); in lv_nuttx_fbdev_set_file() 165 lv_draw_buf_init(&dsc->buf2, w, h, color_format, stride, dsc->mem_off_screen, data_size); in lv_nuttx_fbdev_set_file() 322 LV_LOG_USER(" stride: %u", pinfo->stride); in fbdev_get_pinfo() 358 if((buf_offset % dsc->pinfo.stride) != 0) { in fbdev_init_mem2() 362 buf_offset, dsc->pinfo.stride); in fbdev_init_mem2() 369 dsc->mem2 = pinfo.fbmem + dsc->mem2_yoffset * pinfo.stride; in fbdev_init_mem2() 374 dsc->mem2_yoffset = buf_offset / dsc->pinfo.stride; in fbdev_init_mem2()
|
/lvgl-latest/demos/benchmark/assets/ |
D | img_benchmark_lvgl_logo_rgb.c | 345 .header.stride = 256, 347 .header.stride = 320, 349 .header.stride = 448,
|
/lvgl-latest/src/libs/bin_decoder/ |
D | lv_bin_decoder.c | 304 if(image->header.stride == 0) { in lv_bin_decoder_open() 307 tmp.header.stride = (tmp.header.w * lv_color_format_get_bpp(cf) + 7) >> 3; in lv_bin_decoder_open() 316 if(decoded->header.stride == 0) { in lv_bin_decoder_open() 318 decoded->header.stride = dsc->header.stride; in lv_bin_decoder_open() 459 offset += decoded_area->y1 * dsc->header.stride; in lv_bin_decoder_get_area() 489 offset += decoded_area->y1 * dsc->header.stride; in lv_bin_decoder_get_area() 502 uint32_t len = decoded->header.stride; in lv_bin_decoder_get_area() 503 offset += decoded_area->y1 * dsc->header.stride; /*Move to y1*/ in lv_bin_decoder_get_area() 512 offset += dsc->header.h * dsc->header.stride; /*Move to A8 map*/ in lv_bin_decoder_get_area() 513 offset += decoded_area->y1 * (dsc->header.stride / 2); /*Move to y1*/ in lv_bin_decoder_get_area() [all …]
|
/lvgl-latest/libs/nema_gfx/include/ |
D | nema_provisional.h | 47 void nema_fill_triangle_strip_f(float* vertices, int num_vertices, int stride, uint32_t rgba8888); 58 void nema_fill_triangle_fan_f(float* vertices, int num_vertices, int stride, uint32_t rgba8888);
|