Home
last modified time | relevance | path

Searched refs:dstPixelMap (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain/src/
H A Dsk_image_chain.cpp55 std::shared_ptr<Media::PixelMap>& dstPixelMap) in Render()
64 dstPixelMap = GetPixelMap(); in Render()
88 auto dstPixelMap = Media::PixelMap::Create(opts); in InitWithoutCanvas() local
89 if (dstPixelMap != nullptr) { in InitWithoutCanvas()
90 dstPixmap_ = std::make_shared<SkPixmap>(imageInfo_, dstPixelMap->GetPixels(), dstPixelMap->GetRowStride()); in InitWithoutCanvas()
91 dstPixelMap_ = std::shared_ptr<Media::PixelMap>(dstPixelMap.release()); in InitWithoutCanvas()
93 LOGE("Failed to create the dstPixelMap."); in InitWithoutCanvas()
54 Render(const std::vector<sk_sp<SkImageFilter>>& skFilters, const bool& forceCPU, std::shared_ptr<Media::PixelMap>& dstPixelMap) Render() argument
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp348 static bool ChoosePixelmap(unique_ptr<PixelMap> &dstPixelMap, PixelFormat pixelFormat, int &errorCode) in ChoosePixelmap() argument
352 dstPixelMap = make_unique<PixelYuvExt>(); in ChoosePixelmap()
354 dstPixelMap = make_unique<PixelYuv>(); in ChoosePixelmap()
357 dstPixelMap = make_unique<PixelMap>(); in ChoosePixelmap()
359 if (dstPixelMap == nullptr) { in ChoosePixelmap()
367 static void SetYUVDataInfoToPixelMap(unique_ptr<PixelMap> &dstPixelMap) in SetYUVDataInfoToPixelMap() argument
369 if (IsYUV(dstPixelMap->GetPixelFormat())) { in SetYUVDataInfoToPixelMap()
371 UpdateYUVDataInfo(dstPixelMap->GetWidth(), dstPixelMap->GetHeight(), yDatainfo); in SetYUVDataInfoToPixelMap()
372 dstPixelMap in SetYUVDataInfoToPixelMap()
415 unique_ptr<PixelMap> dstPixelMap; Create() local
623 CheckPixelMap(unique_ptr<PixelMap>& dstPixelMap, const InitializationOptions &opts) CheckPixelMap() argument
643 unique_ptr<PixelMap> dstPixelMap; Create() local
691 UpdatePixelsAlpha(const AlphaType &alphaType, const PixelFormat &pixelFormat, uint8_t *dstPixels, PixelMap &dstPixelMap) UpdatePixelsAlpha() argument
718 BuildPixelMap(unique_ptr<PixelMap> &dstPixelMap, const CropValue &cropType, ImageInfo &dstImageInfo, const Rect &sRect, const ImageInfo &srcImageInfo) BuildPixelMap() argument
776 unique_ptr<PixelMap> dstPixelMap = nullptr; Create() local
799 SourceCropAndConvert(PixelMap &source, const ImageInfo &srcImageInfo, const ImageInfo &dstImageInfo, const Rect &srcRect, PixelMap &dstPixelMap) SourceCropAndConvert() argument
844 ScalePixelMap(const Size &targetSize, const Size &dstSize, const ScaleMode &scaleMode, PixelMap &dstPixelMap) ScalePixelMap() argument
907 CopyPixelMap(PixelMap &source, PixelMap &dstPixelMap) CopyPixelMap() argument
913 SetDstPixelMapInfo(PixelMap &source, PixelMap &dstPixelMap, void* dstPixels, uint32_t dstPixelsSize, unique_ptr<AbsMemory>& memory) SetDstPixelMapInfo() argument
936 CopyPixelMap(PixelMap &source, PixelMap &dstPixelMap, int32_t &error) CopyPixelMap() argument
2673 PixelMap* dstPixelMap = PixelMap::Unmarshalling(parcel, error); Unmarshalling() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/
H A Dsk_image_chain_unittest.cpp46 std::shared_ptr<Media::PixelMap> dstPixelMap = nullptr; in HWTEST_F() local
48 DrawError ret = skImage.Render(imageFilter, true, dstPixelMap); in HWTEST_F()
74 std::shared_ptr<Media::PixelMap> dstPixelMap = nullptr; in HWTEST_F() local
76 DrawError ret = skImage.Render(imageFilter, true, dstPixelMap); in HWTEST_F()
103 std::shared_ptr<Media::PixelMap> dstPixelMap = nullptr; in HWTEST_F() local
105 DrawError ret = skImage.Render(imageFilter, true, dstPixelMap); in HWTEST_F()
131 std::shared_ptr<Media::PixelMap> dstPixelMap = nullptr; in HWTEST_F() local
133 DrawError ret = skImage.Render(imageFilter, true, dstPixelMap); in HWTEST_F()
150 std::shared_ptr<Media::PixelMap> dstPixelMap = nullptr; in HWTEST_F() local
153 DrawError ret = skImage.Render(imageFilter, true, dstPixelMap); in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/platform/image_native/
H A Dpixel_map.h225 PixelMap dstPixelMap);
228 static bool CopyPixelMap(PixelMap &source, PixelMap &dstPixelMap);
230 const Rect &srcRect, PixelMap &dstPixelMap);
233 PixelMap &dstPixelMap);
/foundation/graphic/graphic_2d/rosen/modules/effect/skia_effectChain/include/
H A Dsk_image_chain.h56 std::shared_ptr<Media::PixelMap> &dstPixelMap);
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dpixel_map.h409 PixelMap &dstPixelMap);
413 static bool CopyPixelMap(PixelMap &source, PixelMap &dstPixelMap, int32_t &error);
414 static bool CopyPixelMap(PixelMap &source, PixelMap &dstPixelMap);
416 const Rect &srcRect, PixelMap &dstPixelMap);
419 PixelMap &dstPixelMap);
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dnative_image_test.cpp509 PixelMap dstPixelMap; in HWTEST_F() local
510 bool ret = pixelmap.ScalePixelMap(targetSize, dstSize, scaleMode, dstPixelMap); in HWTEST_F()
517 ret = pixelmap.ScalePixelMap(targetSize, dstSize, scaleMode, dstPixelMap); in HWTEST_F()

Completed in 8 milliseconds