Home
last modified time | relevance | path

Searched refs:Pixmap (Results 1 - 25 of 41) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/image/
H A Dpixmap.cpp23 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 Dbitmap.cpp64 bool Bitmap::PeekPixels(Pixmap& pixmap) const in PeekPixels()
165 Pixmap Bitmap::GetPixmap() const in GetPixmap()
H A Dimage.cpp57 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 Dpixmap.h25 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 Dbitmap.h92 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 Dimage.h241 * @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 Drs_color_picker.h37 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 Drs_color_extract.h45 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 Drscolorpicker_fuzzer.cpp75 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 Drs_color_picker_test.cpp29 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 Drs_color_extract_test.cpp29 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 Dpixmap_fuzzer.cpp53 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 Dpixmap_impl.h26 class Pixmap;
40 virtual bool ScalePixels(const Pixmap& dst, const SamplingOptions& options) const = 0;
H A Dbitmap_impl.h52 virtual bool PeekPixels(Pixmap& pixmap) const = 0;
61 virtual Pixmap GetPixmap() const = 0;
H A Dimage_impl.h85 virtual bool ReadPixels(Pixmap& pixmap, int x, int y) = 0;
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Ddrawing_forward.h31 class Pixmap;
54 using RSPixmap = Rosen::Drawing::Pixmap;
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_bitmap.h52 bool PeekPixels(Pixmap& pixmap) const override;
63 Pixmap GetPixmap() const override;
H A Dskia_pixmap.h48 bool ScalePixels(const Pixmap& dst, const SamplingOptions& options) const override;
H A Dskia_image.h52 static std::shared_ptr<Image> MakeFromRaster(const Pixmap& pixmap,
83 bool ReadPixels(Pixmap& pixmap, int x, int y) override;
H A Dskia_bitmap.cpp124 bool SkiaBitmap::PeekPixels(Pixmap& pixmap) const in PeekPixels()
189 Pixmap SkiaBitmap::GetPixmap() const in GetPixmap()
192 Pixmap pixmap; in GetPixmap()
H A Dskia_pixmap.cpp87 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 Drs_color_picker.cpp38 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 Dimage_fuzzer.cpp142 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 Dskia_image_test.cpp341 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 Drscolorextract_fuzzer.cpp66 auto pixmap = std::make_shared<Drawing::Pixmap>(); in DoSomethingInterestingWithMyAPI()

Completed in 12 milliseconds

12