/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/ |
H A D | rasterizer_scanline_antialias.cpp | 21 * And iterate the cell array of the current scan line to obtain area->cover, 22 * Use both to calculate delta area as area cover and convert it into gamma cover 38 int32_t cover = 0; in SweepScanline() local 50 cover += curCell->cover; in SweepScanline() 54 cover += curCell->cover; in SweepScanline() 57 // Span interval from area to (cover << (POLY_SUBPIXEL_SHIFT + 1)) in SweepScanline() 59 alpha = CalculateAlpha((cover << (POLY_SUBPIXEL_SHIF in SweepScanline() 92 int32_t cover = area >> (POLY_SUBPIXEL_SHIFT * 2 + 1 - AA_SHIFT); CalculateAlpha() local [all...] |
H A D | rasterizer_cells_antialias.cpp | 86 bool areaCoverFlags = currCell_.area | currCell_.cover; in AddCurrentCell() 113 currCell_.cover = 0; in SetCurrentCell() 185 currCell_.cover += delta; in RenderHorizonline() 209 currCell_.cover += delta; in RenderHorizonline() 231 currCell_.cover += delta; in RenderHorizonline() 238 currCell_.cover += delta; in RenderHorizonline() 300 * The above general attribute area - > cover is for each y value, in LineOperate() 354 currCell_.cover += delta; in RenderVerticalLine() 363 currCell_.cover = delta; in RenderVerticalLine() 370 currCell_.cover in RenderVerticalLine() [all...] |
/foundation/arkui/ui_lite/frameworks/render/ |
H A D | render_pixfmt_rgba_blend.h | 36 * @param color color,red,green,blue,alpha Color Component,cover Coverage. 48 * @param color color,red,green,blue,alpha Color Component,cover Coverage. 53 uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t cover) in NeonBlendPix() 55 DrawUtils::GetInstance()->BlendLerpPix(color, red, green, blue, alpha, cover); in NeonBlendPix() 82 * @param color color,red,green,blue,alpha Color Component,cover Coverage. 87 uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t cover) in BlendPix() 89 BlendPix(color, red, green, blue, Rgba8T::MultCover(alpha, cover)); in BlendPix() 368 * @brief Mix pixels (x, y) with the transparency of cover (coverage = transparency) with color color. 373 virtual inline void BlendPixel(int32_t x, int32_t y, const Rgba8T& color, uint8_t cover) in BlendPixel() argument 375 CopyOrBlendPix(PixValuePtr(x, y), color, cover); in BlendPixel() local 466 NeonBlendPix(PixelColorType* pixelColors, const Rgba8T& color, uint8_t cover) NeonBlendPix() argument 495 BlendPix(PixelColorType* pixelPtr, const Rgba8T& color, uint32_t cover) BlendPix() argument 517 CopyOrBlendPix(PixelColorType* pixelPtr, const Rgba8T& color, uint32_t cover) CopyOrBlendPix() argument [all...] |
H A D | render_pixfmt_rgba_blend.cpp | 57 uint8_t cover) in BlendHLine() 64 NeonBlendPix(pixelPtr, color, cover); in BlendHLine() 69 if (color.IsOpaque() && cover == COVER_MASK) { in BlendHLine() 77 if (cover == COVER_MASK) { in BlendHLine() 84 BlendPix(pPixel, color, cover); in BlendHLine() 180 uint8_t cover) in BlendColorHSpan() 218 NeonBlendPix(pixelPtr->colors, mColors, cover); in BlendColorHSpan() 224 if (cover == COVER_MASK) { in BlendColorHSpan() 226 cover == COVER_MASK ? CopyOrBlendPix(pixelPtr, *colors++) : in BlendColorHSpan() 227 CopyOrBlendPix(pixelPtr, *colors++, cover); in BlendColorHSpan() 54 BlendHLine(int32_t x, int32_t y, uint32_t len, const Rgba8T& color, uint8_t cover) BlendHLine() 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_base.cpp | 66 void RenderBase::BlendHLine(int32_t x1, int32_t y, int32_t x2, const Rgba8T& color, uint8_t cover) in BlendHLine() argument 83 pixfmtType_->BlendHLine(x1, y, x2 - x1 + 1, color, cover); in BlendHLine() 118 uint8_t cover) in BlendColorHSpan() 123 pixfmtType_->BlendColorHSpan(x, y, len, colors, covers, cover); in BlendColorHSpan() 117 BlendColorHSpan(int32_t x, int32_t y, int32_t len, const Rgba8T* colors, const uint8_t* covers, uint8_t cover) BlendColorHSpan() argument
|
H A D | render_base.h | 152 void BlendHLine(int32_t x1, int32_t y, int32_t x2, const Rgba8T& color, uint8_t cover); 180 * @param cover Coverage 183 uint8_t cover = COVER_FULL);
|
/foundation/graphic/graphic_utils_lite/interfaces/innerkits/ |
H A D | graphic_neon_pipeline.h | 148 void NeonPrelerpARGB8888(uint8_t* buf, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t cover) in NeonPrelerpARGB8888() argument 156 uint8x8_t r1 = Multipling(vdup_n_u8(red), vdup_n_u8(cover)); in NeonPrelerpARGB8888() 157 uint8x8_t g1 = Multipling(vdup_n_u8(green), vdup_n_u8(cover)); in NeonPrelerpARGB8888() 158 uint8x8_t b1 = Multipling(vdup_n_u8(blue), vdup_n_u8(cover)); in NeonPrelerpARGB8888() 159 uint8x8_t a1 = Multipling(vdup_n_u8(alpha), vdup_n_u8(cover)); in NeonPrelerpARGB8888() 169 void NeonPrelerpARGB8888(uint8_t* dstBuffer, uint8_t* srcBuffer, uint8_t cover) in NeonPrelerpARGB8888() argument 182 r1 = Multipling(r1, vdup_n_u8(cover)); in NeonPrelerpARGB8888() 183 g1 = Multipling(g1, vdup_n_u8(cover)); in NeonPrelerpARGB8888() 184 b1 = Multipling(b1, vdup_n_u8(cover)); in NeonPrelerpARGB8888() 185 a1 = Multipling(a1, vdup_n_u8(cover)); in NeonPrelerpARGB8888() 259 NeonLerpARGB8888(uint8_t* buf, uint8_t r, uint8_t g, uint8_t b, uint8_t a, uint8_t cover) NeonLerpARGB8888() argument 280 NeonLerpARGB8888(uint8_t* dstBuffer, uint8_t* srcBuffer, uint8_t cover) NeonLerpARGB8888() argument [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/scanline/ |
H A D | geometry_scanline.h | 39 * Include those pixels that all cover the interior of the polygon 82 * According to the position of X and the cover color, the coverage is the area of the extended call 85 void AddCell(int32_t x, uint32_t cover) in AddCell() argument 88 arrayCovers_[x] = (uint8_t)cover; in AddCell() 102 * the cover color coverage are the areas where the call is extended 125 * the cover color coverage are the areas where the call is extended 129 void AddSpan(int32_t x, uint32_t spanLength, uint32_t cover) in AddSpan() argument 135 if (memset_s(&arrayCovers_[x], spanLength, cover, spanLength) != EOK) { in AddSpan()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/album_count_cover_test/include/ |
H A D | album_count_cover_test.h | 34 AlbumInfo(int32_t count, std::string cover, int32_t hiddenCount, std::string hiddenCover, int32_t containsHidden) in AlbumInfo() argument 36 cover_(move(cover)), hiddenCover_(move(hiddenCover)) {} in AlbumInfo()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/photo_album_test/src/ |
H A D | photo_album_test.cpp | 165 int32_t QueryAlbumById(int32_t id, string &albumName, string &cover) in QueryAlbumById() argument 180 cover = get<string>(ResultSetUtils::GetValFromColumn(PhotoAlbumColumns::ALBUM_COVER_URI, resultSet, TYPE_STRING)); in QueryAlbumById() 229 string cover = get<string>(ResultSetUtils::GetValFromColumn(PhotoAlbumColumns::ALBUM_COVER_URI, resultSet, in CheckUpdatedSystemAlbum() local 232 EXPECT_EQ(cover, expectedCover); in CheckUpdatedSystemAlbum()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/rasterizer/ |
H A D | rasterizer_cells_antialias.h | 35 int32_t cover; member 42 cover = 0; in Initial()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_utils.h | 325 uint8_t alpha, uint8_t cover); 332 uint8_t alpha, uint8_t cover);
|
H A D | draw_utils.cpp | 443 /* cover mode */ in FillAreaWithSoftWare() 510 uint8_t alpha, uint8_t cover) in BlendLerpPix() 513 mNeonBlendPipeLine.NeonLerpARGB8888(color, red, green, blue, alpha, cover); in BlendLerpPix() 542 uint8_t alpha, uint8_t cover) in BlendPreLerpPix() 545 mNeonBlendPipeLine.NeonPrelerpARGB8888(color, red, green, blue, alpha, cover); in BlendPreLerpPix() 509 BlendLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t cover) BlendLerpPix() argument 541 BlendPreLerpPix(uint8_t* color, uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha, uint8_t cover) BlendPreLerpPix() argument
|
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_format_helper.cpp | 626 std::vector<uint8_t> cover(pkt.size); in ParseImageTrackInfo() 627 cover.assign(pkt.data, pkt.data + pkt.size); in ParseImageTrackInfo() 628 format.Set<Tag::MEDIA_COVER>(cover); in ParseImageTrackInfo() 630 MEDIA_LOG_D("Parse cover failed: " PUBLIC_LOG_D32, pkt.size); in ParseImageTrackInfo()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | keys.h | 96 KEYWORD(COVER, cover) // image component cover
|