/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/image/ |
H A D | pixmap.cpp | 23 Pixmap::Pixmap() in Pixmap() function in OHOS::Rosen::Drawing::Pixmap 27 Pixmap::Pixmap(const ImageInfo& imageInfo, const void* addr, size_t rowBytes) in Pixmap() function in OHOS::Rosen::Drawing::Pixmap 31 std::shared_ptr<ColorSpace> Pixmap::GetColorSpace() const in GetColorSpace() 36 ColorType Pixmap::GetColorType() const in GetColorType() 41 AlphaType Pixmap::GetAlphaType() const in GetAlphaType() 46 ColorQuad Pixmap::GetColor(int x, int y) const in GetColor() 51 size_t Pixmap::GetRowBytes() const in GetRowBytes() 56 const void* Pixmap [all...] |
H A D | bitmap.cpp | 64 bool Bitmap::PeekPixels(Pixmap& pixmap) const in PeekPixels() 165 Pixmap Bitmap::GetPixmap() const in GetPixmap()
|
H A D | image.cpp | 57 std::shared_ptr<Image> Image::MakeFromRaster(const Pixmap& pixmap, in MakeFromRaster() 166 bool Image::ReadPixels(Pixmap& pixmap, int x, int y) in ReadPixels()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/ |
H A D | pixmap.h | 25 class DRAWING_API Pixmap { class 27 Pixmap(); 28 Pixmap(const ImageInfo& imageInfo, const void* addr, size_t rowBytes); 29 virtual ~Pixmap(); 38 bool ScalePixels(const Pixmap& dst, const SamplingOptions& options) const;
|
H A D | bitmap.h | 92 bool PeekPixels(Pixmap& pixmap) const; 215 * @brief Gets a constant reference to the Pixmap holding the Bitmap pixel 217 * @return Returns Pixmap describing this Bitmap 219 Pixmap GetPixmap() const;
|
H A D | image.h | 241 * @brief Create Image from Pixmap. 247 static std::shared_ptr<Image> MakeFromRaster(const Pixmap& pixmap, 396 * @brief Copies a Rect of pixels from Image to Pixmap. 397 * @param pixmap Destination Pixmap. 400 * @return True of pixels are copied to Pixmap. 402 bool ReadPixels(Pixmap& pixmap, int x, int y);
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/ |
H A D | rs_color_picker.h | 37 const std::shared_ptr<Drawing::Pixmap>& pixmap, uint32_t &errorCode);
39 const std::shared_ptr<Drawing::Pixmap>& pixmap, double* coordinates, uint32_t &errorCode);
47 RSColorPicker(std::shared_ptr<Drawing::Pixmap> pixmap);
48 RSColorPicker(std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates);
|
H A D | rs_color_extract.h | 45 std::shared_ptr<Drawing::Pixmap> pixelmap_;
73 RSColorExtract(std::shared_ptr<Drawing::Pixmap> pixmap);
74 RSColorExtract(std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolorpicker_fuzzer/ |
H A D | rscolorpicker_fuzzer.cpp | 75 auto pixmap = std::make_shared<Pixmap>();
in DoCreateColorPicker() 99 auto pixmap = std::make_shared<Pixmap>();
in DoGetLargestProportionColor() 116 auto pixmap = std::make_shared<Pixmap>();
in DoGetHighestSaturationColor() 133 auto pixmap = std::make_shared<Pixmap>();
in DoGetAverageColor() 155 auto pixmap = std::make_shared<Pixmap>();
in DoIsBlackOrWhiteOrGrayColor() 172 auto pixmap = std::make_shared<Pixmap>();
in DoIsEquals() 191 auto pixmap = std::make_shared<Pixmap>();
in DoRGB2HSV() 209 auto pixmap = std::make_shared<Pixmap>();
in DoAdjustHSVToDefinedIterval() 241 auto pixmap = std::make_shared<Pixmap>();
in DoHSVtoRGB()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_color_picker_test.cpp | 29 std::shared_ptr<Drawing::Pixmap> pixmap = nullptr; 58 pixmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F() 78 pixmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F() 97 pixmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F() 118 pixmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F() 138 pixmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F()
|
H A D | rs_color_extract_test.cpp | 29 std::shared_ptr<Drawing::Pixmap> pixmap = nullptr; 55 auto pixelmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F() 77 auto pixmapTest = std::make_shared<Drawing::Pixmap>(); in HWTEST_F() 279 pixmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F() 322 pixmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F() 341 pixmap = std::make_shared<Drawing::Pixmap>(imageInfo, &addr, rowBytes); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/pixmap_fuzzer/ |
H A D | pixmap_fuzzer.cpp | 53 Pixmap pix; in PixmapFuzzTest000() 61 Pixmap pixmap = Pixmap(imageInfo, addr, rowBytes); in PixmapFuzzTest000()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | pixmap_impl.h | 26 class Pixmap; 40 virtual bool ScalePixels(const Pixmap& dst, const SamplingOptions& options) const = 0;
|
H A D | bitmap_impl.h | 52 virtual bool PeekPixels(Pixmap& pixmap) const = 0; 61 virtual Pixmap GetPixmap() const = 0;
|
H A D | image_impl.h | 85 virtual bool ReadPixels(Pixmap& pixmap, int x, int y) = 0;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_forward.h | 31 class Pixmap; 54 using RSPixmap = Rosen::Drawing::Pixmap;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_bitmap.h | 52 bool PeekPixels(Pixmap& pixmap) const override; 63 Pixmap GetPixmap() const override;
|
H A D | skia_pixmap.h | 48 bool ScalePixels(const Pixmap& dst, const SamplingOptions& options) const override;
|
H A D | skia_image.h | 52 static std::shared_ptr<Image> MakeFromRaster(const Pixmap& pixmap, 83 bool ReadPixels(Pixmap& pixmap, int x, int y) override;
|
H A D | skia_bitmap.cpp | 124 bool SkiaBitmap::PeekPixels(Pixmap& pixmap) const in PeekPixels() 189 Pixmap SkiaBitmap::GetPixmap() const in GetPixmap() 192 Pixmap pixmap; in GetPixmap()
|
H A D | skia_pixmap.cpp | 87 bool SkiaPixmap::ScalePixels(const Pixmap& dst, const SamplingOptions& options) const in ScalePixels()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_color_picker.cpp | 38 std::shared_ptr<RSColorPicker> RSColorPicker::CreateColorPicker(const std::shared_ptr<Drawing::Pixmap>& pixmap,
in CreateColorPicker() 58 std::shared_ptr<RSColorPicker> RSColorPicker::CreateColorPicker(const std::shared_ptr<Drawing::Pixmap>& pixmap,
in CreateColorPicker() 78 RSColorPicker::RSColorPicker(std::shared_ptr<Drawing::Pixmap> pixmap):RSColorExtract(pixmap) {}
in RSColorPicker() 80 std::shared_ptr<Drawing::Pixmap> pixmap, double* coordinates):RSColorExtract(pixmap, coordinates) {}
in RSColorPicker()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/image/image_fuzzer/ |
H A D | image_fuzzer.cpp | 142 Pixmap pixmap = Pixmap(imageInfo, static_cast<void*>(rawImg), count); in ImageFuzzTest003() 422 Pixmap pixmap = Pixmap(imageInfo, static_cast<void*>(rawImg), count); in ImageFuzzTest012()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_image_test.cpp | 341 Pixmap pixmap; in HWTEST_F() 455 Pixmap pixmap; in HWTEST_F() 549 Pixmap pixmap; in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rscolorextract_fuzzer/ |
H A D | rscolorextract_fuzzer.cpp | 66 auto pixmap = std::make_shared<Drawing::Pixmap>();
in DoSomethingInterestingWithMyAPI()
|