/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/image/ |
H A D | image.cpp | 161 bool Image::ReadPixels(Bitmap& bitmap, int x, int y) in ReadPixels() function in OHOS::Rosen::Drawing::Image 163 return imageImplPtr->ReadPixels(bitmap, x, y); in ReadPixels() 166 bool Image::ReadPixels(Pixmap& pixmap, int x, int y) in ReadPixels() function in OHOS::Rosen::Drawing::Image 168 return imageImplPtr->ReadPixels(pixmap, x, y); in ReadPixels() 171 bool Image::ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in ReadPixels() function in OHOS::Rosen::Drawing::Image 174 return imageImplPtr->ReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in ReadPixels()
|
H A D | bitmap.cpp | 84 bool Bitmap::ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in ReadPixels() function in OHOS::Rosen::Drawing::Bitmap 87 return bmpImplPtr->ReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in ReadPixels()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | image_impl.h | 84 virtual bool ReadPixels(Bitmap& bitmap, int x, int y) = 0; 85 virtual bool ReadPixels(Pixmap& pixmap, int x, int y) = 0; 86 virtual bool ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
H A D | bitmap_impl.h | 45 virtual bool ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
H A D | core_canvas_impl.h | 80 virtual bool ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, 82 virtual bool ReadPixels(const Bitmap& dstBitmap, int srcX, int srcY) = 0;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_image.h | 82 bool ReadPixels(Bitmap& bitmap, int x, int y) override; 83 bool ReadPixels(Pixmap& pixmap, int x, int y) override; 84 bool ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
H A D | skia_bitmap.h | 46 bool ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | image_pixel_map_switch_test.cpp | 920 uint32_t res1 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 927 uint32_t res2 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 934 uint32_t res3 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 940 uint32_t res4 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 947 uint32_t res5 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 953 uint32_t res6 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 958 uint32_t res7 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 992 uint32_t res1 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 997 uint32_t res2 = pixelMap.ReadPixels(bufferSize, offset, stride, rect, dst);
in HWTEST_F() 1002 uint32_t res3 = pixelMap.ReadPixels(bufferSiz in HWTEST_F() [all...] |
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | pixel_astc.h | 74 NATIVEEXPORT uint32_t ReadPixels(const uint64_t &bufferSize, const uint32_t &offset, const uint32_t &stride,
76 NATIVEEXPORT uint32_t ReadPixels(const uint64_t &bufferSize, uint8_t *dst) override;
|
H A D | pixel_yuv.h | 63 NATIVEEXPORT uint32_t ReadPixels(const uint64_t &bufferSize, const uint32_t &offset, const uint32_t &stride, 65 NATIVEEXPORT uint32_t ReadPixels(const uint64_t &bufferSize, uint8_t *dst) override;
|
H A D | auxiliary_picture.h | 46 NATIVEEXPORT uint32_t ReadPixels(const uint64_t &bufferSize, uint8_t *dst);
|
/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | pixel_map_impl.cpp | 102 return real_->ReadPixels(bufferSize, dst); in ReadPixelsToBuffer() 105 uint32_t PixelMapImpl::ReadPixels(uint64_t &bufferSize, uint32_t &offset, uint32_t &stride, Rect ®ion, uint8_t *dst) in ReadPixels() function in OHOS::Media::PixelMapImpl 110 return real_->ReadPixels(bufferSize, offset, stride, region, dst); in ReadPixels()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/image/ |
H A D | image.h | 393 bool ReadPixels(Bitmap& bitmap, int x, int y); 402 bool ReadPixels(Pixmap& pixmap, int x, int y); 404 bool ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
H A D | bitmap.h | 78 bool ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_bitmap.h | 72 bool ReadPixels( in ReadPixels() function in OHOS::Ace::Testing::TestingBitmap
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/bitmap/ |
H A D | bitmap_test.cpp | 279 EXPECT_FALSE(bitmap1->ReadPixels(info, nullptr, 0, 0, 0)); in HWTEST_F() 282 EXPECT_FALSE(bitmap1->ReadPixels(info, bitmap2->GetPixels(), 0, 0, 0)); in HWTEST_F() 283 EXPECT_TRUE(bitmap1->ReadPixels(info, bitmap2->GetPixels(), w, 0, 0)); in HWTEST_F() 284 EXPECT_FALSE(bitmap1->ReadPixels(info, bitmap2->GetPixels(), w/2, 0, 0)); in HWTEST_F() 285 EXPECT_FALSE(bitmap1->ReadPixels(info, bitmap2->GetPixels(), w/4, 0, 0)); in HWTEST_F() 286 EXPECT_FALSE(bitmap1->ReadPixels(info, bitmap2->GetPixels(), w, 200, 200)); in HWTEST_F() 690 * @tc.desc: Test ReadPixels 703 ASSERT_TRUE(!bitmap->ReadPixels(imageInfo, dstPixels, 200, 0, 0)); // 200: dstRowBytes in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_astc.cpp | 181 uint32_t PixelAstc::ReadPixels(const uint64_t &bufferSize, const uint32_t &offset, const uint32_t &stride,
in ReadPixels() function in OHOS::Media::PixelAstc 184 IMAGE_LOGE("ReadPixels is not support on pixelastc");
in ReadPixels() 188 uint32_t PixelAstc::ReadPixels(const uint64_t &bufferSize, uint8_t *dst)
in ReadPixels() function in OHOS::Media::PixelAstc 190 IMAGE_LOGE("ReadPixels is not support on pixelastc");
in ReadPixels()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/ |
H A D | auxiliary_picture.cpp | 79 uint32_t AuxiliaryPicture::ReadPixels(const uint64_t &bufferSize, uint8_t *dst) in ReadPixels() function in OHOS::Media::AuxiliaryPicture 84 return content_->ReadPixels(bufferSize, dst); in ReadPixels()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/ |
H A D | webgl_rendering_context_overloads.h | 36 static napi_value ReadPixels(napi_env env, napi_callback_info info);
|
H A D | webgl2_rendering_context_overloads.h | 70 static napi_value ReadPixels(napi_env env, napi_callback_info info);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | core_canvas.cpp | 180 bool CoreCanvas::ReadPixels(const ImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in ReadPixels() function in OHOS::Rosen::Drawing::CoreCanvas 183 return impl_->ReadPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in ReadPixels() 186 bool CoreCanvas::ReadPixels(const Bitmap& dstBitmap, int srcX, int srcY) in ReadPixels() function in OHOS::Rosen::Drawing::CoreCanvas 188 return impl_->ReadPixels(dstBitmap, srcX, srcY); in ReadPixels()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_image_test.cpp | 342 skiaImage->ReadPixels(pixmap, 100, 100); in HWTEST_F() 448 * @tc.desc: Test ReadPixels 456 ASSERT_FALSE(skiaImage->ReadPixels(pixmap, 0, 0)); in HWTEST_F() 458 ASSERT_FALSE(skiaImage->ReadPixels(dstInfo, nullptr, 100, 100, 100)); // 100: dstRowBytes, srcX, srcY in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/kits/cj/include/ |
H A D | pixel_map_impl.h | 38 uint32_t ReadPixels(uint64_t &bufferSize, uint32_t &offset, uint32_t &stride,
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_bitmap.cpp | 152 return CastToBitmap(cBitmap)->ReadPixels(imageInfo, dstPixels, dstRowBytes, srcX, srcY); in OH_Drawing_BitmapReadPixels()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context.cpp | 59 NVal::DeclareNapiFunction("readPixels", WebGLRenderingContextOverloads::ReadPixels), in Export()
|