Searched refs:srcPixmap (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_image.cpp | 32 SkPixmap CloneSkPixmap(SkPixmap& srcPixmap, const std::unique_ptr<uint8_t[]>& dstPixels) in CloneSkPixmap() argument 35 … SkImageInfo dstImageInfo = SkImageInfo::Make(srcPixmap.info().width(), srcPixmap.info().height(), in CloneSkPixmap() 36 SkColorType::kBGRA_8888_SkColorType, srcPixmap.alphaType()); in CloneSkPixmap() 37 SkPixmap dstPixmap(dstImageInfo, dstPixels.get(), srcPixmap.rowBytes()); in CloneSkPixmap() 43 if (!dstBitmap.writePixels(srcPixmap, 0, 0)) { in CloneSkPixmap() 173 SkPixmap srcPixmap; in GetPixelMap() local 174 if (!rasterImage->peekPixels(&srcPixmap)) { in GetPixelMap() 177 auto dstPixels = std::make_unique<uint8_t[]>(srcPixmap.computeByteSize()); in GetPixelMap() 178 SkPixmap newSrcPixmap = CloneSkPixmap(srcPixmap, dstPixels); in GetPixelMap()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | animated_image_player.cpp | 137 SkPixmap srcPixmap; in CopyTo() local 138 if (!src.peekPixels(&srcPixmap)) { in CopyTo() 142 SkImageInfo dstInfo = srcPixmap.info().makeColorType(dstColorType); in CopyTo() 153 if (!srcPixmap.readPixels(dstPixmap)) { in CopyTo()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/pixelconverter/src/ |
H A D | pixel_convert_adapter.cpp | 199 SkPixmap srcPixmap(srcImageInfo, srcPixels, srcRowBytes); in WritePixelsConvert() local 201 uint8_t* src = static_cast<uint8_t*>(srcPixmap.writable_addr()); in WritePixelsConvert() 210 if (!dstBitmap.writePixels(srcPixmap, dstPos.x, dstPos.y)) { in WritePixelsConvert()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | rosen_render_image.cpp | 1644 SkPixmap srcPixmap; local 1645 if (!rasterizedImage->peekPixels(&srcPixmap)) { 1648 SkPixmap newSrcPixmap = CloneSkPixmap(srcPixmap); 1656 SkPixmap RosenRenderImage::CloneSkPixmap(SkPixmap& srcPixmap) argument 1658 … SkImageInfo dstImageInfo = SkImageInfo::Make(srcPixmap.info().width(), srcPixmap.info().height(), 1659 SkColorType::kBGRA_8888_SkColorType, srcPixmap.alphaType()); 1660 auto dstPixels = std::make_unique<uint8_t[]>(srcPixmap.computeByteSize()); 1661 SkPixmap dstPixmap(dstImageInfo, dstPixels.release(), srcPixmap.rowBytes()); 1667 if (!dstBitmap.writePixels(srcPixmap, 0, 0)) {
|
H A D | rosen_render_image.h | 105 SkPixmap CloneSkPixmap(SkPixmap& srcPixmap);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain/src/ |
H A D | sk_image_chain.cpp | 80 SkPixmap srcPixmap(imageInfo_, srcPixelMap_->GetPixels(), srcPixelMap_->GetRowStride()); in InitWithoutCanvas() local 82 srcBitmap.installPixels(srcPixmap); in InitWithoutCanvas()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/image/apng/ |
H A D | apng_image_player.cpp | 865 SkPixmap srcPixmap; in CopyTo() local 866 if (!src.peekPixels(&srcPixmap)) { in CopyTo() 871 SkImageInfo dstInfo = srcPixmap.info(); in CopyTo() 885 if (!srcPixmap.readPixels(dstPixmap)) { in CopyTo()
|