/foundation/arkui/ui_lite/frameworks/render/ |
H A D | render_base.cpp | 86 void RenderBase::BlendSolidHSpan(int32_t x, int32_t y, int32_t len, const Rgba8T& color, const uint8_t* covers) in BlendSolidHSpan() argument 96 covers += GetXMin() - x; in BlendSolidHSpan() 105 pixfmtType_->BlendSolidHSpan(x, y, len, color, covers); in BlendSolidHSpan() 110 const uint8_t* covers = nullptr; in CopyColorHSpan() local 111 if (!ColorHSpanHandler(x, y, len, colors, covers)) { in CopyColorHSpan() 117 void RenderBase::BlendColorHSpan(int32_t x, int32_t y, int32_t len, const Rgba8T* colors, const uint8_t* covers, in BlendColorHSpan() argument 120 if (!ColorHSpanHandler(x, y, len, colors, covers)) { in BlendColorHSpan() 123 pixfmtType_->BlendColorHSpan(x, y, len, colors, covers, cover); in BlendColorHSpan() 127 const uint8_t*& covers) const in ColorHSpanHandler() 138 if (covers) { in ColorHSpanHandler() [all...] |
H A D | render_pixfmt_rgba_blend.cpp | 95 const uint8_t* covers) in BlendSolidHSpan() 103 NeonBlendPix(pixelPtr->colors, color, covers); in BlendSolidHSpan() 105 covers += NEON_STEP_8; in BlendSolidHSpan() 111 if (color.IsOpaque() && *covers == COVER_MASK) { in BlendSolidHSpan() 114 BlendPix(pixelPtr, color, *covers); in BlendSolidHSpan() 117 ++covers; in BlendSolidHSpan() 125 const uint8_t* covers) in BlendSolidVSpan() 130 if (color.IsOpaque() && *covers == COVER_MASK) { in BlendSolidVSpan() 133 BlendPix(pixelPtr, color, *covers); in BlendSolidVSpan() 135 ++covers; in BlendSolidVSpan() 92 BlendSolidHSpan(int32_t x, int32_t y, uint32_t len, const Rgba8T& color, const uint8_t* covers) BlendSolidHSpan() argument 122 BlendSolidVSpan(int32_t x, int32_t y, uint32_t len, const Rgba8T& color, const uint8_t* covers) BlendSolidVSpan() argument 176 BlendColorHSpan(int32_t x, int32_t y, uint32_t len, const Rgba8T* colors, const uint8_t* covers, uint8_t cover) BlendColorHSpan() argument [all...] |
H A D | render_scanline.cpp | 40 color, span->covers); in RenderScanlinesAntiAliasSolid() 43 color, *(span->covers)); in RenderScanlinesAntiAliasSolid() 69 const uint8_t* covers = span->covers; in RenderScanlinesAntiAlias() local 77 (span->spanLength < 0) ? 0 : covers, *covers); in RenderScanlinesAntiAlias() 170 alloc.GetSpanPtr(), span2->covers); in BlendSourceAtop() 175 span2->covers); in BlendSourceAtop() 180 span1->covers); in BlendSourceAtop() 189 span3->covers); in BlendSourceAtop() [all...] |
H A D | render_base.h | 162 void BlendSolidHSpan(int32_t x, int32_t y, int32_t len, const Rgba8T& color, const uint8_t* covers); 179 * @param covers Scan line corresponding coverage array. 182 void BlendColorHSpan(int32_t x, int32_t y, int32_t len, const Rgba8T* colors, const uint8_t* covers, 191 * @param covers Scan line corresponding coverage array. 195 const uint8_t*& covers) const;
|
H A D | render_pixfmt_rgba_blend.h | 41 uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t* covers) in NeonBlendPix() 43 DrawUtils::GetInstance()->BlendLerpPix(color, red, green, blue, alpha, covers); in NeonBlendPix() 408 const uint8_t* covers); 419 const uint8_t* covers); 447 * @param covers transition value 455 const uint8_t* covers,
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/scanline/ |
H A D | geometry_scanline.h | 51 uint8_t* covers; member 95 curSpanBlock_->covers = &arrayCovers_[x]; in AddCell() 105 void AddCells(int32_t x, uint32_t cellLength, const uint8_t* covers) in AddCells() argument 108 if (memcpy_s(&arrayCovers_[x], cellLength * sizeof(uint8_t), covers, cellLength * sizeof(uint8_t)) != EOK) { in AddCells() 118 curSpanBlock_->covers = &arrayCovers_[x]; in AddCells() 145 curSpanBlock_->covers = &arrayCovers_[x]; in AddSpan()
|
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_pipeline.h | 107 void NeonPreLerpARGB8888(uint8_t* buf, uint8_t r, uint8_t g, uint8_t b, uint8_t a, uint8_t* covers) in NeonPreLerpARGB8888() argument 115 uint8x8_t r1 = Multipling(vdup_n_u8(r), vld1_u8(covers)); in NeonPreLerpARGB8888() 116 uint8x8_t g1 = Multipling(vdup_n_u8(g), vld1_u8(covers)); in NeonPreLerpARGB8888() 117 uint8x8_t b1 = Multipling(vdup_n_u8(b), vld1_u8(covers)); in NeonPreLerpARGB8888() 118 uint8x8_t a1 = Multipling(vdup_n_u8(a), vld1_u8(covers)); in NeonPreLerpARGB8888() 195 void NeonPrelerpARGB8888(uint8_t* dstBuffer, uint8_t* srcBuffer, uint8_t* covers) in NeonPrelerpARGB8888() argument 205 uint8x8_t r1 = Multipling(vSrcBuf.val[NEON_R], vld1_u8(covers)); in NeonPrelerpARGB8888() 206 uint8x8_t g1 = Multipling(vSrcBuf.val[NEON_G], vld1_u8(covers)); in NeonPrelerpARGB8888() 207 uint8x8_t b1 = Multipling(vSrcBuf.val[NEON_B], vld1_u8(covers)); in NeonPrelerpARGB8888() 208 uint8x8_t a1 = Multipling(vSrcBuf.val[NEON_A], vld1_u8(covers)); in NeonPrelerpARGB8888() 217 NeonLerpARGB8888(uint8_t* buf, uint8_t r, uint8_t g, uint8_t b, uint8_t a, uint8_t* covers) NeonLerpARGB8888() argument 306 NeonLerpARGB8888(uint8_t* dstBuffer, uint8_t* srcBuffer, uint8_t* covers) NeonLerpARGB8888() argument [all...] |
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | clip_utils.cpp | 136 const uint8_t* covers = span->covers; in PerformScan() local 142 for (int16_t i = x; i < x + len; i++, covers++) { in PerformScan() 143 DrawPixel(i, y, *covers, imageInfo); in PerformScan()
|
H A D | draw_utils.h | 330 void BlendLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t* covers); 337 void BlendPreLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t* covers);
|
H A D | draw_utils.cpp | 535 uint8_t alpha, uint8_t* covers) in BlendLerpPix() 538 mNeonBlendPipeLine.NeonLerpARGB8888(color, red, green, blue, alpha, covers); in BlendLerpPix() 566 uint8_t alpha, uint8_t *covers) in BlendPreLerpPix() 569 mNeonBlendPipeLine.NeonPreLerpARGB8888(color, red, green, blue, alpha, covers); in BlendPreLerpPix() 534 BlendLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t* covers) BlendLerpPix() argument 565 BlendPreLerpPix(uint8_t *color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t *covers) BlendPreLerpPix() argument
|