Home
last modified time | relevance | path

Searched refs:bbox (Results 1 – 11 of 11) sorted by relevance

/lvgl-latest/src/libs/thorvg/
DtvgSwPostEffect.cpp67 …t* src, uint8_t* dst, int32_t stride, int32_t w, int32_t h, const SwBBox& bbox, int32_t dimension,… 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()
158 bool effectGaussianBlur(SwImage& image, SwImage& buffer, const SwBBox& bbox, const RenderEffectGaus… in effectGaussianBlur() argument
168 auto w = (bbox.max.x - bbox.min.x); in effectGaussianBlur()
169 auto h = (bbox.max.y - bbox.min.y); in effectGaussianBlur()
178 …egion(%ld, %ld, %ld, %ld) params(%f %d %d), level(%d)", bbox.min.x, bbox.min.y, bbox.max.x, bbox.m… in effectGaussianBlur()
185 _gaussianBlur(front, back, stride, w, h, bbox, k, params->border, false); in effectGaussianBlur()
[all …]
DtvgSwRenderer.cpp47 SwBBox bbox; //Rendering Region member
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()
109 if (shape.fastTrack) rleClip(target, &bbox); in clip()
120 bbox.reset(); in run()
140 …if (!shapePrepare(&shape, rshape, transform, bbox, renderRegion, mpool, tid, clips.count > 0 ? tru… in run()
164 … if (!shapeGenStrokeRle(&shape, rshape, transform, bbox, renderRegion, mpool, tid)) goto err; in run()
189 bbox = renderRegion; //sync in run()
[all …]
DtvgSwRle.cpp804 static SwSpan* _intersectSpansRect(const SwBBox *bbox, const SwRle *targetRle, SwSpan *outSpans, ui… in _intersectSpansRect() argument
809 auto minx = static_cast<int16_t>(bbox->min.x); in _intersectSpansRect()
810 auto miny = static_cast<int16_t>(bbox->min.y); in _intersectSpansRect()
811 auto maxx = minx + static_cast<int16_t>(bbox->max.x - bbox->min.x) - 1; in _intersectSpansRect()
812 auto maxy = miny + static_cast<int16_t>(bbox->max.y - bbox->min.y) - 1; in _intersectSpansRect()
974 SwRle* rleRender(const SwBBox* bbox) in rleRender() argument
976 auto width = static_cast<uint16_t>(bbox->max.x - bbox->min.x); in rleRender()
977 auto height = static_cast<uint16_t>(bbox->max.y - bbox->min.y); in rleRender()
986 span->x = bbox->min.x; in rleRender()
987 span->y = bbox->min.y + i; in rleRender()
DtvgLottieCommon.h64 } bbox; member
DtvgSwRaster.cpp345 return _compositeMaskImage(surface, &surface->compositor->image, surface->compositor->bbox); in _rasterCompositeMaskedRect()
512 return _compositeMaskImage(surface, &surface->compositor->image, surface->compositor->bbox); in _rasterCompositeMaskedRle()
1277 return _compositeMaskImage(surface, &surface->compositor->image, surface->compositor->bbox); in _rasterCompositeGradientMaskedRect()
1450 return _compositeMaskImage(surface, &surface->compositor->image, surface->compositor->bbox); in _rasterCompositeGradientMaskedRle()
1744 …if (type == Type::LinearGradient) return _rasterLinearGradientRect(surface, shape->bbox, shape->fi… in rasterGradientShape()
1745 …else if (type == Type::RadialGradient)return _rasterRadialGradientRect(surface, shape->bbox, shape… in rasterGradientShape()
1778 if (shape->fastTrack) return _rasterRect(surface, shape->bbox, r, g, b, a); in rasterShape()
1795 bool rasterImage(SwSurface* surface, SwImage* image, const Matrix& transform, const SwBBox& bbox, u… in rasterImage() argument
1798 …if (bbox.max.x < 0 || bbox.max.y < 0 || bbox.min.x >= static_cast<SwCoord>(surface->w) || bbox.min… in rasterImage()
1800 return _rasterImage(surface, image, transform, bbox, opacity); in rasterImage()
[all …]
DtvgSwCommon.h219 … SwBBox bbox; //Keep it boundary without stroke region. Using for optimal filling. member
283 SwBBox bbox; member
549 SwRle* rleRender(const SwBBox* bbox);
569 bool rasterImage(SwSurface* surface, SwImage* image, const Matrix& transform, const SwBBox& bbox, u…
575 …t32_t* src, uint32_t* dst, int32_t stride, int32_t w, int32_t h, const SwBBox& bbox, bool flipped);
580 bool effectGaussianBlur(SwImage& image, SwImage& buffer, const SwBBox& bbox, const RenderEffectGaus…
DtvgSwShape.cpp504 shape->bbox = renderRegion; in shapePrepare()
533 if ((shape->rle = rleRender(shape->rle, shape->outline, shape->bbox, antiAlias))) return true; in shapeGenRle()
551 shape->bbox.reset(); in shapeReset()
DtvgLottieBuilder.cpp1013 if (ascent > doc.bbox.size.y) ascent = doc.bbox.size.y; in updateText()
1014 Point layout = {doc.bbox.pos.x, doc.bbox.pos.y + ascent - doc.shift}; in updateText()
1017 if (doc.justify == 1) layout.x += doc.bbox.size.x - (cursor.x * scale); //right aligned in updateText()
1018 …else if (doc.justify == 2) layout.x += (doc.bbox.size.x * 0.5f) - (cursor.x * 0.5f * scale); //ce… in updateText()
DtvgLottieParser.cpp173 else if (KEY_AS("ps")) getValue(doc.bbox.pos); in getValue()
174 else if (KEY_AS("sz")) getValue(doc.bbox.size); in getValue()
DtvgSwRasterTexmap.h1160 _compositeMaskImage(surface, &surface->compositor->image, surface->compositor->bbox); in _rasterTexmapPolygon()
/lvgl-latest/libs/nema_gfx/include/
Dnema_vg_path.h129 …st uint8_t* seg, const size_t data_size, const nema_vg_float_t* data, const nema_vg_float_t *bbox);