Home
last modified time | relevance | path

Searched refs:greyCoef_ (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_blur_filter.cpp64 ", greyCoef1: " + std::to_string(greyCoef_ == std::nullopt ? 0.0f : greyCoef_->x_) + in GetDetailedDescription()
65 ", greyCoef2: " + std::to_string(greyCoef_ == std::nullopt ? 0.0f : greyCoef_->y_); in GetDetailedDescription()
151 if (greyCoef_.has_value()) { in DrawImageRect()
152 greyImage = RSPropertiesPainter::DrawGreyAdjustment(canvas, image, greyCoef_.value()); in DrawImageRect()
171 greyCoef_ = greyCoef; in SetGreyCoef()
H A Drs_material_filter.cpp139 ", greyCoef1: " + std::to_string(greyCoef_ == std::nullopt ? 0.0f : greyCoef_->x_) + in GetDetailedDescription()
140 ", greyCoef2: " + std::to_string(greyCoef_ == std::nullopt ? 0.0f : greyCoef_->y_) + in GetDetailedDescription()
294 if (greyCoef_.has_value()) { in DrawImageRect()
295 greyImage = RSPropertiesPainter::DrawGreyAdjustment(canvas, image, greyCoef_.value()); in DrawImageRect()
322 greyCoef_ = greyCoef; in SetGreyCoef()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_properties_test2.cpp649 properties.greyCoef_ = vectorValue;
810 properties.greyCoef_ = Vector2f(1.0f, 2.0f);
812 EXPECT_NE(properties.greyCoef_, std::nullopt);
814 properties.greyCoef_->y_ = 128.f;
816 EXPECT_EQ(properties.greyCoef_, std::nullopt);
818 properties.greyCoef_->y_ = -0.1f;
820 EXPECT_EQ(properties.greyCoef_, std::nullopt);
822 properties.greyCoef_->x_ = 128.f;
824 EXPECT_EQ(properties.greyCoef_, std::nullopt);
826 properties.greyCoef_->x_ = -0.1f;
[all …]
H A Drs_properties_test.cpp2029 properties.greyCoef_ = vectorValue;
2391 properties.greyCoef_ = vectorValue;
2415 properties.greyCoef_ = vectorValue;
2437 properties.greyCoef_ = vectorValue;
2455 properties.greyCoef_ = vectorValue;
3163 EXPECT_EQ(properties.greyCoef_, std::nullopt);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties.cpp1742 greyCoef_ = greyCoef; in SetGreyCoef()
1846 return greyCoef_; in GetGreyCoef()
2818 greyCoef_->x_, greyCoef_->y_); in GenerateBackgroundBlurFilter()
2831 std::make_shared<RSGreyShaderFilter>(greyCoef_->x_, greyCoef_->y_); in GenerateBackgroundBlurFilter()
2876 std::make_shared<RSGreyShaderFilter>(greyCoef_->x_, greyCoef_->y_); in GenerateBackgroundMaterialBlurFilter()
2915 greyCoef_->x_, greyCoef_->y_); in GenerateForegroundBlurFilter()
3005 greyCoef_->x_, greyCoef_->y_); in GenerateBackgroundMaterialFuzedBlurFilter()
3029 greyCoef_->x_, greyCoef_->y_); in GenerateCompositingMaterialFuzedBlurFilter()
4434 if (ROSEN_LNE(greyCoef_->x_, 0.f) || ROSEN_GNE(greyCoef_->x_, 127.f) || in CheckGreyCoef()
4435 ROSEN_LNE(greyCoef_->y_, 0.f) || ROSEN_GNE(greyCoef_->y_, 127.f) || in CheckGreyCoef()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render/
H A Drs_blur_filter.h66 std::optional<Vector2f> greyCoef_; variable
H A Drs_material_filter.h106 std::optional<Vector2f> greyCoef_; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_material_filter_test.cpp307 EXPECT_TRUE(rsMaterialFilter->greyCoef_.has_value());
322 EXPECT_TRUE(rsMaterialFilter->greyCoef_.has_value());
H A Drs_blur_filter_test.cpp235 EXPECT_EQ(blurFilter->greyCoef_, greyCoef);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_properties.h708 std::optional<Vector2f> greyCoef_; variable