/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_image_filter.cpp | 55 ImageBlurType blurType, const Rect& cropRect) in InitWithBlur() 62 SkRect skiaRect = {cropRect.left_, cropRect.top_, cropRect.right_, cropRect.bottom_}; in InitWithBlur() 68 const std::shared_ptr<ImageFilter> f, const Rect& cropRect) in InitWithColor() 74 SkRect skiaRect = {cropRect.left_, cropRect.top_, cropRect.right_, cropRect in InitWithColor() 54 InitWithBlur(scalar sigmaX, scalar sigmaY, TileMode mode, const std::shared_ptr<ImageFilter> f, ImageBlurType blurType, const Rect& cropRect) InitWithBlur() argument 67 InitWithColor(const ColorFilter& colorFilter, const std::shared_ptr<ImageFilter> f, const Rect& cropRect) InitWithColor() argument 82 InitWithOffset(scalar dx, scalar dy, const std::shared_ptr<ImageFilter> f, const Rect& cropRect) InitWithOffset() argument 94 InitWithColorBlur(const ColorFilter& colorFilter, scalar sigmaX, scalar sigmaY, ImageBlurType blurType, const Rect& cropRect) InitWithColorBlur() argument 106 InitWithArithmetic(const std::vector<scalar>& coefficients, bool enforcePMColor, const std::shared_ptr<ImageFilter> f1, const std::shared_ptr<ImageFilter> f2, const Rect& cropRect) InitWithArithmetic() argument 187 InitWithBlend(BlendMode mode, const Rect& cropRect, std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground) InitWithBlend() argument 203 InitWithShader(std::shared_ptr<ShaderEffect> shader, const Rect& cropRect) InitWithShader() argument [all...] |
H A D | skia_image_filter.h | 40 ImageBlurType blurType, const Rect& cropRect) override; 42 const Rect& cropRect) override; 44 ImageBlurType blurType, const Rect& cropRect) override; 45 void InitWithOffset(scalar dx, scalar dy, const std::shared_ptr<ImageFilter> f, const Rect& cropRect) override; 47 const std::shared_ptr<ImageFilter> f1, const std::shared_ptr<ImageFilter> f2, const Rect& cropRect) override; 52 void InitWithBlend(BlendMode mode, const Rect& cropRect, std::shared_ptr<ImageFilter> background, 54 void InitWithShader(std::shared_ptr<ShaderEffect> shader, const Rect& cropRect) override;
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/ |
H A D | image_filter.cpp | 26 std::shared_ptr<ImageFilter> input, const Rect& cropRect) noexcept : ImageFilter() in ImageFilter() 29 impl_->InitWithOffset(x, y, input, cropRect); in ImageFilter() 33 ImageBlurType blurType, const Rect& cropRect) noexcept 37 impl_->InitWithBlur(x, y, mode, input, blurType, cropRect); in ImageFilter() 41 std::shared_ptr<ImageFilter> input, const Rect& cropRect) noexcept 45 impl_->InitWithColor(cf, input, cropRect); in ImageFilter() 49 ImageBlurType blurType, const Rect& cropRect) noexcept 53 impl_->InitWithColorBlur(cf, x, y, blurType, cropRect); in ImageFilter() 57 ImageBlurType blurType, const Rect& cropRect) in InitWithColorBlur() 60 impl_->InitWithColorBlur(cf, x, y, blurType, cropRect); in InitWithColorBlur() 56 InitWithColorBlur(const ColorFilter& cf, scalar x, scalar y, ImageBlurType blurType, const Rect& cropRect) InitWithColorBlur() argument 99 CreateBlurImageFilter(scalar sigmaX, scalar sigmaY, TileMode mode, std::shared_ptr<ImageFilter> input, ImageBlurType blurType, const Rect& cropRect) CreateBlurImageFilter() argument 106 CreateColorFilterImageFilter( const ColorFilter& cf, std::shared_ptr<ImageFilter> input, const Rect& cropRect) CreateColorFilterImageFilter() argument 112 CreateColorBlurImageFilter(const ColorFilter& cf, scalar sigmaX, scalar sigmaY, ImageBlurType blurType, const Rect& cropRect) CreateColorBlurImageFilter() argument 119 CreateOffsetImageFilter( scalar dx, scalar dy, std::shared_ptr<ImageFilter> input, const Rect& cropRect) CreateOffsetImageFilter() argument 134 CreateArithmeticImageFilter(const std::vector<scalar>& coefficients, bool enforcePMColor, std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground, const Rect& cropRect) CreateArithmeticImageFilter() argument 158 CreateBlendImageFilter(BlendMode mode, std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground, const Rect& cropRect) CreateBlendImageFilter() argument 172 CreateShaderImageFilter( std::shared_ptr<ShaderEffect> shader, const Rect& cropRect) CreateShaderImageFilter() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/effect/ |
H A D | image_filter.h | 54 * @param cropRect Optional rectangle that crops the input and output 59 const Rect& cropRect = noCropRect); 64 * @param cropRect Optional rectangle that crops the input and output 68 std::shared_ptr<ImageFilter> input, const Rect& cropRect = noCropRect); 71 ImageBlurType blurType = ImageBlurType::GAUSS, const Rect& cropRect = noCropRect); 77 * @param cropRect Optional rectangle that crops the input and output 81 std::shared_ptr<ImageFilter> input, const Rect& cropRect = noCropRect); 89 * @param cropRect Optional rectangle that crops the input and output 94 const Rect& cropRect = noCropRect); 113 * @param cropRect Optiona [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | image_filter_impl.h | 60 ImageBlurType blurType, const Rect& cropRect) = 0; 62 const std::shared_ptr<ImageFilter> f, const Rect& cropRect) = 0; 64 ImageBlurType blurType, const Rect& cropRect) = 0; 65 virtual void InitWithOffset(scalar dx, scalar dy, const std::shared_ptr<ImageFilter> f, const Rect& cropRect) = 0; 67 const std::shared_ptr<ImageFilter> f1, const std::shared_ptr<ImageFilter> f2, const Rect& cropRect) = 0; 74 virtual void InitWithBlend(BlendMode mode, const Rect& cropRect, std::shared_ptr<ImageFilter> background, 76 virtual void InitWithShader(std::shared_ptr<ShaderEffect> shader, const Rect& cropRect) = 0;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | post_proc.h | 34 uint32_t ConvertProc(const Rect &cropRect, ImageInfo &dstImageInfo, PixelMap &pixelMap, ImageInfo &srcImageInfo); 51 uint32_t NeedScanlineFilter(const Rect &cropRect, const Size &srcSize, const bool &hasPixelConvert); 61 void SetScanlineCropAndConvert(const Rect &cropRect, ImageInfo &dstImageInfo, ImageInfo &srcImageInfo, 65 uint32_t CheckScanlineFilter(const Rect &cropRect, ImageInfo &dstImageInfo, PixelMap &pixelMap, 70 bool ProcessScanlineFilter(ScanlineFilter &scanlineFilter, const Rect &cropRect, PixelMap &pixelMap,
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | post_proc_test.cpp | 432 Rect cropRect; in HWTEST_F() local 433 cropRect.top = 3; in HWTEST_F() 434 cropRect.width = 100; in HWTEST_F() 435 cropRect.left = 3; in HWTEST_F() 436 cropRect.height = 200; in HWTEST_F() 463 uint32_t ret = postProc.ConvertProc(cropRect, dstImageInfo, *pixelMap, srcImageInfo); in HWTEST_F() 476 Rect cropRect; in HWTEST_F() local 477 cropRect.top = 0; in HWTEST_F() 478 cropRect.width = 100; in HWTEST_F() 479 cropRect in HWTEST_F() 521 Rect cropRect; HWTEST_F() local 902 Rect cropRect; HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc.cpp | 280 bool PostProc::ProcessScanlineFilter(ScanlineFilter &scanlineFilter, const Rect &cropRect, PixelMap &pixelMap, in ProcessScanlineFilter() argument 294 uint32_t ret = scanlineFilter.FilterLine(resultData + ((scanLine - cropRect.top) * rowBytes), rowBytes, in ProcessScanlineFilter() 305 uint32_t PostProc::CheckScanlineFilter(const Rect &cropRect, ImageInfo &dstImageInfo, PixelMap &pixelMap, in CheckScanlineFilter() argument 329 if (!ProcessScanlineFilter(scanlineFilter, cropRect, pixelMap, resultData, rowBytes)) { in CheckScanlineFilter() 350 uint32_t PostProc::ConvertProc(const Rect &cropRect, ImageInfo &dstImageInfo, PixelMap &pixelMap, in ConvertProc() argument 354 uint32_t ret = NeedScanlineFilter(cropRect, srcImageInfo.size, hasPixelConvert); in ConvertProc() 360 if (GetCropValue(cropRect, srcImageInfo.size) == CropValue::NOCROP && in ConvertProc() 368 SetScanlineCropAndConvert(cropRect, dstImageInfo, srcImageInfo, scanlineFilter, hasPixelConvert); in ConvertProc() 379 return CheckScanlineFilter(cropRect, dstImageInfo, pixelMap, pixelBytes, scanlineFilter); in ConvertProc() 558 uint32_t PostProc::NeedScanlineFilter(const Rect &cropRect, cons argument 697 SetScanlineCropAndConvert(const Rect &cropRect, ImageInfo &dstImageInfo, ImageInfo &srcImageInfo, ScanlineFilter &scanlineFilter, bool hasPixelConvert) SetScanlineCropAndConvert() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/fuzztest/imagesource_fuzzer/src/ |
H A D | image_source_fuzz.cpp | 66 Rect cropRect; in ImageSourceFuncTest001() local 68 imageSource->ImageConverChange(cropRect, imageInfo, imageInfo); in ImageSourceFuncTest001()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_source_test.cpp | 1264 Rect cropRect;
in HWTEST_F() local 1268 bool ret = imageSource->ImageConverChange(cropRect, desImageInfo, srcImageInfo);
in HWTEST_F() 1282 Rect cropRect;
in HWTEST_F() local 1285 bool ret = imageSource->ImageConverChange(cropRect, desImageInfo, srcImageInfo);
in HWTEST_F() 1287 cropRect.top = 3;
in HWTEST_F() 1288 ret = imageSource->ImageConverChange(cropRect, desImageInfo, srcImageInfo);
in HWTEST_F()
|
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | image_source.h | 297 bool ImageConverChange(const Rect &cropRect, ImageInfo &dstImageInfo, ImageInfo &srcImageInfo);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 2664 bool ImageSource::ImageConverChange(const Rect &cropRect, ImageInfo &dstImageInfo, ImageInfo &srcImageInfo) 2671 CropValue value = PostProc::GetCropValue(cropRect, srcImageInfo.size); 2678 cropRect.top, cropRect.left, cropRect.width, cropRect.height);
|