Home
last modified time | relevance | path

Searched refs:region (Results 1 – 17 of 17) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgSwRaster.cpp233 static bool _compositeMaskImage(SwSurface* surface, const SwImage* image, const SwBBox& region) in _compositeMaskImage() argument
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()
238 for (auto y = region.min.y; y < region.max.y; ++y) { in _compositeMaskImage()
241 for (auto x = region.min.x; x < region.max.x; x++, dst++, src++) { in _compositeMaskImage()
330 static bool _rasterCompositeMaskedRect(SwSurface* surface, const SwBBox& region, SwMask maskOp, uin… in _rasterCompositeMaskedRect() argument
332 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in _rasterCompositeMaskedRect()
333 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in _rasterCompositeMaskedRect()
335 …auto cbuffer = surface->compositor->image.buf8 + (region.min.y * cstride + region.min.x); //comp… in _rasterCompositeMaskedRect()
349 static bool _rasterDirectMaskedRect(SwSurface* surface, const SwBBox& region, SwMask maskOp, uint8_… in _rasterDirectMaskedRect() argument
[all …]
DtvgScene.h169 auto region = paint->pImpl->bounds(renderer); in bounds() local
172 if (region.x < x1) x1 = region.x; in bounds()
173 if (x2 < region.x + region.w) x2 = (region.x + region.w); in bounds()
174 if (region.y < y1) y1 = region.y; in bounds()
175 if (y2 < region.y + region.h) y2 = (region.y + region.h); in bounds()
DtvgSwRasterTexmap.h58 static bool _arrange(const SwImage* image, const SwBBox* region, int& yStart, int& yEnd) in _arrange() argument
62 if (region) { in _arrange()
63 regionTop = region->min.y; in _arrange()
64 regionBottom = region->max.y; in _arrange()
79 …ygonImageSegment(SwSurface* surface, const SwImage* image, const SwBBox* region, int yStart, int y…
98 if (!_arrange(image, region, yStart, yEnd)) return false;
103 if (region) {
104 minx = region->min.x;
105 maxx = region->max.x;
120 if (!region) {
[all …]
DtvgSwRasterC.h100 static bool inline cRasterTranslucentRect(SwSurface* surface, const SwBBox& region, uint8_t r, uint… in cRasterTranslucentRect() argument
102 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in cRasterTranslucentRect()
103 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in cRasterTranslucentRect()
108 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in cRasterTranslucentRect()
118 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in cRasterTranslucentRect()
DtvgSwRasterAvx.h105 static bool avxRasterTranslucentRect(SwSurface* surface, const SwBBox& region, uint8_t r, uint8_t g… in avxRasterTranslucentRect() argument
107 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in avxRasterTranslucentRect()
108 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in avxRasterTranslucentRect()
113 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in avxRasterTranslucentRect()
151 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in avxRasterTranslucentRect()
DtvgSwRasterNeon.h152 static bool neonRasterTranslucentRect(SwSurface* surface, const SwBBox& region, uint8_t r, uint8_t … in neonRasterTranslucentRect() argument
154 auto h = static_cast<uint32_t>(region.max.y - region.min.y); in neonRasterTranslucentRect()
155 auto w = static_cast<uint32_t>(region.max.x - region.min.x); in neonRasterTranslucentRect()
160 auto buffer = surface->buf32 + (region.min.y * surface->stride) + region.min.x; in neonRasterTranslucentRect()
191 auto buffer = surface->buf8 + (region.min.y * surface->stride) + region.min.x; in neonRasterTranslucentRect()
DtvgPaint.cpp64 …float region[4] = {float(before.x), float(before.x + before.w), float(before.y), float(before.y + … in _clipRect() local
67 if (min.x <= region[0] && max.x >= region[1] && min.y <= region[2] && max.y >= region[3]) { in _clipRect()
71 … } else if (max.x <= region[0] || min.x >= region[1] || max.y <= region[2] || min.y >= region[3]) { in _clipRect()
217 RenderRegion region; in render() local
218 PAINT_METHOD(region, bounds(renderer)); in render()
220 … if (MASK_REGION_MERGING(compData->method)) region.add(P(compData->target)->bounds(renderer)); in render()
221 if (region.w == 0 || region.h == 0) return true; in render()
222 cmp = renderer->target(region, COMPOSITE_TO_COLORSPACE(renderer, compData->method)); in render()
DtvgSwRenderer.cpp60 RenderRegion region; in bounds() local
63 region.x = bbox.min.x > 0 ? bbox.min.x : 0; in bounds()
64 region.y = bbox.min.y > 0 ? bbox.min.y : 0; in bounds()
65 region.w = bbox.max.x - region.x; in bounds()
66 region.h = bbox.max.y - region.y; in bounds()
67 if (region.w < 0) region.w = 0; in bounds()
68 if (region.h < 0) region.h = 0; in bounds()
70 return region; in bounds()
502 RenderRegion SwRenderer::region(RenderData data) in region() function in SwRenderer
589 RenderCompositor* SwRenderer::target(const RenderRegion& region, ColorSpace cs) in target() argument
[all …]
DtvgSwPostEffect.cpp40 static void _gaussianExtendRegion(RenderRegion& region, int extra, int8_t direction) in _gaussianExtendRegion() argument
44 region.x = -extra; in _gaussianExtendRegion()
45 region.w = extra * 2; in _gaussianExtendRegion()
48 region.y = -extra; in _gaussianExtendRegion()
49 region.h = extra * 2; in _gaussianExtendRegion()
DtvgSwRenderer.h49 RenderRegion region(RenderData data) override;
61 RenderCompositor* target(const RenderRegion& region, ColorSpace cs) override;
DtvgRender.h322 virtual RenderRegion region(RenderData data) = 0;
332 virtual RenderCompositor* target(const RenderRegion& region, ColorSpace cs) = 0;
DtvgPicture.cpp107 if (rd) return renderer->region(rd); in bounds()
DtvgShape.h125 return renderer->region(rd); in bounds()
/lvgl-latest/src/misc/
Dlv_color.c145 uint8_t region, remainder, p, q, t; in lv_color_hsv_to_rgb() local
151 region = h / 43; in lv_color_hsv_to_rgb()
152 remainder = (h - (region * 43)) * 6; in lv_color_hsv_to_rgb()
158 switch(region) { in lv_color_hsv_to_rgb()
/lvgl-latest/docs/details/integration/driver/display/
Drenesas_glcdc.rst56 preferably in the fastest available memory region.
/lvgl-latest/docs/details/integration/chip/
Dstm32.rst118 //Set the drawing region
249 //Set the drawing region
/lvgl-latest/docs/details/integration/os/
Dzephyr.rst151 # Size of the memory region from which lvgl memory is allocated